confint | R Documentation |
Computes either asymptotical (based on normality from maximum likelihood estimators) or parametric bootstraped confidence intervals from a model fit.
## S3 method for class 'SMN'
confint(object, parm, level = 0.95, method, ...)
## S3 method for class 'SMSN'
confint(object, parm, level = 0.95, method, ...)
object |
An object inheriting from class |
parm |
A character indicating for which parameter the intervals should be returned. Available options: "beta" for fixed effects, or "all" for all parameters. Default is "all". |
level |
Confidence level to be used. |
method |
A character indicating with method should be used. "asymptotic" refers to traditional confidence intervals based on asymptotical normality from maximum likelihood estimators; "bootstrap" performs a parametric bootstrap method based on B samples (100 by default), and is only recommended to small to moderate sample sizes. |
... |
Additional arguments to be passed to |
A table containing the estimate and the respective confidence interval.
smn.lmm
,
smsn.lmm
,
boot_par
,
boot_ci
fm1 = smn.lmm(distance ~ age+Sex, data=nlme::Orthodont, groupVar="Subject")
confint(fm1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.