Hi all,
I am trying to constrain a variable to be equal across 156 regressions. The
code looks something like this:
constrain define 1
[ia1=ia2=...=ia156]:onia
reg3 (ia1-ia156= $stage1) $stage2, exog($stage1a) endog(treat ia1-ia156)
constr(1) 2sls
where $stage1, $stage2, $stage1a are globals containing lists of explanatory
variables.
My problem is that either the program runs out of memory or the matrix
becomes too large for it. Is there perhaps a better way of doing this? Any
help would be appreciated. I'm trying various other methods at this time.
System has a 2 ghz xeon processor and 1 gb of ram.
*
* 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/