R Dataset / Package survival / tobin
On this R-data statistics page, you will find information about the tobin data set which pertains to Tobin's Tobit data. The tobin data set is found in the survival R package. You can load the tobin data set in R by issuing the following command at the console data("tobin"). This will load the data into a variable called tobin. If R says the tobin data set is not found, you can try installing the package by issuing this command install.packages("survival") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the tobin R data set. The size of this file is about 251 bytes.
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
Format
A data frame with 20 observations on the following 3 variables.
- durable
-
Durable goods purchase
- age
-
Age in years
- quant
-
Liquidity ratio (x 1000)
Source
J Tobin (1958), Estimation of relationships for limited dependent variables. Econometrica 26, 24–36.
Examples
tfit <- survreg(Surv(durable, durable>0, type='left') ~age + quant, data=tobin, dist='gaussian')predict(tfit,type="response")
Dataset imported from https://www.r-project.org.