# We Helped With This R Language Programming Homework: Have A Similar One?

SOLVED
Category Programming R | R Studio Graduate Solved Online Statistics Homework Help

## Short Assignment Requirements

I'm attaching the Rstudio assignment questions as well as the required dataset to solve it. It comprises of 3 main tasks and some sub tasks in each task.

## Assignment Description

GV900 Political Explanation, 2018/2019

Instructor: Daina Chiba

9 January, 2019

Homework Assignment 4

### Due Week 19 (5 February)

Perform the necessary statistical analyses using R. Submit the R script file that produces the necessary tables and graphs. Your R file also needs to include some textual discussion and annotations. [You earn 5 points for proper annotation.]

As always, you also need to submit a coversheet in MS word format.

1. Institutional Performance and Civic Community (Putnam data)

1.    Load four packages, foreign, ggplot2, stargazer, and effects. [3 points]

2.    Load the Putnam data set (putnam.csv). [2 points]

3.    Estimate the following three regression models and produce a table that shows the regression coefficients and other statistics in multiple columns:

(a)    a simple linear regression model where Institutional Performance is the DV and Civic Community Index is the IV;

(b)    an additive model that controls for a dummy variable that captures the North-South division. You may want to create a new dummy variable called North, rather than using the original factor variable NorthSouth for ease of interpretation;

(c)    an interactive model that allows Civic Community Index to have different slope for Northern and Southern regions.

### [6 points]

4.    Based on model fit statistics, which one of the three models would you choose? [6 points]

5.    Derive the three sets of implied regression lines from the three models above.

(a)    Model (1): The implied regression line: IPˆ =             +             ∗CC

(b)    Model (2):

The implied regression line for Southern regions: IPˆ =∗CC

The implied regression line for Northern regions: IPˆ =∗CC

(c)    Model (3):

The implied regression line for Southern regions: IPˆ =∗CC

The implied regression line for Northern regions: IPˆ =∗CC

### points]

6.        Based on your answers for questions 4 and 5, would you say that we need to have an interactive model here? Why or why not? Your answer for this question must be provided in comment lines in your R file. [5 points]

7.        Draw a graph that shows the marginal effect of Civic Community Index based on Model (1). [4 points]

8.        Draw two graphs (one for Northern and another for Southern regions) that show the marginal effect of Civic Community Index based on Model (2). [4 points]

9.        Draw a graph that shows the marginal effect of Civic Community Index based on Model (3) for Northern and Southern regions. (Hint: your graph should have two panels, one for Northern and another for Southern regions.) [4 points]

10.    Based on the numerical regression results as well as the three sets of graphs you have drawn above, would you conclude that the regional distinctions make the relationship between Institutional Performance and Civic Community Index spurious? Why or why not? Your answer for this question must be provided in comment lines in your R file. [6 points]

2. Institutional Performance and Economic Modernization (Putnam data)

1. Estimate the following three regression models and produce a table that shows the regression coefficients and other statistics in multiple columns:

(a)    a simple linear regression model where Institutional Performance is the DV and Economic Modernization as the IV;

(b)    an additive model that controls for a dummy variable that captures the North-South division;

(c)    an interactive model that allows Economic Modernization to have different slope for Northern and Southern regions.

### [6 points]

2.    Based on model fit statistics, which one of the three models would you choose? [6 points]

3.    Derive the three sets of implied regression lines from the three models above.

(a)    Model (1): The implied regression line: IPˆ =             +             ∗EM

(b)    Model (2):

The implied regression line for Southern regions: IPˆ =∗EM

The implied regression line for Northern regions: IPˆ =∗EM

(c)    Model (3):

The implied regression line for Southern regions: IPˆ =∗EM

The implied regression line for Northern regions: IPˆ =∗EM

### [10 points]

4.    Based on your answers for questions 2 and 3, would you say that we need to have an interactive model here? Why or why not? [5 points]

5.    Draw a graph that shows the marginal effect of the Economic Modernization variable based on Model (1). [4 points]

6.    Draw two graphs (one for Northern and another for Southern regions) that show the marginal effect of the Economic Modernization variable based on Model (2). [4 points]

7.    Draw a graph that shows the marginal effect of the Economic Modernization variable based on Model (3) for Northern and Southern regions. (Hint: your graph should have two panels, one for Northern and another for Southern regions.) [4 points]

8.    Based on the numerical regression results as well as the three graphs you have drawn, would you conclude that the regional distinctions make the relationship between Institutional Performance and Economic Modernization spurious? Why or why not? [6 points]

End of file

Is it free to get my assignment evaluated?

Yes. No hidden fees. You pay for the solution only, and all the explanations about how to run it are included in the price. It takes up to 24 hours to get a quote from an expert. In some cases, we can help you faster if an expert is available, but you should always order in advance to avoid the risks. You can place a new order here.

How much does it cost?

The cost depends on many factors: how far away the deadline is, how hard/big the task is, if it is code only or a report, etc. We try to give rough estimates here, but it is just for orientation (in USD):

 Regular homework \$20 - \$150 Advanced homework \$100 - \$300 Group project or a report \$200 - \$500 Mid-term or final project \$200 - \$800 Live exam help \$100 - \$300 Full thesis \$1000 - \$3000

How do I pay?

Credit card or PayPal. You don't need to create/have a Payal account in order to pay by a credit card. Paypal offers you "buyer's protection" in case of any issues.

Why do I need to pay in advance?

We have no way to request money after we send you the solution. PayPal works as a middleman, which protects you in case of any disputes, so you should feel safe paying using PayPal.

Do you do essays?

No, unless it is a data analysis essay or report. This is because essays are very personal and it is easy to see when they are written by another person. This is not the case with math and programming.

Why there are no discounts?

It is because we don't want to lie - in such services no discount can be set in advance because we set the price knowing that there is a discount. For example, if we wanted to ask for \$100, we could tell that the price is \$200 and because you are special, we can do a 50% discount. It is the way all scam websites operate. We set honest prices instead, so there is no need for fake discounts.

Do you do live tutoring?

No, it is simply not how we operate. How often do you meet a great programmer who is also a great speaker? Rarely. It is why we encourage our experts to write down explanations instead of having a live call. It is often enough to get you started - analyzing and running the solutions is a big part of learning.

What happens if I am not satisfied with the solution?

Another expert will review the task, and if your claim is reasonable - we refund the payment and often block the freelancer from our platform. Because we are so harsh with our experts - the ones working with us are very trustworthy to deliver high-quality assignment solutions on time.

## Popular Solved Assignments Like This

Customer Feedback

"Thanks for explanations after the assignment was already completed... Emily is such a nice tutor! "

Order #13073

Find Us On