View source: R/mc_updatedBeta.R
| mc_updateBeta | R Documentation |
Updates the regression parameter vectors stored in a list used during the model fitting algorithm. This function is intended for internal use and is called repeatedly to redistribute the regression parameters across response-specific components.
mc_updateBeta(list_initial, betas, information, n_resp)
list_initial |
A list containing the current values of the model parameters. The
element |
betas |
A numeric vector containing the current values of the regression parameters for all response variables. |
information |
A list containing model dimension information, including the number
of regression parameters per response variable. Typically the output
of |
n_resp |
An integer specifying the number of response variables in the model. |
A list with the same structure as list_initial, where the
element regression contains the updated regression parameter
vectors for each response variable. The returned object is intended for internal use only.
Wagner Hugo Bonat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.