View source: R/vcov.segmented.lme.R
vcov.segmented.lme | R Documentation |
Returns the variance-covariance matrix of the parameters (including breakpoints) of a fitted segmented mixed model object.
## S3 method for class 'segmented.lme'
vcov(object, B=0, ret.b=FALSE, ...)
object |
a fitted model object of class "segmented.lme", returned by |
B |
number of bootstrap replicates, if a bootstrap-based covariance matrix is requested. |
ret.b |
logical. If |
... |
optional arguments, i.e. |
The returned covariance matrix is based on an approximation of the nonlinear segmented term. Therefore
covariances corresponding to breakpoints are reliable only in large samples and/or clear cut segmented
relationships. If B>0
is set, case resampling bootstrap (on the outermost nesting level) is carried out. Moreover, if ret.b=TRUE
, the bootstrap distributions are returned, rather than the covariance matrix.
The full matrix of the estimated covariances of the fixed effects estimates, including the breakpoint.
All the functions for segmented mixed models (*.segmented.lme) are still at an experimental stage
Vito M. R. Muggeo, vito.muggeo@unipa.it
summary.segmented.lme
##continues example from segmented.lme()
# vcov(os)
# vcov(os, B=50)
# vcov(os, B=50, ret.b=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.