Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1: Using the SATGPA data set (Stat2Data package in R): Test by using = .05. 1) Create the following three variables and then print

Question 1: Using the SATGPA data set (Stat2Data package in R): Test by using = .05.

1) Create the following three variables and then print out all the six variables.

a. Create a new variable SAT, which is the sum of MathSAT and VerbalSAT.

b. Create second new variable SATLevel, and assign the value of SATLevel as 1 when SAT<=1100, 2 when 11001300

c. Create third new variable GPALevel and assign the value of GPALevel as 1 when GPA<=2.8, 2 when 2.83.5

d. Print out all the data in the descending order of their GPALevel and the descending order of their SAT when GPALevel is the same.

2) Use the Chi-Square test to conclude if the SATLevel and GPALevel are independent.

3) Compute the mean and variance of GPA for each level of GPALevel, and compute the correlation matrices for the four variables: MathSAT, VerbalSAT, GPA and SAT

4) Do the data provide sufficient evidence to indicate that the mean of MathSAT is significantly greater than the mean of VerbalSAT.

5) Test if the proportion of MathSAT greater than VerbalSAT is 0.65

6) Regress the MathSAT on the VerbalSAT. Report the estimated coefficients.

7) Compute the correlation of MathSAT and VerbalSAT, and test if their correlation is zero.

PLEASE SUBMIT THE R CODE SCRIPT FOR THE WHOLE QUESTION

SATGPA data set is in Stat2Data package in R

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

Advances In Databases And Information Systems 22nd European Conference Adbis 2018 Budapest Hungary September 2 5 2018 Proceedings Lncs 11019

Authors: Andras Benczur ,Bernhard Thalheim ,Tomas Horvath

1st Edition

3319983970, 978-3319983974

More Books

Students also viewed these Databases questions

Question

Which months of this year 5 Mondays ?

Answered: 1 week ago

Question

Define Leap year?

Answered: 1 week ago

Question

Prepare a short profile of Lucy Clifford ?

Answered: 1 week ago

Question

Prepare a short profile of Rosa parks?

Answered: 1 week ago

Question

13-1 How does building new systems produce organizational change?

Answered: 1 week ago