I have some data about social movements and it includes when social movements occurred. I'm trying to aggregate the data into a bar chart that shows time differences between violent and nonviolent social movements. I have tried using:
collapse(sum) violent nonviolent by(CountryCode)
but get error messages that I cannot use time-series operators on string variables. Does anyone have advice on this? Thanks in advance!
Related Posts with Collapsing time series data by geography
Monthly variation in incidence: exposure in Poisson regressionI am trying to estimate the variation of a disease incidence by month. The disease incidence should …
Random and Fixed Effects with normally distributed error termsHey there, I found my error terms to be normally distributed after running an OLS regression. (You c…
Error 902 when using geocodeI've been using geocode to calculate the travel distance and travel time between 745 pairs of addres…
A problem with iteration log likelihood not concave in xtpmg commandHi everyone, When I run the PMG model by xtpmg command, I have a problem the iteration log likelihoo…
Using stsplitI'm trying to fit a model with covariates sex, age, totchol and allow for smoking status to change a…
Subscribe to:
Post Comments (Atom)
0 Response to Collapsing time series data by geography
Post a Comment