Statalist


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

st: Re: simple question (freq)


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: simple question (freq)
Date   Wed, 15 Apr 2009 23:36:09 +0200

<>

      sysuse auto, clear
       contract foreign rep78, cfreq(cumfreq)
       list, noobs

HTH
Martin
_______________________
----- Original Message ----- From: "Sebastián Daza" <sebastian.daza@gmail.com>
To: <statalist@hsphsun2.harvard.edu>
Sent: Wednesday, April 15, 2009 11:17 PM
Subject: st: simple question (freq)


Hi everyone,

Does somebody know how to create a new variable with the accumulated
frequency of a variable? It's very simple in SPSS:

create var=csum(variable).

Until now I haven't been able to do it with STATA

Regards

--
Sebastián Daza Aranzaes
Sociólogo UC
sdaza@uc.cl

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index