Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

5-8 statistics homework. Nonparametric tests. A collage administrator believes t

ID: 3229987 • Letter: 5

Question

5-8 statistics homework. Nonparametric tests. A collage administrator believes that difference in the of people with degrees and with associate's degrees. The table shows the earnings (in thousands dollars) of a sample of 11 people bachelor's degrees 10 people with associate's degrees At alpha = 0.05, is there enough to support the administrator's belief? A teacher's union representative claims that there difference in the salaries earned by teachers in Wisconsin and The table shows the salaries (in thousands of dollars) of a sample of 11 teachers from Wisconsin and 12 teachers from At alpha = 0.05. is there enough evidence to support the representative's claim? A physician wants to determine whether an experiment medication affects an individual's heart rate. The physician selects 15 patients and measures the heart rate of each. The subjects then the medication and have their heart rates measured after one hour The results are shown in the table. At alpha = 0.05, can the physician conclude that the experimental medication affects an individual's heart rate?

Explanation / Answer

We carry out the analyses using the nonparametric tests available in R statistical software.

5.

> # 5 Drug Prices
> US <- c(1.26,1.26,4.19,3.36,1.29,9.91,3.95)
> Canada <- c(1.01,0.82,2.32,2.22,4.31,11.47,2.63)
> wilcox.test(Canada,US,alternative="greater")

        Wilcoxon rank sum test with continuity correction

data: Canada and US
W = 22, p-value = 0.64942
alternative hypothesis: true location shift is greater than 0

Warning message:
In wilcox.test.default(Canada, US, alternative = "greater") :
cannot compute exact p-value with ties

Since the p-value is very high, we can't reject the null hypothesis and hence conclude that the drug prices in Canada is lesser than US.

6. We test whether the salaries are equal for Bachelor's and Associate's degree. We apply the Wilcox test again.

> # 6. Earnings by Degree
> Bachelors <- c(54,50,63,76,70,50,44,56,60,52,51)
> Associates <- c(36,39,47,33,38,45,45,42,34)
> wilcox.test(Bachelors,Associates)

        Wilcoxon rank sum test with continuity correction

data: Bachelors and Associates
W = 96, p-value = 0.00046978
alternative hypothesis: true location shift is not equal to 0

Warning message:
In wilcox.test.default(Bachelors, Associates) :
cannot compute exact p-value with ties

Since the p-value is very small, we conclude that the salaries are different.

7. Teacher's salaries.

> Wisconsin <- c(51,59,52,46,51,55,53,51,50,50,64)
> Michigan <- c(57,61,51,58,53,63,57,63,55,49,54,72)
> wilcox.test(Wisconsin,Michigan)

        Wilcoxon rank sum test with continuity correction

data: Wisconsin and Michigan
W = 34.5, p-value = 0.055489
alternative hypothesis: true location shift is not equal to 0

Warning message:
In wilcox.test.default(Wisconsin, Michigan) :
cannot compute exact p-value with ties

Since te p-value is greater than 0.05, we conclude that salaries are different at 0.05 level of significance.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote