0% found this document useful (0 votes)
22 views2 pages

T-Test Analysis Results Summary

The document presents results from three t-tests comparing different datasets. The first test shows a p-value of 0.08848, suggesting no significant difference in means between groups a and b. The second test indicates a p-value of 0.3002, while the paired test shows a significant result with a p-value of 5.202e-05, indicating a significant decrease in the 'after' group compared to the 'before' group.

Uploaded by

gokul kumar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views2 pages

T-Test Analysis Results Summary

The document presents results from three t-tests comparing different datasets. The first test shows a p-value of 0.08848, suggesting no significant difference in means between groups a and b. The second test indicates a p-value of 0.3002, while the paired test shows a significant result with a p-value of 5.202e-05, indicating a significant decrease in the 'after' group compared to the 'before' group.

Uploaded by

gokul kumar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

GOKUL.

K 22BBA0110
#Q1
a=c(175,168,168,190,156,181,182,175,174,179)
b=c(120,180,125,188,130,190,110,185,112,188)
[Link](a,b,[Link]=FALSE,paired=FALSE)

##
## Welch Two Sample t-test
##
## data: a and b
## t = 1.8827, df = 10.224, p-value = 0.08848
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
## -3.95955 47.95955
## sample estimates:
## mean of x mean of y
## 174.8 152.8

#Q2
x=c(15,10,13,7,9,8,21,9,14,8)
y=c(15,14,12,8,14,7,16,10,15,12)
[Link](x,y,alter="less",[Link]=TRUE)

##
## Two Sample t-test
##
## data: x and y
## t = -0.53311, df = 18, p-value = 0.3002
## alternative hypothesis: true difference in means is less than 0
## 95 percent confidence interval:
## -Inf 2.027436
## sample estimates:
## mean of x mean of y
## 11.4 12.3

#Q3

before=c(237,289,257,228,303,275,262,304,244,233)
after=c(194,240,230,186,265,222,242,281,240,212)
[Link](before,after,paired=TRUE,alternative="greater",mu=0)

##
## Paired t-test
##
## data: before and after
## t = 6.5594, df = 9, p-value = 5.202e-05

1
## alternative hypothesis: true mean difference is greater than 0
## 95 percent confidence interval:
## 23.05711 Inf
## sample estimates:
## mean difference
## 32

You might also like