Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: -xtdata- + retain untransformed variables?


From   [email protected]
To   [email protected]
Subject   st: -xtdata- + retain untransformed variables?
Date   Wed, 29 Jan 2003 09:56:15 +0100

Thank you Scott,

I found where my problem was. Another little question concerning xtdata,fe:

When I use it on the panel data set I want to regress afterwards, the <year>
variable is transformed, too. I can recover the old values using -int-, but
this does not seem the safest way to me. Is there a way of applying -xtdata-
to only a part of the dataset, and to retain some other variables (such as
<year>) in it? 
This would also be useful for a variable I want to use in an -if- condition,
in its untransformed form. I found a way around this by dropping everything
that does not correspond to the -if- before using -xtdata-, but that demands
quite a lot of (unnecessary?) repetitions.

Thanks!

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