mmcsd | R Documentation |
Estimate the fixed effects of the model, also known as B parameters of the regression,taking into account the sampling plan of the research, and also estimating the covariance matrix of the model considering the estimates of B
mmcsd(formula, waves, ids, weights, stratum, cluster, data, sigma = "identity")
formula |
A formula |
waves |
a dataframe column or an array |
ids |
a dataframe column or an array |
weights |
a dataframe column or an array |
stratum |
a dataframe column or an array |
cluster |
a dataframe column or an array |
data |
A dataframe or tibble |
sigma |
A character or a square matrix |
The fit model with class 'mmcsd'.
fit <- mmcsd(
score ~ wave + ageg + ecacg + qualifg,
waves = wave, ids = id,
weights = weight, stratum = strata, cluster = cluster,
data = example_data, sigma = "exchangeable"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.