Learn R Programming

sampleSelection (version 1.2-12)

selection-methods: selection-methods

Description

Methods for selection models

Usage

# S3 method for selection
logLik(object, ... )

# S3 method for selection nobs(object, ... ) # S3 method for selection nObs(x, ... ) # S3 method for selection print( x, digits = max(3, getOption("digits") - 3), ... )

Arguments

object,x

object of class selection.

digits

the minimum number of significant digits of the coefficients to be printed.

further arguments (currently ignored).

Details

The logLik method returns the log likelihood value of the model. The nobs and nObs methods return the number of observations. The print method prints the call and the estimated coefficients.

Furthermore, some standard methods can be applied to selection models: The lrtest method can be used to perform likelihood-ratio tests. The stdEr method returns the vector of the standard errors of the estimated parameters.

The methods coef.selection, fitted.selection model.frame.selection, model.matrix.selection, residuals.selection, summary.selection, and vcov.selection are described at seperate help pages.

See Also

selection, summary.selection, and probit-methods.