Question

> x=c(5,3,1,6,4,3,2,4,7) > y=c(7,4,1,8,5,2,4,7,9) > mean(x) [1] 3.888889 > mean(y) [1] 5.222222 > sd(x) [1] 1.900292...

> x=c(5,3,1,6,4,3,2,4,7)

> y=c(7,4,1,8,5,2,4,7,9)

> mean(x)

[1] 3.888889

> mean(y)

[1] 5.222222

> sd(x)

[1] 1.900292

> sd(y)

[1] 2.728451

> t.test(x,y,var.equal=T)

   Two Sample t-test

data: x and y

t = -1.203, df = 16, p-value = 0.2465

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

95 percent confidence interval:

-3.682888 1.016221

sample estimates:

mean of x mean of y

3.888889 5.222222

> t.test(x,y,var.equal=F)

   Welch Two Sample t-test

data: x and y

t = -1.203, df = 14.283, p-value = 0.2485

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

95 percent confidence interval:

-3.706056 1.039389

sample estimates:

mean of x mean of y

3.888889 5.222222

>


What conclusion can be made regarding the first t-test in terms of statistical significance?

Does inequality of variance change that conclusion?

Modify the code for the first t-test to test the alternative hypothesis that ux<uy

Homework Answers

Answer #1

What conclusion can be made regarding the first t-test in terms of statistical significance?

since p-value = 0.2465 > 0.05

we fail to reject the null hypothesis , , we conclude that there is not sufficient evidence that there is difference between x and y.

Does inequality of variance change that conclusion?

No, because still p-value = 0.2485 > 0.05

Modify the code for the first t-test to test the alternative hypothesis that ux<uy

t.test(x,y ,alternative="less", var.equal=TRUE)

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
> x=c(5,3,1,6,4,3,2,6,7) > y=c(7,4,1,8,5,2,4,7,9) > mean(x) [1] 4.111111 > mean(y) [1] 5.222222 > cor(x,y) # +...
> x=c(5,3,1,6,4,3,2,6,7) > y=c(7,4,1,8,5,2,4,7,9) > mean(x) [1] 4.111111 > mean(y) [1] 5.222222 > cor(x,y) # + indicates consistency, more power [1] 0.943973 > t.test (x,y,paired=T) #sig because of + correlation    Paired t-test data: x and y t = -3.1623, df = 8, p-value = 0.01335 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -1.9213584 -0.3008638 sample estimates: mean of the differences              -1.111111 > What conclusions can be made regarding statistical significance? Would...
I have an original data set and 4 sets of transformed data to which I applied...
I have an original data set and 4 sets of transformed data to which I applied a two-sample pooled variance t-procedure in R. I am uncertain about to how to interpret the confidence intervals of the transformed data since when I back-transform the endpoints by undoing the original operation, I get values that don't seem anywhere near correct. Each of the transformations that was applied has been added as a suffix to the vector name containing the transformed data (in...
Below is the output for monthly salaries for recent business interns by region, Los Angles (LA)...
Below is the output for monthly salaries for recent business interns by region, Los Angles (LA) and San Francisco (SF). t.test(Amount ~ Location, data = money) ## ## Welch Two Sample t-test ## ## data: Amount by Location ## t = -1.25, df = 223.89, p-value = 0.0789 ## alternative hypothesis: true difference in means is not equal to 0 ## 95 percent confidence interval: ## -4.09 4.09 ## sample estimates: ## mean in group LA mean in group SF...
Two-Sample T Tests for B by C C           N          Mean       SD         SE 1   &nb
Two-Sample T Tests for B by C C           N          Mean       SD         SE 1           25         1309.2   344.28   68.857 2           25         1060.6   138.63   27.726 Difference                      248.56   262.44   74.229 T-Tests for Mean Difference Null Hypothesis: difference = 0 Alternative Hyp: difference ≠ 0                                                                         Lower    Upper Method Variances           DF          T             P       95% C.I. 95% C.I. Pooled   Equal    48        3.35      0.0016   99.312 397.81 Satterthwaite       Unequal 31.6      3.35      0.0021   97.282 399.84 Homogeneity of Variances   ...
An article reports that a 95% confidence interval for the difference of two means ux -...
An article reports that a 95% confidence interval for the difference of two means ux - uy is (-5, 4.5). What can you conclude about the two sided test of Ho: ux - uy = 0 vs Ha : ux - uy (does not equal) 0?
Hypothesis testing (one sample t test): 1) H0: Mean = 7.5 HA: Mean not equal to...
Hypothesis testing (one sample t test): 1) H0: Mean = 7.5 HA: Mean not equal to 7.5 X Bar = 8.5, SD = 1.2. n = 670, confidence interval: 95% 2) H0: Mean = 125 HA: Mean no equal to 125 X Bar = 135, SD = 15, n = 500, confidence interval: 95%
Company A claims that one of their drugs takes effect quicker than their competitor, Company B....
Company A claims that one of their drugs takes effect quicker than their competitor, Company B. To verify this claim, twenty volunteers were randomly assigned to take a drug from either Companies A or B. The following table shows the time (in minutes) the drug took each of the 20 volunteers to feel the effects: Company A: 7.0 10.7 5.6 8.3 12.1 12.6 9.3 8.2 3.1 10.5 Company B 9.1 13.2 8.7 8.1 4.2 9.5 10.7 15.3 12.1 14.0 (a)...
Using the table below, would you please check my answers. The answer for the p-value is...
Using the table below, would you please check my answers. The answer for the p-value is supposed to be 0.0000; however, I keep getting 0.9999999977 as the answer. How do you find the correct p-value? Where am I going wrong in my calculation? Regardless of your answer to part (a) using R, run a t-test for the difference between the two treatment means at the α = 5% level of significance. Specifically, we are interested in knowing if there exists...
JUDGING OFF THE FOLLOWING QUESTION...I DONT THINK IT IS THE SAME GROUP OF PEOPLE TWICE. THE...
JUDGING OFF THE FOLLOWING QUESTION...I DONT THINK IT IS THE SAME GROUP OF PEOPLE TWICE. THE MAIN GROUP IS SPLIT INTO TWO - SO ARE WE SURE IT WOULD BE PAIRED? In the main study, researchers collected 80 adults. Adults were randomly divided into 2 groups, 40 each. First group was given cheerios for a month and the second group was given toasted oats for a month. Average ldl cholesterol were 4.64 mmol/l in cheerios group and 4.00 mmol/l in...
Suppose we are comparing two populations to see if they have the same mean. A sample...
Suppose we are comparing two populations to see if they have the same mean. A sample from each population is taken and the difference in means was 12 Suppose a test of the hypothesis that the difference is zero has a p-value of 0.0156. Which of the following are true statements (circle all that are true): a The two-sided 99% confidence interval includes zero. b The one-sided 99% confidence interval includes zero. c The hypothesis that they are equal would...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT