Learn R Programming

sampleSelection (version 1.2-12)

probit-methods: probit-methods

Description

Methods for probit models

Usage

# S3 method for probit
fitted(object, ... )

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

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

Arguments

object,x

object of class probit.

digits

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

further arguments (currently ignored).

Details

The fitted method returns a vector of fitted values (probabilities). 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 probit models: the coef method returns the vector of the estimated parameters. The df.residual method returns the degrees of freedom of the residuals. 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 vcov method returns the variance covariance matrix of the estimated coefficients.

The methods linearPredictors.probit, model.frame.binaryChoice, model.matrix.binaryChoice, residuals.probit, and summary.probit are described at seperate help pages.

See Also

probit, summary.probit, and selection-methods.