Statalist


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

Re: st: the command to specify one observation


From   David Airey <[email protected]>
To   [email protected]
Subject   Re: st: the command to specify one observation
Date   Mon, 16 Mar 2009 11:22:29 -0500

.

type help _variables
type help subscripting

On Mar 16, 2009, at 11:11 AM, [email protected] wrote:

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/

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