Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

R work (must be done in R). Write out answers to questions in complete sentences. Include all relevant R code and output, without anything extraneous.

R work (must be done in R).

Write out answers to questions in complete sentences.

Include all relevant R code and output, without anything extraneous.

Follow these steps to import the necessary dataset:

Before opening the dataset needed for this problem, you'll need to call the "car"package:

> library(car)

Now you can import the "Robey" dataset and use it to answer the question below.

Name the data frame with your ID#:

> my_id <- Robey

The Robey dataset contains fertility rates from a sample of countries. You want to see if total fertility rate (tfr), which is the average number of children per woman, can be explained by the percent of married women of childbearing age who use contraception (contraceptors) and the region of the country.

a.) Run a two-way ANOVA (with interaction) to determine if region and contraceptors explain variance in total fertility rate and provide the model output. You do not need to write hypotheses, check assumptions, or a conclusion. Just include the code and output

b.) Write conclusion for all significant effects in context, citing the appropriate statistics.

c.) Now run a GLM to answer the same question and provide the model output (again, you do not need to write hypotheses, check assumptions, or a conclusion). Just include the code and output

d.) Interpret the slope estimate of any significant effect in context.

e.) Briefly explain what is similar in the output of your two models and what differs.

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

Elementary Differential Equations And Boundary Value Problems

Authors: William E Boyce, Richard C DiPrima

10th Edition

1118475739, 9781118475737

More Books

Students also viewed these Mathematics questions

Question

=+a) Find the EV for his actions.

Answered: 1 week ago