Learn R Programming

survival (version 2.11-4)

tobin: Tobin's Tobit data

Description

Economists fit a parametric censored data model called the `tobit'. These data are from Tobin's original paper.

Usage

data(tobin)

Arguments

source

J. Tobin, Estimation of relationships for limited dependent variables, Econometrica, v26, 24-36, 1958.

Examples

Run this code
data(tobin)
tfit <- survreg(Surv(durable, durable>0, type='left') ~age + quant,
                data=tobin, dist='gaussian')

predict(tfit,type="response")

Run the code above in your browser using DataLab