R Assignment dependent t independent t

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 3-Dependent & Independent t-tests Name:_______________________ Please read the instructions carefully: 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. 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…) Provide your answers and output (if required) below each question. You must hand-in the assignment for grading. STAPLE your assignment.
R Assignment 3-Dependent & Independent t-tests Name:_______________________ QUESTION 1: A researcher investigated the impact of different training programs on police effectiveness in resolving domestic disputes. They randomly selected a group of police officers and divided them into two equal groups. One group completed a sensitivity course, while the other completed a regular fitness course. After completing their respective courses, all participants were assessed on their ability to successfully resolve a simulated domestic dispute. Data pertaining to this study can be found on Canvas in the 'police.csv' file. In the dataset, a higher score on the 'performance' variable indicates better skills in resolving disputes, while the 'training' variable is coded as '1' for the fitness course and '2' for the sensitivity course. 1. Specify the research hypothesis (2 pts) 2. Specify the null hypothesis (2 pts) 3. Calculate the mean and standard deviation of the performance scores for people in the fitness versus sensitivity course. 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) 1. 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) 2. Report your findings in APA format. (5 pts).
R Assignment 3-Dependent & Independent t-tests Name:_______________________ QUESTION 2: A researcher is examining whether children demonstrate a change in aggressiveness after viewing a violent television program. The instances of aggressive behavior for the same ten children before and after watching the program are documented in the data file named 'children.csv'. 1. Specify the research hypothesis (2 pts) 2. Specify the null hypothesis (2 pts) Calculate the mean and standard deviation of the aggression scores before and after the participants watched the violent TV show. Provide a brief description of the statistics. Please answer this question using R. To display your calculations, include the R script and output below. (6 points). Expected scripts: (2 points) Expected output: (2 points) Expected write-up: (2 points) 3. 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) 4. 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