From | Roger Newson <[email protected]> |
To | [email protected] |
Subject | Re: st: systematically creating new observations |
Date | Mon, 21 Jun 2004 11:55:17 +0100 |
At 18:59 18/06/2004, Daphna Bassok wrote:
Hello-You could do this using the -ingap- package, downloadable from SSC. In Stata, type
I am wondering if anyone can recommend a way to systematically create observations.
Suppose I have a set of observations that looks something like this:
#Points
Female415896
Male420897
What I want to do is create a new observation (not a new variable), called ALL so that the data would look something like this:
#Points
Female415896
Male420897
All8351793
Of course, I need to do this more than once. I have to do it for thousands of groups.
Is there a systematic way to add such an observation?
It seems pretty obvious but I cannot seem to figure it out.
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |