simnhlogit              package:bayesm              R Documentation

_S_i_m_u_l_a_t_e _f_r_o_m _N_o_n-_h_o_m_o_t_h_e_t_i_c _L_o_g_i_t _M_o_d_e_l

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

     'simnhlogit' simulates from the non-homothetic logit model

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

     simnhlogit(theta, lnprices, Xexpend)

_A_r_g_u_m_e_n_t_s:

   theta: coefficient vector 

lnprices: n x p array of prices 

 Xexpend: n x k array of values of expenditure variables

_D_e_t_a_i_l_s:

     For detail on parameterization, see 'llnhlogit'.

_V_a_l_u_e:

     a list containing:  

       y: n x 1 vector of multinomial outcomes (1, ..., p)

 Xexpend: expenditure variables

lnprices: price array 

   theta: coefficients

    prob: n x p array of choice probabilities

_W_a_r_n_i_n_g:

     This routine is a utility routine that does *not* check the input
     arguments for proper dimensions and type.

_A_u_t_h_o_r(_s):

     Peter Rossi, Graduate School of Business, University of Chicago,
     Peter.Rossi@ChicagoGsb.edu.

_R_e_f_e_r_e_n_c_e_s:

     For further discussion, see _Bayesian Statistics and Marketing_ by
     Rossi, Allenby and McCulloch, Chapter 4. 
      <URL:
     http://gsbwww.uchicago.edu/fac/peter.rossi/research/bsm.html>

_S_e_e _A_l_s_o:

     'llnhlogit'

