Statalist


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

st: the command to specify one observation


From   [email protected]
To   [email protected]
Subject   st: the command to specify one observation
Date   Mon, 16 Mar 2009 12:11:35 -0400

Dear all,

Say I have a variable X. Now I want to normalize it by its second observation.

like gen Xs=X/X(its value in the second year)

What's the command to specify an observation in Stata?

Thanks!

Jingjing

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