In: Statistics and Probability
#4
**Below are two samples of test scores from two different calculus
classes. It is believed that class 1 performed better than class
two. From previous tests, it is known that the test scores for both
classes are normally distributed and the population standard
deviation of class 1 is 10 points and the population standard
deviation of class 2 is 8 points. Do the data support that class 1
performed better.**
```{r}
class1<-c(100, 86, 98, 72, 66, 95, 93, 82)
class2<-c(98, 82, 99, 99, 70, 71, 94, 79)
```
##5
**A teaching assistant in Florida collected a sample to see if the
average number of hours students put into studying depending on if
they were in graduate school or not. The data below represents
these two samples.**
**Perform a test to determine if the time graduate students spend studying is greater than that of undergraduate students. Be sure to identify your hypotheses and explain your conclusion in the context of the question. Assume the time spend studying for both graduate and undergraduate is normally distributed.**
grad<-c(15,7,15,10,5,5,2,3,12,16,15,37,8,14,10,18,3,25,15,5,5)
undergrad<-c(6,8,15,6,5,14,10,10,12,5)
Please Solve using R studio codes with explanation