Week 1 Lab: Introduction to R and RStudio
Graded Quiz • 30 min Quiz8 Questions Week 3
Re⥃askly Logo

Week 1 Lab: Introduction to R and RStudio

Graded Quiz • 30 min Quiz8 Questions Week 3
Practice More Quizzes:
Quiz
09 Questions Week 1
Quiz
06 Questions Week 4
Quiz
09 Questions Week 5
Quiz
05 Questions Week 6
Quiz
05 Questions Week 7
Quiz
07 Questions Week 8

Q:

How many variables are included in this data set (data set: arbuthnot)?

Q:

What command would you use to extract just the counts of girls born?

Q:

Which of the following best describes the number of girls baptised over the years included in this dataset?

Q:

How many variables are included in this data set (data set: present)?

Q:

Calculate the total number of births for each year and store these values in a new variable called total in the present dataset. Then, calculate the proportion of boys born each year and store these values in a new variable called prop_boys in the same dataset. Plot these values over time and based on the plot determine if the following statement is true or false: The proportion of boys born in the US has decreased over time.

Q:

Create a new variable called more_boys which contains the value of either TRUE if that year had more boys than girls, or FALSE if that year did not. Based on this variable which of the following statements is true?

Q:

Calculate the boy-to-girl ratio each year, and store these values in a new variable called prop_boy_girl in the present dataset. Plot these values over time. Which of the following best describes the trend?

Q:

In what year did we see the most total number of births in the U.S.?

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
Find Questions in This Page: "CTRL+F"