powered by
Economists fit a parametric censored data model called the ‘tobit’. These data are from Tobin's original paper.
tobin data(tobin, package="survival")
A data frame with 20 observations on the following 3 variables.
Durable goods purchase
Age in years
Liquidity ratio (x 1000)
# NOT RUN { 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