Hi, I'm working with a dataset that has many variables. Two of them are age and gender. I want to obtain a frequencies two-way table, in which the gender appears in the columns and in the rows the age appears divided into a class interval with a range equal to 5. Any suggestion?
Related Posts with how to obtain frequencies by groups in a two-way tab?
how to do loop in stataHello, I have a question about how to do loop in Stata. Say, I have 1000 obs with id from 1 to 1000…
CDC forumIs it just me? Or others also see the CDC forum on this board? (screenshot). I don't recall it being…
are there a quicker way to generate a variable?This thread continues from the below previous thread: https://www.statalist.org/forums/for...pping-…
Shifting up by a columnHi all, currently, I have two data of y for each country - y in 1988 and y in 2014. My goal is to ca…
Creating observations from already existing observations in Stata Dear all, I have this type of Stata dataset where I want to create some observations splitting the…
Subscribe to:
Post Comments (Atom)
0 Response to how to obtain frequencies by groups in a two-way tab?
Post a Comment