Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Re: recover the dimensions of a panel


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: Re: recover the dimensions of a panel
Date   Fri, 5 Jun 2009 18:12:08 +0200

Paulo might also like to use -xtset- quietly and look at its return list...

***
use http://www.stata-press.com/data/r10/psidextract.dta, clear
qui xtset
ret li
***

HTH
Martin
_______________
----- Original Message ----- From: "Paulo Regis" <[email protected]>
To: <[email protected]>
Sent: Friday, June 05, 2009 11:05 AM
Subject: st: recover the dimensions of a panel


Dear all,

I am working with a panel, and also need to do some matrix operations.
The problem is the matrices dimensions depend on the T and N
dimensions of the panel. Some times, I have to drop obs and the
dimension may change so I need to revise what are the dimensions of
the panel. Things are even more  complicated if I use a do file.

Is there any easy way to do this? I usually work with -tsset but,
unfortunately, i did not find the way to get the dimensions of timevar
or panelvar.

Cheers

Paulo
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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