Statalist


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

st: Re: simple question (freq)


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
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" <[email protected]>
To: <[email protected]>
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
[email protected]

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