I have a model that uses different parameters for each observation. The
equation looks something like:
`1' = p(var1) * p(var2) * ... where var1 and var2 are variables
containing values used to denote which parameters are to be use.
var1 var2 `1'=
1 1 p1 * p1 * ...
1 2 p1 * p2 * ...
8 4 p8 * p4 *...
Is there anyway to do this without having to type out every combination of
parameters and multiplying it by a dummy variable?
Jackie Yuen
Research Associate
Federal Reserve Bank of San Francisco
tel: (415) 974-2876
e-mail: [email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/