confint.semlbci {semlbci} | R Documentation |
Confidence Intervals for a 'smelbci' Object
Description
Return the confidence intervals of the parameters
in the output of semlbci()
.
Usage
## S3 method for class 'semlbci'
confint(object, parm, level = 0.95, ...)
Arguments
object |
The output of |
parm |
The parameters for which the confidence
intervals are returned. Not used because parameters
are defined by three or more columns ( |
level |
Ignored. The level of confidence is determined
when calling |
... |
Optional arguments. Ignored. |
Details
It returns the likelihood-based confidence intervals
in the output of semlbci()
.
Value
A two-column matrix of the confidence intervals.
Author(s)
Shu Fai Cheung https://orcid.org/0000-0002-9871-9448
See Also
Examples
library(lavaan)
mod <-
"
m ~ a*x
y ~ b*m
ab := a * b
"
fit_med <- sem(mod, simple_med, fixed.x = FALSE)
p_table <- parameterTable(fit_med)
p_table
lbci_med <- semlbci(fit_med,
pars = "ab :=")
lbci_med
confint(lbci_med)
[Package semlbci version 0.11.2 Index]