source command from the lab)I want to work on this one first! Here is ny finding
## [1] 4683 4457 4102 4590 4839 4820 4928 4605 4457 4952 4784 5332 5200 4910 4617
## [16] 3997 3919 3395 3536 3181 2746 2722 2840 2908 2959 3179 3349 3382 3289 3013
## [31] 2781 3247 4107 4803 4881 5681 4858 4319 5322 5560 5829 5719 6061 6120 5822
## [46] 5738 5717 5847 6203 6033 6041 6299 6533 6744 7158 7127 7246 7119 7214 7101
## [61] 7167 7302 7392 7316 7483 6647 6713 7229 7767 7626 7452 7061 7514 7656 7683
## [76] 5738 7779 7417 7687 7623 7380 7288
## [1] 82 3
## [1] "year" "boys" "girls"
## [1] 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643
## [16] 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658
## [31] 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673
## [46] 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688
## [61] 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703
## [76] 1704 1705 1706 1707 1708 1709 1710
plot(x = arbuthnot$year, y = arbuthnot$girls, type = "l", main = "Number of Girls through years", xlab = "Year", ylab = "Number of Girls")
Explanation. The number of girls baptized is increasing. However, it’s
decreasing between 1640 and 1660.
proportion_of_boys = arbuthnot$boys / (arbuthnot$boys + arbuthnot$girls)
plot(x = arbuthnot$year, y = proportion_of_boys, type = "l", main = "Proportions of Boys through years", xlab = "Year", ylab = "Proportion of boys")
Explanation. The proportion of boys is very stable throughout the years.
The values are between 0.505 and 0.535. The proportion is always greater
than 0.5 which means the number of boys baptized is always greater than
the number of girls baptized.
## [1] 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954
## [16] 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969
## [31] 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984
## [46] 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999
## [61] 2000 2001 2002
## [1] 63 3
## [1] "year" "boys" "girls"
Explanation. The numbers are not similar to Arbuthnot’s. The dimensions are different, the years and numbers are different, but they have similar column names.
## [1] 1.054817 1.053969 1.058429 1.056767 1.055757 1.055391 1.058698 1.055449
## [9] 1.053820 1.053760 1.053716 1.052078 1.050934 1.053399 1.051460 1.050742
## [17] 1.051286 1.050672 1.049374 1.049480 1.048873 1.050057 1.047948 1.052717
## [25] 1.047188 1.051137 1.048540 1.049964 1.053417 1.052997 1.054719 1.051845
## [33] 1.051271 1.052129 1.054797 1.053605 1.052538 1.052569 1.052657 1.051749
## [41] 1.052837 1.051615 1.050597 1.051976 1.050199 1.052061 1.050876 1.050000
## [49] 1.049991 1.049720 1.049676 1.045849 1.050017 1.049955 1.047877 1.048928
## [57] 1.047062 1.047643 1.047190 1.048791 1.047998 1.045686 1.047986
## year boyTogirlratio
## 1 1940 1.054817
## 2 1941 1.053969
## 3 1942 1.058429
## 4 1943 1.056767
## 5 1944 1.055757
## 6 1945 1.055391
## 7 1946 1.058698
## 8 1947 1.055449
## 9 1948 1.053820
## 10 1949 1.053760
## 11 1950 1.053716
## 12 1951 1.052078
## 13 1952 1.050934
## 14 1953 1.053399
## 15 1954 1.051460
## 16 1955 1.050742
## 17 1956 1.051286
## 18 1957 1.050672
## 19 1958 1.049374
## 20 1959 1.049480
## 21 1960 1.048873
## 22 1961 1.050057
## 23 1962 1.047948
## 24 1963 1.052717
## 25 1964 1.047188
## 26 1965 1.051137
## 27 1966 1.048540
## 28 1967 1.049964
## 29 1968 1.053417
## 30 1969 1.052997
## 31 1970 1.054719
## 32 1971 1.051845
## 33 1972 1.051271
## 34 1973 1.052129
## 35 1974 1.054797
## 36 1975 1.053605
## 37 1976 1.052538
## 38 1977 1.052569
## 39 1978 1.052657
## 40 1979 1.051749
## 41 1980 1.052837
## 42 1981 1.051615
## 43 1982 1.050597
## 44 1983 1.051976
## 45 1984 1.050199
## 46 1985 1.052061
## 47 1986 1.050876
## 48 1987 1.050000
## 49 1988 1.049991
## 50 1989 1.049720
## 51 1990 1.049676
## 52 1991 1.045849
## 53 1992 1.050017
## 54 1993 1.049955
## 55 1994 1.047877
## 56 1995 1.048928
## 57 1996 1.047062
## 58 1997 1.047643
## 59 1998 1.047190
## 60 1999 1.048791
## 61 2000 1.047998
## 62 2001 1.045686
## 63 2002 1.047986
Explanation. I see that the graph fluctuates a lot throught out the years but, the ratio is consistently over 1.0. Arbuthnot’s observation about boys being born in greater proportion than girls in the U.s. conforms his observation. There are more boys than girls due to the ratio being above 1.0