Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: non-linear estimation with alternating parameters


From   [email protected]
To   [email protected]
Subject   st: non-linear estimation with alternating parameters
Date   Wed, 8 Jan 2003 15:08:36 -0800

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index