I attached csv file as well as pdf for this project, please help me to understand this project.

Description

Use R programming language to create and calculate these questions.

Don't use plagiarized sources. Get Your Custom Assignment on
I attached csv file as well as pdf for this project, please help me to understand this project.
From as Little as $13/Page

Unformatted Attachment Preview

Assignment # 5 Chapter 3
Note: Data files are posted on the D2L site in the Assignment 5 folder.
Please copy and paste your R steps that perform the calculations to your homework
document.
Problem 1
Problem 3.24
File: LewyBody2Groups.csv.
Notes:

Before you begin this problem please review the video recording of using R in a similar
problem (3.23): 3.3 Indicator Variables.

Add a part d:
Problem 2
Create a model with interaction of the IType variable with the variable
APC so that the regression lines can have different slopes and intercepts.
Problems 3.38, 3.39 and 3.40
File: Diamonds.csv.
Complete problems 3.38, 3.39, and 3.40 (only part d) on pages 148 and 149.
Notes: In the following notes I had used read.csv() to assign the file to the data frame dia.

Before you begin this problem please review the video recording of using R in a
similar problem on CO2 levels in the atmosphere: 3.4 Polynomial Models.

In 3.38 part a, you could use the I() command (“as is”) to calculate the square of the
Depth values without creating a new variable:
moda
Purchase answer to see full
attachment