[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: filling in a panel
-xfill- by Tony Brady of Sealed Envelope may be helpful.
See the example at:
Hope this helps,
> -----Original Message-----
> From: firstname.lastname@example.org [mailto:owner-
> email@example.com] On Behalf Of Alexander Nervedi
> Sent: Friday, October 07, 2005 12:44 PM
> To: firstname.lastname@example.org
> Subject: st: filling in a panel
> Hi guys,
> So i have this survey data that is not balanced and i have defined as a
> panel using
> . tsset id time
> the problem is that there are like 5 or 6 other variables that are key
> identifiers that need to be used in other parts of the analysis such as
> seasons, housecodes, etc. The missingness for the numeric variables I
> managed to fix using the lead and foreward time series operators.
> what i cant fix is the alphanumeric housecode the lead/foreward operators
> dont seem to like. I keep getting a type mismatch error when i do
> replace hcode = L1.hcode if time > 1 & time < 4 /*there are 3 time
> I was wondering if there is any cool way of filling in the grid for string
> type variables in this kind of a setting.
> mucho gusto,
> Don't just search. Find. Check out the new MSN Search!
> * 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/
* For searches and help try: