|
From | Peter Holm <pholm@wisc.edu> |
To | statalist@hsphsun2.harvard.edu |
Subject | st: if-statements in sureg - not possible? |
Date | Wed, 18 Jan 2006 12:09:00 -0600 |
Hello, I am new to the list and have a question about implementing
the sureg command. I have cross-sectional time-series data with only four
time periods, and I want to estimate four seemingly unrelated cross-sections,
each corresponding to one period of the data, as an alternative to estimating a
time-series model. So, I’d like to simply use the sureg command on
four equations, each having the same variable list but with an “if”
statement indicating the appropriate time period for that equation.
Unfortunately, this is not a valid option under sureg – if terms can only
be applied to the set of equations as a whole. Is there any way to get around this? Thanks for any advice, Peter Holm -------------------------------------------------- Peter M. Holm Department of Political Science University of 110 North Hall, 1050 Bascom Mall |
© Copyright 1996–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |