Question
please peovide coding in R:
with a data of 13 variables and 200 observations
Using the variable CLASS, test at 5% significance level to test the claim that the
proportions of Freshmen, Sophomores, Juniors, and Seniors are the same.
2. Repeat part (a) for the variable COLLEGE.


RLM ENGLISH MATH COMP 21 16 25 839SSESSOR 8 F 17 F N H ABCD 1 SEX HSP GPA AGE CREDITS CLASS COLLEGE MAJOR RESIDENCY TYPE 2 Tr
63 M 65 M M Kins 70F 73F 74 M B C D 56 M 19 2.79 22 108 Senior A&S 57 F 72 3.12 20 63 Junior Hiss 58 M B1 2.29 21 84 Junior E
H 113 F 85 B C D 110 F 79 3.35 18 14 Freshman A&S 111 F 66 2.85 21 91 Senior Educ 112 F 77 2.77 22 103 Senior A&S 89 3.28 18
B C D Il 81 3.07 20 95 3.69 19 28 2.62 23 95 3.98 21 87 3.25 19 97 3.96 20 68 2.57 21 71 3.5 18 88 3.16 20 63 2.4 20 84 3.33
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Using some dummy data the R code is built . You need to use your data and try it out. The interpretation of the result is also explained. For both the variable you need to do the same thing.

Creating dummy data Please upload your data into the code and try it out. Since the data is not given in copy ready format, IUsing chisqaure test of goodness of fit chisq.test(prop_class, p= c(0.25, 0.25, 0.25, 0.25)) ### we use 0.25 since we want to

Add a comment
Know the answer?
Add Answer to:
please peovide coding in R: with a data of 13 variables and 200 observations Using the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Who Watches More TV: Males or Females? Use technology and the StudentSurvey dataset to test whether...

    Who Watches More TV: Males or Females? Use technology and the StudentSurvey dataset to test whether the data provide evidence that there is a difference in the mean number of hours spent watching television per week between males and females. Click here for the dataset associated with this question. What are the hypotheses? Use subscripts 1 for females and 2 for males. 11 1 H HP UP HP HIP 11 12 11 Pi 1: P2 G TV Piercing B Gender...

  • please help prepare a statement of cash flows using the indirect method. thank you! Merge & Center Paste 1...

    please help prepare a statement of cash flows using the indirect method. thank you! Merge & Center Paste 1 BIU Number Clpboard Font Alignment F144 A D 40 E Issued Common Stock for Cash 41 F Purchased Treasury Stock with Cash 42 43 Requirements 44 Prepare, in good form, a Statement of Cash Flows using the indirect method 45 46 Formatting 47 Do NOT use cents (00) in any records Journal entries, adjusting and closing entries do not contain dollar...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT