R Assignment 2_one sample t-1 (1)

docx

School

Schoolcraft College *

*We aren’t endorsed by this school

Course

2100

Subject

Statistics

Date

Apr 3, 2024

Type

docx

Pages

3

Uploaded by JusticeOtterPerson8239

Report
R Assignment 2: One Sample t-Test Please read the instructions carefully: 1. Use the homework assignment sheet (the current page) as your cover page, which is then followed by your write-up. For each question, provide the R outputs by copying and pasting them to your Words document (see example below). Highlight relevant numbers in output. 2. The write-up must be typed. Make sure to use full sentences to describe the results. (e.g., frequencies table shows that there are 20% of people in group 1…) 3. Provide your answers and output (if required) below each question. 4. You must hand-in the assignment for grading. STAPLE your assignment.
R Assignment 2: One Sample t-Test Question 1 Objective: The purpose of this assignment is to apply the one-sample t-test in R to evaluate whether a new mindfulness program significantly affects student stress levels compared to the established university average. Background: Previous research has established that the average stress level score among university students during midterms is 5.0 on a standardized stress scale, where scores range from 1 (no stress) to 10 (extreme stress). A new mindfulness program was introduced to a group of students with the aim of reducing stress levels, although the researcher is uncertain about the actual effect. You are tasked with analyzing the program's effectiveness. Dataset: You will see a dataset on canvas representing stress levels of 25 students who participated in the mindfulness program, “mindfulness.csv”. 1. Specify the research hypothesis. (2 pts) 2. Specify the null hypothesis. (2 pts) 3. Calculate the mean and standard deviation of the stress scores for people who went through the training. Describe the statistics briefly. Answer this question with R. To show your work, copy and paste the R-script and output below. (6 pts) Expected scripts: (2 points) Expected output: (2 points) Expected write-up: (2 points) 4. Compute the t-statistic and effect size in R. Based on the calculation of t , make a decision whether reject or do not reject the null hypothesis. Explain why. To show your work, copy and paste the R-script and output below. (6 pts) Expected scripts: (2 points) Expected output: (2 points) Expected write-up: (2 points) 5. Report your findings in APA format. (5 pts).
R Assignment 2: One Sample t-Test Question 2 Objective: The goal of this exercise is to use the one-sample t-test in R to determine whether a sleep enhancement program significantly changes the academic performance of university students relative to the university's average. Background: Research has indicated that the average GPA of students at the university is 3.0. A new program aiming to improve sleep quality was offered to a group of students during the semester. This program promises to help manage sleep schedules more effectively, potentially leading to better academic performance. Your task is to evaluate whether the program had a significant effect on the students' GPA. Dataset: You will work with a dataset named "sleep_study.csv", which contains GPAs of 30 students who participated in the sleep enhancement program. 1. Specify the research hypothesis. (2 pts) 2. Specify the null hypothesis. (2 pts) 3. Calculate the mean and standard deviation of the GPA scores for people who went through the training. Describe the statistics briefly. Answer this question with R. To show your work, copy and paste the R-script and output below. (6 pts) Expected scripts: (2 points) Expected output: (2 points) Expected write-up: (2 points) 4. Compute the t-statistic and effect size in R. Based on the calculation of t , make a decision whether reject or do not reject the null hypothesis. Explain why. To show your work, copy and paste the R-script and output below. (6 pts) Expected scripts: (2 points) Expected output: (2 points) Expected write-up: (2 points) 5. Report your findings in APA format. (5 pts).
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help