Main Content

constructDefaultFixedEffectValues (covmodel)

Create initial estimate vector needed for fit


FEInitEstimates = constructDefaultFixedEffectValues(CovModelObj)


FEInitEstimates = constructDefaultFixedEffectValues(CovModelObj) creates FEInitEstimates, a structure containing the initial estimates for the fixed effects in CovModelObj, a CovariateModel object. These initial estimates are set to a default of zero, but you can edit these estimates. The number and names of the fields in the FEInitEstimates structure matches the number and names of fixed effects (theta values) in the Expression property of CovModelObj.


After creating the FEInitEstimates structure, you can edit it and use it to change the FixedEffectValues property of CovModelObj, before using the object as an input argument to sbionlmefit or sbionlmefitsa.

Introduced in R2011b