select()
This graph type is used to visualize the distribution of a quantitative variable
Height
Quantitative
Individuals are randomly assigned to one of three groups and then asked to perform a task, which is then recorded and measured. Is this an observational or experimental study?
Experimental
What is the function used for a linear model in R
lm()
This function breaks a dataset into subsets based on a categorical variable so that future operations are applied to each category.
group_by()
This graph type is used to look at the interaction of two quantitative variables
Scatterplot
Gender
Categorical
Observational or Experimental: Survey responses of patrons of a coffee shop.
Observational
What is the primary difference between the equal and different slopes models?
Different slopes adds interactions between variables
This function allows you to modify and create columns
mutate()
This graph type is used to visualize the interaction of a categorical variable and a quantitative variable
Boxplot
Percentages
Quantitative
Polling individuals from certain neighborhoods within a city
Cluster
How do we encode categorical variables with more than 2 categories
Assign binary values to our X2, X3, etc
What dplyr verb was used to clean this dataset?
filter()
This ggplot layer removes the default grey background on a graph
theme_minimal()
Income (Levels)
Categorical
Students at Bucknell are randomly selected based on year and major
Stratified Sampling
What is the equation for the equal slopes model
y = B0 + B1X1 + B2X2 + E
count()
What two ggplot layers were added to create this graph?
geom_point() + facet_wrap()
survey ratings (1-5)
Categorical
A study is conducted where individuals of different age groups are given either a medication or a placebo. Would you feel comfortable concluding causal relationships?
No, because age isn't enough to capture diversity
Interpret B0
When sepal width = 0, Sepal Length is expected to be 6.526