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