Learn R Programming

bayesm (version 1.1-2)

simnhlogit: Simulate from Non-homothetic Logit Model

Description

simnhlogit simulates from the non-homothetic logit model

Usage

simnhlogit(theta, lnprices, Xexpend)

Arguments

theta
coefficient vector
lnprices
n x p array of prices
Xexpend
n x k array of values of expenditure variables

Value

  • a list containing:
  • yn x 1 vector of multinomial outcomes (1, ..., p)
  • Xexpendexpenditure variables
  • lnpricesprice array
  • thetacoefficients
  • probn x p array of choice probabilities

concept

  • logit
  • non-homothetic

Warning

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

Details

For detail on parameterization, see llnhlogit.

References

For further discussion, see Bayesian Statistics and Marketing by Allenby, McCulloch, and Rossi. http://gsbwww.uchicago.edu/fac/peter.rossi/research/bsm.html

See Also

llnhlogit