Correct Answers.
Subsample<-filter(raw, wage>0 & wage > 100) - Answer Which line of R code creates a data set
called subsample from a data set called raw where the variable wage is above 0 and wage is
below 100
Acquisition - Answer What is the first stage of data analysis
Transformation - Answer What is the second stage of data analysis
Estimation - Answer What is the third stage of data analysis
-the inputs used for the original analysis are readily available
-the results(outputs) of the original analysis can be generated using the same inputs - Answer
What is the required criteria for reproducible data analysis
confirmation bias - Answer Consider a researcher who is interested in the effect of educational
attainment on someone's wage. If an analysis confirms or researchers prior beliefs, they may
not carefully consider flaws in how the data was collected, or what assumptions they made
along the way. What is the situation example of?
Filter - Answer What R function from tidyverse (dplyr) is used to subset observations based on
their values
Mutate - Answer What R function from tidyverse (dpylr) is used to create new variables from
existing variables
Select - Answer What R function from tidyverse (dpylr) is used to choose a subset of variables
As one variable increases we expect others to increase - Answer What does it mean for two
variables to be positively correlated
As one variable increases we expect the other to decrease - Answer What does it mean for