Page 1 of 1

Use the survey dataset in the MASS package in R. In the dataset, survey the Sex column records the sex of the student, w

Posted: Wed May 11, 2022 1:31 pm
by answerhappygod
Use The Survey Dataset In The Mass Package In R In The Dataset Survey The Sex Column Records The Sex Of The Student W 1
Use The Survey Dataset In The Mass Package In R In The Dataset Survey The Sex Column Records The Sex Of The Student W 1 (111.94 KiB) Viewed 27 times
Please include the R code. Dataset is too long to upload. In R
studio library(MASS) view(survey), and the data will apear.
Use the survey dataset in the MASS package in R. In the dataset, survey the Sex column records the sex of the student, while the Fold column records which arm is on top when the student folds their arms. The allowed values in Sex are "Male" and "Female" As for Fold, they are “Ron L", "Lon R", "Neither". Conduct a statistical test to determine if the sex of the student and which arm is on top when arms are folded are dependent. Assume assumptions are met. Conduct the test regardless of whether the inference will be valid or not. a = 0.05. d. Select down the null and alternative hypothesis to determine if Sex is related to Fold. i. Ho: Sex and Fold are independent HA: Sex and Fold are dependent ii. Ho: Sex and Fold are dependent HA: Sex and Fold are independent e. P-value i. 0.2761 ii. 0.0356 iii. 0.00006592 iv. 0.00000000000000022 f. Conclusion ( a = 0.05) i. There is enough evidence to conclude that sex and fold are dependent. ii. There is enough evidence to conclude that sex and fold are independent. iii. There is NOT enough evidence to conclude that sex and fold are dependent. iv. There is NOT enough evidence to conclude that sex and fold are independent. 8. Are assumptions about expected counts met? i. Yes, expected counts are all at least 5. ii. Yes, expected counts are all bigger than 0. iii. No, expected counts are not all at least 5. iv. No, at least one expected count is 0.