Chapter 27 The t test

## [1] 3083.732
## [1] 548.0283
## [1] 3515.222
## [1] 375.5858

27.1 One sample t test

## [1] 4730.077
## [1] 807.464
## [1] 223.9502
## [1] 3.564286e-06
## 
##  One Sample t-test
## 
## data:  bb
## t = 7.5109, df = 12, p-value = 3.564e-06
## alternative hypothesis: true mean is greater than 3048
## 95 percent confidence interval:
##  4330.933      Inf
## sample estimates:
## mean of x 
##  4730.077

27.2 Exploring T-tests

Ho: the true mean of babies born to mothers carrying the BigBaby “G” SNP is 3048 (the average birthweight of all children)

Ha: the true mean of babies born to mothers carrying the BigBaby “G” SNP is greater than 3048

## [1] 2695.625

## [1] 3106.719

## [1] 243.4492
## [1] 245.0731