Question

Suppose you want to test whether or not boys like the T.V. show Jersey Shore better...

Suppose you want to test whether or not boys like the T.V. show Jersey Shore better than girls. You ask 10 boys and 10 girls to rate the T.V. show on a scale from 1 to 7, where 7 is highly enjoyable and 1 is not enjoyable. For the boys, you observe the values: 5 7 6 3 1 1 2 4 5 6 For the girls, you observe the values: 1 3 7 7 6 4 3 5 7 4 #1.3) Look at a histogram for both groups. #1.4) Use the appropriate t-test to test the null hypothesis that mean score for boys=girls #1.5) Do you reject or fail to reject the null? Solve using R.

Homework Answers

Answer #1

R code:

x <- c(5,7,6,3,1,1,2,4,5,6)
y<- c(1,3,7,7,6,4,3,5,7,4)
par(mfrow = c(1,2))
hist(x,main = "For boys")
hist(y,main = "For girls")

t.test(x,y)

> t.test(x,y)

Welch Two Sample t-test

data: x and y

t = -0.742, df = 17.957, p-value

= 0.4677

alternative hypothesis: true difference in means is not equal to 0

95 percent confidence interval:

-2.682343 1.282343

sample estimates:

mean of x mean of y

4.0 4.7

Here p-value is greater than 0.05, so we can't reject the null hypothesis at 5% level of confidence.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
A doctor claims that teenage boys get more screen time as teenage girls. A study asked...
A doctor claims that teenage boys get more screen time as teenage girls. A study asked 15 teenage boys, and 18 teenage girls, how many hours of screen time they get per day, on average. The results are below. boys' screen time girls' screen time 5 3 4 4 6 5 5 4 4 3 5 4 6 3 3 2 3 1 5 4 4 3 6 2 5 3 6 5 4 4 5 4 3 Sample Mean:...
We would like to investigate whether that is a difference in variance in age between the...
We would like to investigate whether that is a difference in variance in age between the boys soccer team and the girls soccer team. I have collected a sample of 10 boys and 10 girls and input the data in excel. The following are the descriptive statistics. boys      girls                 Mean   8.6   Mean   8.3 Standard Error   0.4   Standard Error   0.2134375 Median   9   Median   8 Mode   9   Mode   8 Standard Deviation   1.264911064   Standard Deviation   0.6749486 Sample Variance  ...
The CDC publishes charts on Body Mass Index (BMI) for boys and girls of different ages....
The CDC publishes charts on Body Mass Index (BMI) for boys and girls of different ages. Based on the chart for girls, the mean BMI for 6-year-old girls is listed as 15.8 kg/m2. The data from which the CDC charts were developed is old and there is concern that the mean BMI for 6 year olds girls has increased. The BMI’s from a current random sample of 50 6-year-old girls is attached in a list on the next page. Use...
You have been hired to test whether the demand for a product that your client produces...
You have been hired to test whether the demand for a product that your client produces varies between two demographic markets – the Urban and Rural markets. As such, in each market, you run a short survey that gauges customers demand for your product and assigns them to one of three categories – (i) High (ii) Medium or (iii) Low. You survey 70 people in the “Urban” market and find that their demand falls into the following “buckets” High                32...
1. Forum Description Describe a test of significance on the mean of a population by stating...
1. Forum Description Describe a test of significance on the mean of a population by stating 1. a population, 2. a quantitative variable on that population, 3. the population standard deviation of that variable (with units), 4. a null hypothesis, 5. an alternative hypothesis, 6. an α-level, 7. a sample size, and 8. a sample mean of that variable (with units). Find 9. the one-sample z-statistic and either 10. reject or fail to reject the null hypothesis. What does this...
Suppose you want to determine whether the average values for populations 1 and 2 are different,...
Suppose you want to determine whether the average values for populations 1 and 2 are different, and you randomly gather the following data. sample 1 2, 11, 7, 8, 2, 5, 9, 1, 9, 1, 5, 8, 11, 2, 5, 5, 6, 9 sample 2 10, 12, 8, 12, 9, 12, 9, 7, 9, 10, 11, 10, 11, 10, 7, 8, 10, 10 Test your conjecture, using a probability of committing a Type I error of .01. Assume the population...
1. A researcher wants to test whether color can influence recall of words in a list....
1. A researcher wants to test whether color can influence recall of words in a list. To test this, the researcher displays 20 words on a computer screen. Ten words are in color, and 10 words are in black. All words are presented on a white background. Participants are given 1 minute to view the list, and then the list is taken away and participants are allowed 1 additional minute to write down as many words as they can recall....
1. Suppose you want to determine whether women and men experience anxiety differently in response to...
1. Suppose you want to determine whether women and men experience anxiety differently in response to the dissolution of romantic relationships. You administer Zung’s self-rating anxiety scale to a random sample of 20 men and 20 women who just went through a break-up.             M                  s                    n Women:                       35.5        14.66                20 Men:                            49.3     18.50                20 (s represents standard deviation. In order to calculate t value, you need to transfer it back to SS.)...
Jessika, Jenna and Lauren conducted a "tea test" comparing expensive loose leaf tea to some cheap...
Jessika, Jenna and Lauren conducted a "tea test" comparing expensive loose leaf tea to some cheap dollar store tea. Ten people scored the loose leaf tea: 6, 1, 6, 4, 1, 6, 8, 5, 3, 7. Those same 10 people scored the cheap tea: 8, 8, 4, 6, 4, 8, 4, 3, 7, 3. Conduct a t-test to determine whether there is a statistically significant difference between the two teas. Use the .05 significance level. What is your decision regarding...
The data (ratings of perceived sleepiness based on a 0-15 scale, where low numbers indicated low...
The data (ratings of perceived sleepiness based on a 0-15 scale, where low numbers indicated low levels of sleepiness and vice versa) for the experiment outlined in #4, above, appear below: Condition 1: 1 7 3 2 4 2 6 5 4 5 Condition 2: 0 1 3 4 0 2 0 3 0 4 Calculate the appropriate test for these results (assume a = .05). Be sure to state the calculated and critical values of the statistic for this...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT