3. Use R Studio: Include R Code A commuter records 20 commute times to gage her median commute time. The data has a sample median of 24 and is summarized in this stem-and-leaf diagram: stem(commutes)
2 | 111233444444
2 | 55569
3 | 113
If the data is appropriate for t.test, use that to compute a 90% confidence interval for the median. Otherwise use wilcox.test (perhaps after a transform) to compute a confidence interval for the median.
>
x=c(21,21,21,22,23,23,24,24,24,24,24,24,25,25,25,26,29,31,31,33)
> #Checking for normality of the data
> qqnorm(x)
> qqline(x)
>
> #Since the data is not normal, we cannot perform the t
test
>
> #Introducing some randomness in the data
> y=jitter(x)
>
> #Performing the Wilcoxon test
> wilcox.test(y)
Wilcoxon signed rank test
data: y
V = 210, p-value = 1.907e-06
alternative hypothesis: true location is not equal to 0
3. Use R Studio: Include R Code A commuter records 20 commute times to gage her...
Write code in R or Rstudio (Programming) You track your commute times for three weeks (15 days), recording the following times in minutes: 17, 16, 20, 24, 22, 15, 21, 25, 17, 90, 16, 17, 22, 20, 20. Enter the data into a 3-by-5 matrix, where rows are weeks and columns are weekdays. Please answer the following questions and provide the necessary code. (a) Name each column with the weekday abbreviations, i.e., Mon, Tue, Wed, Thu, and Fri (b) Find...
i need help on question 3 to 22 please.
Midterm ex review. MATH 101 Use the following information to answer the next four exercises. The midterm grades on a chemistry exam, graded on a scale of 0 to 100, were: 62, 64, 65, 65, 68, 70, 72, 72, 74, 75, 75, 75, 76,78, 78, 81, 82, 83, 84, 85, 87, 88, 92, 95, 98, 98, 100, 100,740 1. Do you see any outliers in this data? If so, how would...