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
Replacing "NA" with missingI'm super new to using Stata and could really use some help! I have imported a csv file from R into …
ivprobit and cmp ivprobitHi. I am using an individual-based survey and I am trying to estimate the impact of migration and re…
Merging datasets code issueHi all! I can't figure out a certain line of code. I'd like to merge two data sets. The master data…
eintregHi, I am using eintreg for interval regression with sample selection I would like to know the numbe…
Using an interaction between a categorical and a continuous interaction where the base category is highly informativeDear Statalist, Sorry if my question is too general for this forum. I hope it is okay. I am lookin…
Subscribe to:
Post Comments (Atom)
0 Response to Collapsing time series data by geography
Post a Comment