[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: Table of frequencies
From
"Steven Proud" <[email protected]>
To
<[email protected]>
Subject
st: Re: Table of frequencies
Date
Fri, 22 Feb 2008 15:35:42 -0000
One way (And I'm sure there's more elegant ways) is to use a local loop
local year=1993
while `year'<=2000 {
tab........... if year==`year'
local year=`year'+1
}
**********************************************
----- Original Message -----
From: "Ngoc Anh Vo Thi" <[email protected]>
To: "Statalist" <[email protected]>
Sent: Friday, February 22, 2008 3:26 PM
Subject: st: Table of frequencies
Dear members,
I want to create a table of the following form:
Year Czech Hungary Poland Total
1993 All x x x x
Domestic x x x x
Merger x x x x
Greenfield x x x x
1994 All x x x x
Domestic x x x x
Merger x x x x
Greenfield x x x x
and so on.
How can I do this? As far as I understand, the
tabulate command for a two-way table of frequencies
does not allow a split into ownership categories, does
it? I've tried with the by option, but it is said
"option by not allowed".
Thanks for your help,
Anh
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
*
* 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/
*
* 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/
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |