Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning C# 5.0 Databases

Authors: Vidya Vrat Agarwal

2nd Edition

1430242604, 978-1430242604

More Books

Students also viewed these Databases questions

Question

List the advantages and disadvantages of the pay programs. page 505

Answered: 1 week ago