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
Regression transformation with ln and squared values Hello, I assume a nonlinear relationship between TobinsQ and sumholdingpct. Is it then appropriat…
Avoid duplicate removal: Loop to create new id of a duplicate within panel?Dear Statalist Community, I have a problem with repeated time values in my panel (daily time interv…
Building a Scorecard by Binary Logistic Regression ModelHi, I want to find a way to turn binary logistic regression model's coefficients/odds ratios to a s…
Automating the process of copying and pasting in STATAHi, I am trying to copy and paste the first 20 observation onto a new column but the values start a…
code for classifying participants based on complex criteria on a 9-item scaleI'm looking for code to classify participants with depression using more complicated diagnostic crit…
Subscribe to:
Post Comments (Atom)
0 Response to Collapsing time series data by geography
Post a Comment