| vcov.multilpa_covariates | R Documentation |
coef(), vcov(), confint(), logLik() and nobs() for multilevel
profile and class models (multilpa()), covariate models, latent transition
models and, for vcov(), pooled imputations. Mixture regressions, growth
mixtures and the additive, cross-level and general transition families
document the same methods with their get_results() page.
## S3 method for class 'multilpa_covariates'
vcov(
object,
data = NULL,
step = 1e-04,
vcov_type = c("observed", "robust", "opg"),
scale = c("natural", "unconstrained"),
boundary = c("error", "fix"),
...
)
## S3 method for class 'multilpa_covariates'
coef(object, scale = c("natural", "unconstrained"), ...)
## S3 method for class 'multilpa_covariates'
confint(object, parm, level = 0.95, data = NULL, ...)
## S3 method for class 'multilpa_covariates'
logLik(object, ...)
## S3 method for class 'multilpa_covariates'
nobs(object, ...)
## S3 method for class 'multilpa'
coef(object, scale = c("natural", "unconstrained"), ...)
## S3 method for class 'multilpa'
vcov(object, data = NULL, scale = c("natural", "unconstrained"), ...)
## S3 method for class 'multilpa'
confint(object, parm, level = 0.95, data = NULL, ...)
## S3 method for class 'multilpa'
logLik(object, ...)
## S3 method for class 'multilpa'
nobs(object, ...)
## S3 method for class 'latents_pooled'
vcov(object, ...)
## S3 method for class 'multilpa_transitions'
logLik(object, ...)
## S3 method for class 'multilpa_transitions'
nobs(object, ...)
## S3 method for class 'multilpa_transitions'
coef(object, ...)
object |
A fitted model: from |
data |
Optional. The data frame the model was fitted to. When omitted it is rebuilt from what the fit stores (indicators, identifiers, occasions and designs), which round-trips exactly; supplying it is the stronger check that the caller still holds that frame. |
step |
Finite-difference step for the observed information (covariate models). |
vcov_type |
|
scale |
|
boundary |
|
... |
For |
parm |
Optional coefficient names or indices; defaults to every
estimated coefficient. Naming a coefficient that |
level |
Confidence level strictly between zero and one. |
coef(): a named numeric vector. vcov(): a named symmetric matrix
over the same parameters. confint(): a matrix with one row per parameter
and the lower and upper bounds as columns. logLik(): a "logLik" object
with df and nobs attributes. nobs(): the number of groups, the
independent units of the likelihood.
parameter_inference() for the tidy table of estimates, standard
errors and intervals.
fit <- multilpa(course_engagement, c("browse", "lectures", "forum_read"),
"student", n_profiles = 2, n_group_classes = 2,
n_starts = 2, seed = 1)
coef(fit)
logLik(fit)
nobs(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.