Description Usage Arguments Value See Also Examples
View source: R/archive/estimate - Copy.R View source: R/estimate.R
Estimate multiple measure groups of the random effect latent variable model
relvm.
1 2 |
object |
A mstbl object. |
groups |
A vector of measure group names. The default is NULL, in which case a vector of all groups will be generated accordingly. |
fit |
A list of fitting parameters.
|
file |
File name in a rds format to cache the results on hard drive. |
An list of S3 object of class "relvms" with estimated parametes.
1 2 3 4 5 6 7 8 9 | # require(rstarating)
# To fit just one group: 'outcome_mort'
fit <- relvm(mstbl(cms_star_rating_input_2017dec),groups="outcome_mort")
# use weight in step 2 only (by default, weigt are used in step 1 and step 2)
fit <- relvm(mstbl(cms_star_rating_input_2017dec),groups="outcome_mort", fit=list(use_wt="step2"))
# Use weight in step 1 only (for test purpose only).
fit <- relvm(mstbl(cms_star_rating_input_2017dec),groups="outcome_mort", fit=list(use_wt="step1"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.