Directions: Either download this as a word file, or make a copy in google docs so you can edit it yourself. For each question, you must provide you RStudio Code, the output and any interpretation. I should be able to take your code, copy and paste it and produce what you turn in. This means if you have any steps that are done before your final step, such as subsetting, you need to include those as well. All questions will use the “Exam 2” on our class google drive. I have provided an excel file and an R file. If you manipulate the excel file in any way (not recommended, but allowed), you need to let me know and include your manipulated file.
1) Boston University publishes that Undergraduates take the BU shuttle, on average 2.5 times per week. Use our class data to estimate the average number of times MAT 113 students take the shuttle each week with 95% confidence. Can we say that MAT 113 students take the shuttle a different amount of times per week than the average BU undergrad?
2)For this question you will compare students who identify as liberal (left or very left) versus those who do not (moderate or right). Form a 95% confidence interval for the average number of kids liberal leaning students want, as well as a 95% confidence interval for the average number of kids non-liberal leaning students want. Interpret your result.
3)Our data shows that students clearly prefer the Marciano Dining Hall. Suppose Marciano wants to promote that students like them the best and ask you to report the proportion of students who prefer Marciano. If we use our data, form a 95% confidence interval for the proportion of students who think Marciano is the best dining hall and then report what figure Marciano should be safe reporting as the proportion of all BU undergrads who prefer Marciano.
4)Look through the data and form two groups (groups need to be at least size 20) that you will compare using confidence intervals. This is an activity similar to the first exam where you should have some reason to believe the groups will be different and then use confidence intervals to see how different they are. When you do this, you can choose to compare either means or proportions. Please do not use Harry Potter anymore, let’s explore some of the other variables.
版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。