I have a big dataset of county level demographics
"County Statename Year Agegroup"
where agegroup is broken up into 4 year intverals (0-4, 4-9, 10-14 etc)
I am trying to collapse the agegroup to have it in 9 year intervals (0-9, 10-19 etc...)
I tried collapse (sum) if AGEGRP = 1 2 but am getting the following error "invalid "1"
Any suggestions?
Related Posts with Collapse by partial group
Internal choiceDear all, Please help me with this issue. My data is as follows. Respondents were asked 5 times. I a…
how to compare the trend of risk ratios across age groups, between cases and controlsHi, I used binomial regression to calculate the risk ratio of outcomes (e.g. diabetes, renal failur…
Panel data - first differences modelI am using panel data (world bank's world development indicators). Need to create a first difference…
Dynamic panel approach for large THello everybody, I have data for a small number of countries (12) and a large number of observation…
Can't import 2011 India district shapefileWe need a 2011 India district shapefile (N=640 districts). I found a handful around the web (e.g., S…
Subscribe to:
Post Comments (Atom)
0 Response to Collapse by partial group
Post a Comment