Learn R Programming

censReg (version 0.5-2)

summary.censReg: Summary Results of Censored Regression Models

Description

These methods prepare and print summary results for censored regression models.

Usage

## S3 method for class 'censReg':
summary( object, ... )

## S3 method for class 'summary.censReg': print( x, logSigma = TRUE, digits = 4, ... )

Arguments

object
object of class "censReg" (returned by censReg).
x
object of class "summary.censReg" (returned by summary.censReg).
logSigma
logical value indicating whether the variance(s) of the model should be printed logarithmized.
digits
positive integer specifiying the minimum number of significant digits to be printed (passed to printCoefmat).
...
currently not used.

Value

  • summary.censReg returns an object of class "summary.censReg" inheriting from class "summary.maxLik". The returned object contains the same components as objects returned by summary.maxLik and additionally the following components:
  • callthe matched call.
  • nObsa vector containing 4 integer values: the total number of observations, the number of left-censored observations, the number of uncensored observations, and the number of right-censored observations.

See Also

censReg, coef.summary.censReg, and coef.censReg

Examples

Run this code
## Kleiber & Zeileis ( 2008 ), page 142
data( "Affairs", package = "AER" )
estResult <- censReg( affairs ~ age + yearsmarried + religiousness +
   occupation + rating, data = Affairs )
summary( estResult )

Run the code above in your browser using DataLab