Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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
data(tobin, package="survival")

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")

survival

Survival Analysis

v3.2-11
LGPL (>= 2)
Authors
Terry M Therneau [aut, cre], Thomas Lumley [ctb, trl] (original S->R port and R maintainer until 2009), Atkinson Elizabeth [ctb], Crowson Cynthia [ctb]
Initial release
2021-04-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.