library(openintro)
## Loading required package: airports
## Loading required package: cherryblossom
## Loading required package: usdata
library(BSDA)
## Warning: package 'BSDA' was built under R version 4.0.3
## Loading required package: lattice
##
## Attaching package: 'lattice'
## The following objects are masked from 'package:openintro':
##
## ethanol, lsegments
##
## Attaching package: 'BSDA'
## The following object is masked from 'package:datasets':
##
## Orange
tsum.test(41.75, 15.6365, 8, 32.429, 22.832, 7)
##
## Welch Modified Two-Sample t-Test
##
## data: Summarized x and y
## t = 0.90949, df = 10.43, p-value = 0.3836
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
## -13.38746 32.02946
## sample estimates:
## mean of x mean of y
## 41.750 32.429