nobs2 {lavaSearch2} | R Documentation |
Effective Sample Size.
Description
Extract the effective sample size, i.e. sample size minus the loss in degrees of freedom caused by the estimation of the parameters.
Usage
nobs2(object, ssc, ...)
## S3 method for class 'lvmfit'
nobs2(object, ssc = lava.options()$ssc, ...)
## S3 method for class 'lvmfit2'
nobs2(object, ...)
Arguments
object |
a |
ssc |
[character] method used to correct the small sample bias of the variance coefficients: no correction ( |
... |
additional argument passed to |
Details
When argument object is a lvmfit
object, the method first calls estimate2
and then extract the leverage.
Value
Numeric vector of length the number of endogenous variables.
See Also
estimate2
to obtain lvmfit2
objects.