Learn R Programming

survival (version 2.38-3)

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

tobin

Arguments

source

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

Examples

Run this code
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