Question: There are three outcomes we examine in this assignment: ( a ) all types of autoratic regime collapse ( gwf _ failu ) ( b
There are three outcomes we examine in this assignment: a all types of autoratic regime collapse gwffailub transitions to democracy f dem; and c transitions to a new dictatorship gwfdict In the data, all types of autocratic regime collapses can be decomposed into two bins: b and c which are subsets of a Some dictatorships have supporting political parties supportparty while others do not supportparty
Write code to complete the following tasks:
Load data gwf csv from a working directory. You can keep all the variables in the dataframe.
Write code to conduct three tests of whether the baseline probability of three types of collapse all regime collapses, transitions to democracy, and transitions to new dictatorship differ by whether the regime has a supporting political party supportparty
Write code to produce a figure that contains three plots, sidebyside all in one row: a means and confidence intervals for all regime collapse types gwffailure by whether the regime has a supporting political party supportpartyb means and confidence intervals for transitions to democracy gwfdem by support party; and c means and confidence intervals for transitions to new dictatorship gwfdict by support party.
Put the figure into a pdf document and write a short paragraph sentences that tells the reader what the figure means. Be sure to tell the reader what the axes depict and what information is conveyed in the figure. Be sure to put the numbers in context and use complete sentences.
Upload two files to CANVAS, which should have the following exact name format:
LastnameLabpdf and LastnameLabRmd
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
