View the step-by-step solution to:

Please solve all of the question using R and do clarify the answers. Using the (SATGPA) data set in (Stat2Data) package. Test by using = .

Please solve all of the question using R and do clarify the answers.


Using the (SATGPA) data set in (Stat2Data) package. Test by using α= .01.

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

A) Create 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 1100<SAT<=1200, 3 when 1200<SAT<=1300, and 4 when

SAT>1300.

C)Create third new variable "GPALevel" and assign the value of "GPALevel" as 1 when

GPA<=2.8, 2 when 2.8<GPA<=3.3, 3 when 3.3<GPA<=3.5, and 4 when GPA>3.5

D) Print out all the data in the ascending 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.5.

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question