Question
Problem 1: USE RSTUDIO present code and results The dataset textmessages.csv contains variables measured from a survey conducted of Harvard students enrolled in a recent
Problem 1: USE RSTUDIO present code and results
The dataset "textmessages.csv" contains variables measured from a survey conducted of Harvard students enrolled in a recent Statistics class:
- female: an indicator variable which is 1 for females and 0 for males;
- underclassman: an indicator variable which takes on the value 1 for a freshman or a sophomore, or 0 for a junior, senior, or a grad student; and
- texts: a variable that measures the number of text messages the respondent says he or she spends in a typical day.
A researcher wants to investigate whether male students send less text messages than female students.All the below computations must be conducted in R-studio. T
Report the mean of the number of text messages sent by male students and by female students.
1. From Problem 1:DefineGroup 1 as Males,Group 2 as Females(and use Group1 first, and Group2 next for the hypotheses, make sure you follow this order).
- Perform a test to compare the variances in text messages between females and males. Report the p-value that you obtained
2. From Problem 1: What is your conclusion about the test of equal variances (Reject/not reject)
3. From Problem 1:Perform an appropriate t-test to address the investigator's scientific question (use the data in their original scale). Is this an (upper/lower/two) tail test
4. From Problem 1:Report the p-value
5. From Problem 1: What is your conclusion about the test used to compare2 population means (Reject/not reject)
https://drive.google.com/file/d/12t-Mdz9X3snBfAntFqMen5ZLQhpH3Q94/view?usp=sharing
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started