tobin                package:survival                R Documentation

_T_o_b_i_n'_s _T_o_b_i_t _d_a_t_a

_D_e_s_c_r_i_p_t_i_o_n:

     Economists fit a parametric censored data model called the
     `tobit'. These data are from Tobin's original paper.

_U_s_a_g_e:

     data(tobin)

_F_o_r_m_a_t:

     A data frame with 20 observations on the following 3 variables.

     _d_u_r_a_b_l_e Durable goods purchase

     _a_g_e Age in years

     _q_u_a_n_t Liquidity ratio (x 1000)

_S_o_u_r_c_e:

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

_E_x_a_m_p_l_e_s:

     data(tobin)
     tfit <- survreg(Surv(durable, durable>0, type='left') ~age + quant,
                     data=tobin, dist='gaussian')

     predict(tfit,type="response")

