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
Having issues with GcrobustvarDear scholars, I am having some issues using Gcrobustvar estimator for causality. After loading the …
svy: reg get standardized coefficients for both continuous and categorical predictorsHi Statalist, I came across an issue for getting standardized coefficients for svy: reg, when there…
separate regression of different groups in the panel dataHi everyone! I seem to stuck in the problem of doing regression of different groups within the panel…
Adding mean and sd to estpost / esttabHello everyone I want to add two extra columns for mean and standard deviation to my correlation ma…
Converting results from percentage point to percentHello STATALISTERS, I am estimating the effects of a program using the fixed effects model in which …
Subscribe to:
Post Comments (Atom)
0 Response to Collapse by partial group
Post a Comment