tobin | R Documentation |
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)
J Tobin (1958), Estimation of relationships for limited dependent variables. Econometrica 26, 24–36.
tfit <- survreg(Surv(durable, durable>0, type='left') ~age + quant,
data=tobin, dist='gaussian')
predict(tfit,type="response")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.