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 (gwf_failu)(b) transitions to democracy (gwf f dem); and (c) transitions to a new dictatorship (gwf_dict). 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=1), while others do not ( supportparty=0).
Write R code to complete the following tasks:
Load data (gwf1. csv) from a working directory. You can keep all the variables in the dataframe.
Write R code to conduct three t-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 R code to produce a figure that contains three plots, side-by-side (all in one row): (a) means and confidence intervals for all regime collapse types (gwf_failure), by whether the regime has a supporting political party (supportparty),(b) means and confidence intervals for transitions to democracy (gwf_dem), by support party; and (c) means and confidence intervals for transitions to new dictatorship (gwf_dict), by support party.
Put the figure into a .pdf document and write a short paragraph (2-4 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:
Lastname_Lab2.pdf and Lastname_Lab2.Rmd
 There are three outcomes we examine in this assignment: (a) all

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!