No, it is not weird. By default -egen- here
produces a -float-, unless the user
has -set type-, in which case the question
would presumably not arise.
Nick
[email protected]
Rodrigo Alfaro
> This sounds weird, try the following steps:
>
> sort id year
> by id year: egen double newvar=sum(oldvar)
>
> then list, sum or tab to see the values of newvar.
>
*
* 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/