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

