Exercise 2:Is there an apparent trend in the number of girls
baptized over the years? How would you describe it? (3 pts)
General upward trend in the number of girls baptized per year,
although experiencing a notable dip between 1650 and 1660.
plot(x = arbuthnot$year, y = arbuthnot$girls)
Exercise 3: Now, make a plot of the proportion of boys over time.
What do you see?
The proportion is consistently over 0.5 having more boys baptized
compared to females, although in a slight downward trend.
plot(x = arbuthnot$year, y = arbuthnot$boys/(arbuthnot$boys + arbuthnot$girls))
source("http://www.openintro.org/stat/data/present.R")
On Your Own
1:- What years are included in this data set? (4 pts)
In what year did we see the most total number of births in the U.S.?
(10 pts)
The data presented in the present data set far exceed that of
Arbuthnot’s, maintaining much higher data accounts across all years.
2: What are the dimensions of the data frame? (4 pts)
The dimensions of the data frame are 3x63 with 3 columns and 63 rows
of data.
3:What are the variable or column names? (4 pts)
The variables are named identical to Arbuhtnot’s with indicators for
boys, girls, and years present in the data set.
4: How do these counts compare to Arbuthnot’s? Are they on a similar
scale? (4 pts)
The data in the present day data set is significantly greater and the
data presented in Arbuhtnot’s data set.
5:4: Make a plot that displays the boy-to-girl ratio for every year
in the data set. (3 pts) What do you see? (3 pts) Does Arbuthnot’s
observation about boys being born in greater proportion than girls hold
up in the U.S.? (3 pts) Include the plot in your response. (4 pts)
The proportion of boys being baptized is still consistently over 0.5
altough in a far more visible downward trend than in Arbuthnot’s data
set. The overall observation of Arbuhtnot’s data of having a greater
proportion of boys is shown in the present day and in the US.
plot(x = present$year, y = present$boys/(present$boys + present$girls))
6: In what year did we see the most total number of births in the
U.S.? (10 pts)
The highest amounts of total births in the US appears to be in 1968
given the scatter plot.
plot(x = present$year, y = (present$boys + present$girls))