Dr Axel Barlow
email: axel.barlow@ntu.ac.uk
## V1
## 1 GATCACAGGTCTATCACCCTATTAACCACTCACGGGAGCTCTCCATGCATTTGGTATTTTCGTCTGGGGGGTGTGCACGCGA
## 2 TAGCATTGCGAGACGCTGGAGCCGGAGCACCCTATGTCGCAGTATCTGTCTTTGATTCCTGCCCCATCCCATTATTTATCGC
## 3 ACCTACGTTCAATATTACAGGCGAACATACTTACTAAAGTGTGTTAATTAATTAATGCTTGTAGGACATAATAATAACAATT
## 4 GAATGTCTGCACAGCCGCTTTCCACACAGACATCATAACAAAAAATTTCCACCAAACCCCCCCTCCCCCGCTTCTGGCCACA
## 5 GCACTTAAACACATCTCTGCCAAACCCCAAAAACAAAGAACCCTAACACCAGCCTAACCAGATTTCAAATTTTATCTTTTGG
## 6 CGGTATGCACTTTTAACAGTCACCCCCCAACTAACACATTATTTTCCCCTCCCACTCCCATACTACTAATCTCATCAATACA
## 7 ACCCCCGCCCATCCTACCCAGCACACACACACCGCTGCTAACCCCATACCCCGAACCAACCAAACCCCAAAGACACCCCCCA
## 8 CAGTTTATGTAGCTTACCTCCTCAAAGCAATACACTGAAAATGTTTAGACGGGCTCACATCACCCCATAAACAAATAGGTTT
## 9 GGTCCTAGCCTTTCTATTAGCTCTTAGTAAGATTACACATGCAAGCATCCCCGTTCCAGTGAGTTCACCCTCTAAATCACCA
## 10 CGATCAAAAGGGACAAGCATCAAGCACGCAGCAATGCAGCTCAAAACGCTTAGCCTAGCCACACCCCCACGGGAAACAGCAG
## 11 TGATTAACCTTTAGCAATAAACGAAAGTTTAACTAAGCTATACTAACCCCAGGGTTGGTCAATTTCGTGCCAGCCACCGCGG
## 12 TCACACGATTAACCCAAGTCAATAGAAGCCGGCGTAAAGAGTGTTTTAGATCACCCCCTCCCCAATAAAGCTAAAACTCACC
## 13 TGAGTTGTAAAAAACTCCAGTTGACACAAAATAGACTACGAAAGTGGCTTTAACATATCTGAACACACAATAGCTAAGACCC
Barchart
Histogram
## height
## 1 1.86
## 2 1.76
## 3 1.75
## 4 1.75
## 5 1.87
## 6 1.84
## 7 1.66
## 8 1.66
## 9 1.80
## 10 1.73
## 11 1.79
## 12 1.74
## 13 1.70
## start finish counts
## 1 1.40 1.45 3
## 2 1.45 1.50 3
## 3 1.50 1.55 44
## 4 1.55 1.60 122
## 5 1.60 1.65 163
## 6 1.65 1.70 171
## 7 1.70 1.75 149
## 8 1.75 1.80 146
## 9 1.80 1.85 76
## 10 1.85 1.90 13
## 11 1.90 1.95 6
## 12 1.95 2.00 1
## 13 2.00 2.05 1
mean
median
mode
1 2 3 3 4 4 4 5 5 5 5 6 6 6 7 7 8 9 10
1+2+3+3+4+4+4+5+5+5+5+6+6+6+7+7+8+9+10 = 100
100 / 19 = 5.263158
5
5
mean = 1.651378
median = 1.6475637
800 year old cat (Carl Vivian, Uni Leicester)
mean = 45.8054171
median = 41
mode = 31
Human | Height | Mean | Difference | Squared |
---|---|---|---|---|
1 | 160 | 165.33 | -5.33 | 28.44 |
2 | 166 | 165.33 | 0.67 | 0.44 |
3 | 168 | 165.33 | 2.67 | 7.11 |
4 | 161 | 165.33 | -4.33 | 18.78 |
5 | 167 | 165.33 | 1.67 | 2.78 |
6 | 170 | 165.33 | 4.67 | 21.78 |
TOTAL | 79.33 |
heights <- c(160, 166, 168, 161, 167, 170)
mean(heights)
## [1] 165.3333
sd(heights)
## [1] 3.983298
Analysis of two variables, and hypothesis testing