Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Generate data and matrix from unbalanced panel


From   "Maarten Buis" <[email protected]>
To   "Nguyen Cong Minh" <[email protected]>
Subject   st: RE: Generate data and matrix from unbalanced panel
Date   Mon, 30 Jul 2007 16:22:18 +0200

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology 
Vrije Universiteit Amsterdam 
Boelelaan 1081 
1081 HV Amsterdam 
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434 

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------

-----Original Message-----
From: Nguyen Cong Minh [mailto:[email protected]]
> Dear Prof. Maarten Buis,

I am not not a prof. If you insist on using titles my title is drs. (which 
is not the plural of dr., or a misspelling of ds., but doctorandus (he who 
may become doctor)

> The reason I asked because I want to write a estimation command in Stata
> (.ado and .mata file) for estimating the 2 way effects of SUR equations in
> an unbalanced panel. Since I cannot find any program for it, so I myself
> have to figure out some way to estimate the model. Do you know any current
> program on this topic?

No, but I haven't used panel data much, so it is very well possible that it 
exists without me knowing about it.

> Therefore, I have to store pd and Np into a vector so that I can use them in
> the loops.

If you want to loop in Stata you should not store those values in vectors, 
but in locals and use -foreach- to loop. 



*
*   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