compute sform1=form. if (form ge 10 and form le 49) sform1=1. if (form ge 50 and form le 89) sform1=2. var lab sform1 'summary form 1'. val lab sform1 1 'conventional' 2 'unconventional'. compute sform2=form. if (form ge 10 and form le 19) sform2=1. if (form ge 20 and form le 29) sform2=2. if (form ge 30 and form le 35) sform2=3. if (form ge 36 and form le 49) sform2=4. if (form=50) sform2=5. if (form ge 51 and form le 59) sform2=6. if (form ge 60 and form le 69) sform2=7. if (form ge 70 and form le 77) sform2=8. if (form ge 78 and form le 89) sform2=9. var lab sform2 'summary form 2'. val lab sform2 1 'juridical' 2 'political' 3 'media' 4 'direct democracy' 5 'petitions' 6 'demonstrative' 7 'confrontative legal' 8 'confrontative illegal' 9 'violent'. compute sform3=sform2. if any(sform2,1,2,3,4,5,6) sform3=1. if any(sform2,7,8,9) sform3=2. var lab sform3 'summary form 3'. val lab sform3 1 'moderate' 2 'radical'. compute mov=goal. if (goal ge 1 and goal le 11) mov=1. if (goal=15) mov=2. if (goal ge 16 and goal le 27) mov=3. if (goal=12) mov=4. if any(goal,28,29) mov=5. var lab mov 'movement'. val lab mov 1 'peace movement' 2 'antinuclear movement' 3 'ecology movement' 4 'countermovement peace' 5 'countermovement ecology'. recode frame (3,4=3). var lab frame 'frame/scope of the event'. val lab frame 1 'international' 2 'national' 3 'regional/local'. missing val frame (9). recode part (sysmis=0). if (form le 37 and part=0) part=1. recode part (0=sysmis). *\ estimates for partest1: 1 if for form 10 to 37 national median for each form when valid cases in part > 2 national mean for each form when valid cases in part = 1 or 2 national median for each summary form when valid cases for part = 0 compute partest1=part. if (form le 37) partest1=1. if ((country=1) and missing (partest1) and (form=48)) partest1=5000. if ((country=1) and missing (partest1) and (form=49)) partest1=3048. if ((country=1) and missing (partest1) and (form=50)) partest1=5000. if ((country=1) and missing (partest1) and (form=51)) partest1=800. if ((country=1) and missing (partest1) and (form=52)) partest1=800. if ((country=1) and missing (partest1) and (form=57)) partest1=10000. if ((country=1) and missing (partest1) and (form=58)) partest1=375. if ((country=1) and missing (partest1) and (form=59)) partest1=400. if ((country=1) and missing (partest1) and (form=60)) partest1=177. if ((country=1) and missing (partest1) and (form=61)) partest1=236. if ((country=1) and missing (partest1) and (form=70)) partest1=30. if ((country=1) and missing (partest1) and (form=72)) partest1=70. if ((country=1) and missing (partest1) and (form=73)) partest1=39. if ((country=1) and missing (partest1) and (form=75)) partest1=115. if ((country=1) and missing (partest1) and (form=76)) partest1=6. if ((country=1) and missing (partest1) and (form=77)) partest1=20000. if ((country=1) and missing (partest1) and (form=80)) partest1=200. if ((country=1) and missing (partest1) and (form=82)) partest1=55. if ((country=1) and missing (partest1) and (form=83)) partest1=5. if ((country=1) and missing (partest1) and (form=87)) partest1=500. if ((country=1) and missing (partest1) and (form=88)) partest1=200. if ((country=2) and missing (partest1) and (form=49)) partest1=750000. if ((country=2) and missing (partest1) and (form=50)) partest1=3250. if ((country=2) and missing (partest1) and (form=51)) partest1=400. if ((country=2) and missing (partest1) and (form=52)) partest1=2000. if ((country=2) and missing (partest1) and (form=58)) partest1=100. if ((country=2) and missing (partest1) and (form=59)) partest1=750. if ((country=2) and missing (partest1) and (form=60)) partest1=5900. if ((country=2) and missing (partest1) and (form=61)) partest1=4. if ((country=2) and missing (partest1) and (form=64)) partest1=310. if ((country=2) and missing (partest1) and (form=65)) partest1=100. if ((country=2) and missing (partest1) and (form=72)) partest1=400. if ((country=2) and missing (partest1) and (form=73)) partest1=500. if ((country=2) and missing (partest1) and (form=75)) partest1=100. if ((country=2) and missing (partest1) and (form=77)) partest1=5. if ((country=2) and missing (partest1) and (form=80)) partest1=500. if ((country=2) and missing (partest1) and (form=88)) partest1=125. if ((country=2) and missing (partest1) and (form=89)) partest1=115. if ((country=3) and missing (partest1) and (form=48)) partest1=224500. if ((country=3) and missing (partest1) and (form=50)) partest1=3400. if ((country=3) and missing (partest1) and (form=51)) partest1=300. if ((country=3) and missing (partest1) and (form=52)) partest1=1000. if ((country=3) and missing (partest1) and (form=53)) partest1=500. if ((country=3) and missing (partest1) and (form=55)) partest1=203. if ((country=3) and missing (partest1) and (form=57)) partest1=425. if ((country=3) and missing (partest1) and (form=58)) partest1=60. if ((country=3) and missing (partest1) and (form=59)) partest1=100. if ((country=3) and missing (partest1) and (form=60)) partest1=1500. if ((country=3) and missing (partest1) and (form=61)) partest1=2. if ((country=3) and missing (partest1) and (form=62)) partest1=1. if ((country=3) and missing (partest1) and (form=64)) partest1=75. if ((country=3) and missing (partest1) and (form=65)) partest1=28. if ((country=3) and missing (partest1) and (form=70)) partest1=200. if ((country=3) and missing (partest1) and (form=71)) partest1=500. if ((country=3) and missing (partest1) and (form=72)) partest1=62. if ((country=3) and missing (partest1) and (form=73)) partest1=64. if ((country=3) and missing (partest1) and (form=75)) partest1=16. if ((country=3) and missing (partest1) and (form=76)) partest1=5. if ((country=3) and missing (partest1) and (form=77)) partest1=12. if ((country=3) and missing (partest1) and (form=78)) partest1=1. if ((country=3) and missing (partest1) and (form=80)) partest1=22. if ((country=3) and missing (partest1) and (form=82)) partest1=500. if ((country=3) and missing (partest1) and (form=83)) partest1=1. if ((country=3) and missing (partest1) and (form=87)) partest1=51. if ((country=3) and missing (partest1) and (form=88)) partest1=1500. if ((country=3) and missing (partest1) and (form=89)) partest1=200. if ((country=1) and missing (partest1) and (form=53)) partest1=800. if ((country=1) and missing (partest1) and (form=65)) partest1=177. if ((country=1) and missing (partest1) and (form=78)) partest1=50. if ((country=1) and missing (partest1) and (form=89)) partest1=50. if ((country=2) and missing (partest1) and (form=53)) partest1=1750. if ((country=2) and missing (partest1) and (form=54)) partest1=1750. if ((country=2) and missing (partest1) and (form=55)) partest1=1750. if ((country=2) and missing (partest1) and (form=70)) partest1=200. if ((country=2) and missing (partest1) and (form=83)) partest1=200. if ((country=2) and missing (partest1) and (form=85)) partest1=200. if ((country=2) and missing (partest1) and (form=86)) partest1=200. if ((country=3) and missing (partest1) and (form=85)) partest1=450. var lab partest1 'number of participants (with estimates, median)'. *\ estimates for partest2: 1 if for form 10 to 37 national mean when valid cases for part > 0 national mean for each summary form when valid cases for part = 0 compute partest2=part. if (form le 37) partest2=1. if ((country=1) and missing (partest2) and (form=48)) partest2=35561. if ((country=1) and missing (partest2) and (form=49)) partest2=12183. if ((country=1) and missing (partest2) and (form=50)) partest2=36456. if ((country=1) and missing (partest2) and (form=51)) partest2=1307. if ((country=1) and missing (partest2) and (form=52)) partest2=2461. if ((country=1) and missing (partest2) and (form=57)) partest2=10800. if ((country=1) and missing (partest2) and (form=58)) partest2=463. if ((country=1) and missing (partest2) and (form=59)) partest2=1027. if ((country=1) and missing (partest2) and (form=60)) partest2=177. if ((country=1) and missing (partest2) and (form=61)) partest2=236. if ((country=1) and missing (partest2) and (form=70)) partest2=30. if ((country=1) and missing (partest2) and (form=72)) partest2=217. if ((country=1) and missing (partest2) and (form=73)) partest2=40. if ((country=1) and missing (partest2) and (form=75)) partest2=115. if ((country=1) and missing (partest2) and (form=76)) partest2=6. if ((country=1) and missing (partest2) and (form=77)) partest2=20000. if ((country=1) and missing (partest2) and (form=80)) partest2=200. if ((country=1) and missing (partest2) and (form=82)) partest2=115. if ((country=1) and missing (partest2) and (form=83)) partest2=5. if ((country=1) and missing (partest2) and (form=87)) partest2=500. if ((country=1) and missing (partest2) and (form=88)) partest2=1567. if ((country=2) and missing (partest2) and (form=49)) partest2=750000. if ((country=2) and missing (partest2) and (form=50)) partest2=80243. if ((country=2) and missing (partest2) and (form=51)) partest2=1599. if ((country=2) and missing (partest2) and (form=52)) partest2=21492. if ((country=2) and missing (partest2) and (form=58)) partest2=9195. if ((country=2) and missing (partest2) and (form=59)) partest2=26264. if ((country=2) and missing (partest2) and (form=60)) partest2=5900. if ((country=2) and missing (partest2) and (form=61)) partest2=52. if ((country=2) and missing (partest2) and (form=64)) partest2=330. if ((country=2) and missing (partest2) and (form=65)) partest2=245. if ((country=2) and missing (partest2) and (form=72)) partest2=1518. if ((country=2) and missing (partest2) and (form=73)) partest2=500. if ((country=2) and missing (partest2) and (form=75)) partest2=100. if ((country=2) and missing (partest2) and (form=77)) partest2=102. if ((country=2) and missing (partest2) and (form=80)) partest2=500. if ((country=2) and missing (partest2) and (form=88)) partest2=125. if ((country=2) and missing (partest2) and (form=89)) partest2=115. if ((country=3) and missing (partest2) and (form=48)) partest2=224500. if ((country=3) and missing (partest2) and (form=50)) partest2=49259. if ((country=3) and missing (partest2) and (form=51)) partest2=4810. if ((country=3) and missing (partest2) and (form=52)) partest2=11504. if ((country=3) and missing (partest2) and (form=53)) partest2=729. if ((country=3) and missing (partest2) and (form=55)) partest2=4091. if ((country=3) and missing (partest2) and (form=57)) partest2=125683. if ((country=3) and missing (partest2) and (form=58)) partest2=1054207. if ((country=3) and missing (partest2) and (form=59)) partest2=2130. if ((country=3) and missing (partest2) and (form=60)) partest2=1500. if ((country=3) and missing (partest2) and (form=61)) partest2=48. if ((country=3) and missing (partest2) and (form=62)) partest2=1. if ((country=3) and missing (partest2) and (form=64)) partest2=139. if ((country=3) and missing (partest2) and (form=65)) partest2=218. if ((country=3) and missing (partest2) and (form=70)) partest2=472. if ((country=3) and missing (partest2) and (form=71)) partest2=500. if ((country=3) and missing (partest2) and (form=72)) partest2=380. if ((country=3) and missing (partest2) and (form=73)) partest2=303. if ((country=3) and missing (partest2) and (form=75)) partest2=59. if ((country=3) and missing (partest2) and (form=76)) partest2=5. if ((country=3) and missing (partest2) and (form=77)) partest2=221. if ((country=3) and missing (partest2) and (form=78)) partest2=1. if ((country=3) and missing (partest2) and (form=80)) partest2=22. if ((country=3) and missing (partest2) and (form=82)) partest2=633. if ((country=3) and missing (partest2) and (form=83)) partest2=1. if ((country=3) and missing (partest2) and (form=87)) partest2=51. if ((country=3) and missing (partest2) and (form=88)) partest2=1967. if ((country=3) and missing (partest2) and (form=89)) partest2=200. if ((country=1) and missing (partest2) and (form=53)) partest2=2377. if ((country=1) and missing (partest2) and (form=65)) partest2=216. if ((country=1) and missing (partest2) and (form=78)) partest2=502. if ((country=1) and missing (partest2) and (form=89)) partest2=502. if ((country=2) and missing (partest2) and (form=83)) partest2=19323. if ((country=2) and missing (partest2) and (form=54)) partest2=19323. if ((country=2) and missing (partest2) and (form=55)) partest2=19323. if ((country=2) and missing (partest2) and (form=70)) partest2=1104. if ((country=2) and missing (partest2) and (form=83)) partest2=196. if ((country=2) and missing (partest2) and (form=85)) partest2=196. if ((country=2) and missing (partest2) and (form=86)) partest2=196. if ((country=3) and missing (partest2) and (form=85)) partest2=997. var lab partest2 'number of participants (with estimates, mean)'. compute partpm1=partest1. if ((country=1) and (year=75)) partpm1=partest1/6404*1000. if ((country=1) and (year=76)) partpm1=partest1/6333*1000. if ((country=1) and (year=77)) partpm1=partest1/6316*1000. if ((country=1) and (year=78)) partpm1=partest1/6333*1000. if ((country=1) and (year=79)) partpm1=partest1/6351*1000. if ((country=1) and (year=80)) partpm1=partest1/6385*1000. if ((country=1) and (year=81)) partpm1=partest1/6429*1000. if ((country=1) and (year=82)) partpm1=partest1/6467*1000. if ((country=1) and (year=83)) partpm1=partest1/6482*1000. if ((country=1) and (year=84)) partpm1=partest1/6505*1000. if ((country=1) and (year=85)) partpm1=partest1/6533*1000. if ((country=1) and (year=86)) partpm1=partest1/6573*1000. if ((country=1) and (year=87)) partpm1=partest1/6619*1000. if ((country=1) and (year=88)) partpm1=partest1/6672*1000. if ((country=1) and (year=89)) partpm1=partest1/6647*1000. if ((country=1) and (year=90)) partpm1=partest1/6712*1000. if ((country=1) and (year=91)) partpm1=partest1/6800*1000. if ((country=1) and (year=92)) partpm1=partest1/6875*1000. if ((country=1) and (year=93)) partpm1=partest1/6938*1000. if ((country=1) and (year=94)) partpm1=partest1/6994*1000. if ((country=1) and (year=95)) partpm1=partest1/6994*1000. if ((country=2) and (year=70)) partpm1=partest1/53661*1000. if ((country=2) and (year=75)) partpm1=partest1/55441*1000. if ((country=2) and (year=76)) partpm1=partest1/55701*1000. if ((country=2) and (year=77)) partpm1=partest1/55730*1000. if ((country=2) and (year=78)) partpm1=partest1/56127*1000. if ((country=2) and (year=79)) partpm1=partest1/56292*1000. if ((country=2) and (year=80)) partpm1=partest1/56416*1000. if ((country=2) and (year=81)) partpm1=partest1/56503*1000. if ((country=2) and (year=82)) partpm1=partest1/56639*1000. if ((country=2) and (year=83)) partpm1=partest1/56825*1000. if ((country=2) and (year=84)) partpm1=partest1/56983*1000. if ((country=2) and (year=85)) partpm1=partest1/57128*1000. if ((country=2) and (year=86)) partpm1=partest1/57221*1000. if ((country=2) and (year=87)) partpm1=partest1/57331*1000. if ((country=2) and (year=88)) partpm1=partest1/57441*1000. if ((country=2) and (year=89)) partpm1=partest1/57525*1000. if ((country=2) and (year=90)) partpm1=partest1/56737*1000. if ((country=2) and (year=91)) partpm1=partest1/56760*1000. if ((country=2) and (year=92)) partpm1=partest1/56859*1000. if ((country=2) and (year=93)) partpm1=partest1/57070*1000. if ((country=2) and (year=94)) partpm1=partest1/57190*1000. if ((country=2) and (year=95)) partpm1=partest1/57190*1000. if ((country=3) and (year=70)) partpm1=partest1/205052*1000. if ((country=3) and (year=75)) partpm1=partest1/215973*1000. if ((country=3) and (year=76)) partpm1=partest1/218035*1000. if ((country=3) and (year=77)) partpm1=partest1/220239*1000. if ((country=3) and (year=78)) partpm1=partest1/222585*1000. if ((country=3) and (year=79)) partpm1=partest1/225055*1000. if ((country=3) and (year=80)) partpm1=partest1/227726*1000. if ((country=3) and (year=81)) partpm1=partest1/229966*1000. if ((country=3) and (year=82)) partpm1=partest1/232188*1000. if ((country=3) and (year=83)) partpm1=partest1/234307*1000. if ((country=3) and (year=84)) partpm1=partest1/236348*1000. if ((country=3) and (year=85)) partpm1=partest1/238466*1000. if ((country=3) and (year=86)) partpm1=partest1/240651*1000. if ((country=3) and (year=87)) partpm1=partest1/242804*1000. if ((country=3) and (year=88)) partpm1=partest1/245021*1000. if ((country=3) and (year=89)) partpm1=partest1/247342*1000. if ((country=3) and (year=90)) partpm1=partest1/249913*1000. if ((country=3) and (year=91)) partpm1=partest1/252650*1000. if ((country=3) and (year=92)) partpm1=partest1/255419*1000. if ((country=3) and (year=93)) partpm1=partest1/258137*1000. if ((country=3) and (year=94)) partpm1=partest1/260660*1000. if ((country=3) and (year=95)) partpm1=partest1/263034*1000. var lab partpm1 'number of participants over population (median)'. compute partpm2=partest2. if ((country=1) and (year=75)) partpm2=partest2/6404*1000. if ((country=1) and (year=76)) partpm2=partest2/6333*1000. if ((country=1) and (year=77)) partpm2=partest2/6316*1000. if ((country=1) and (year=78)) partpm2=partest2/6333*1000. if ((country=1) and (year=79)) partpm2=partest2/6351*1000. if ((country=1) and (year=80)) partpm2=partest2/6385*1000. if ((country=1) and (year=81)) partpm2=partest2/6429*1000. if ((country=1) and (year=82)) partpm2=partest2/6467*1000. if ((country=1) and (year=83)) partpm2=partest2/6482*1000. if ((country=1) and (year=84)) partpm2=partest2/6505*1000. if ((country=1) and (year=85)) partpm2=partest2/6533*1000. if ((country=1) and (year=86)) partpm2=partest2/6573*1000. if ((country=1) and (year=87)) partpm2=partest2/6619*1000. if ((country=1) and (year=88)) partpm2=partest2/6672*1000. if ((country=1) and (year=89)) partpm2=partest2/6647*1000. if ((country=1) and (year=90)) partpm2=partest2/6712*1000. if ((country=1) and (year=91)) partpm2=partest2/6800*1000. if ((country=1) and (year=92)) partpm2=partest2/6875*1000. if ((country=1) and (year=93)) partpm2=partest2/6938*1000. if ((country=1) and (year=94)) partpm2=partest2/6994*1000. if ((country=1) and (year=95)) partpm2=partest2/6994*1000. if ((country=2) and (year=70)) partpm2=partest2/53661*1000. if ((country=2) and (year=75)) partpm2=partest2/55441*1000. if ((country=2) and (year=76)) partpm2=partest2/55701*1000. if ((country=2) and (year=77)) partpm2=partest2/55730*1000. if ((country=2) and (year=78)) partpm2=partest2/56127*1000. if ((country=2) and (year=79)) partpm2=partest2/56292*1000. if ((country=2) and (year=80)) partpm2=partest2/56416*1000. if ((country=2) and (year=81)) partpm2=partest2/56503*1000. if ((country=2) and (year=82)) partpm2=partest2/56639*1000. if ((country=2) and (year=83)) partpm2=partest2/56825*1000. if ((country=2) and (year=84)) partpm2=partest2/56983*1000. if ((country=2) and (year=85)) partpm2=partest2/57128*1000. if ((country=2) and (year=86)) partpm2=partest2/57221*1000. if ((country=2) and (year=87)) partpm2=partest2/57331*1000. if ((country=2) and (year=88)) partpm2=partest2/57441*1000. if ((country=2) and (year=89)) partpm2=partest2/57525*1000. if ((country=2) and (year=90)) partpm2=partest2/56737*1000. if ((country=2) and (year=91)) partpm2=partest2/56760*1000. if ((country=2) and (year=92)) partpm2=partest2/56859*1000. if ((country=2) and (year=93)) partpm2=partest2/57070*1000. if ((country=2) and (year=94)) partpm2=partest2/57190*1000. if ((country=2) and (year=95)) partpm2=partest2/57190*1000. if ((country=3) and (year=70)) partpm2=partest2/205052*1000. if ((country=3) and (year=75)) partpm2=partest2/215973*1000. if ((country=3) and (year=76)) partpm2=partest2/218035*1000. if ((country=3) and (year=77)) partpm2=partest2/220239*1000. if ((country=3) and (year=78)) partpm2=partest2/222585*1000. if ((country=3) and (year=79)) partpm2=partest2/225055*1000. if ((country=3) and (year=80)) partpm2=partest2/227726*1000. if ((country=3) and (year=81)) partpm2=partest2/229966*1000. if ((country=3) and (year=82)) partpm2=partest2/232188*1000. if ((country=3) and (year=83)) partpm2=partest2/234307*1000. if ((country=3) and (year=84)) partpm2=partest2/236348*1000. if ((country=3) and (year=85)) partpm2=partest2/238466*1000. if ((country=3) and (year=86)) partpm2=partest2/240651*1000. if ((country=3) and (year=87)) partpm2=partest2/242804*1000. if ((country=3) and (year=88)) partpm2=partest2/245021*1000. if ((country=3) and (year=89)) partpm2=partest2/247342*1000. if ((country=3) and (year=90)) partpm2=partest2/249913*1000. if ((country=3) and (year=91)) partpm2=partest2/252650*1000. if ((country=3) and (year=92)) partpm2=partest2/255419*1000. if ((country=3) and (year=93)) partpm2=partest2/258137*1000. if ((country=3) and (year=94)) partpm2=partest2/260660*1000. if ((country=3) and (year=95)) partpm2=partest2/263034*1000. var lab partpm2 'number of participants over population (mean)'.