R Data Structures
Statistical Tests
Probabilities
Data Visualization
Tidyverse
100

vec = c(1,2,3)
vec = vec + 1

print(vec)


What is 2, 3, 4?

100

My Alpha value is 0.05. I run a statistical test that gives me back 0.11. Do I reject my null hypothesis?

No. 

100
P(A or B), A and B are mutually exclusive. What probability rule should I do?

Addition Rule

100

What function is used to create a scatter plot?

geom_point()

100

I want to create a new column using altered information from another. Which tidyverse function should I use?

What is mutate()?

200

$ is used for what data structure in standard library R?

List

200

1 categorical variable, with two outcomes. What hypothesis test is best?

What is the binomial test?
200

rule for calculating likelihood of 3 consecutive events?

P(1) * P(2) * P(3)
200

What is the first layer of ggplot()?

geometries

200

Is a two dimensional map of data corresponding to a location on a physical grid tidy data?

No

300

What is the equivalent of a Tibble in standard Library R?

A DataFrame

300

What does a p-value represent?

The probability of receiving a value as extreme or more by pure chance.

300

What is the difference between independence and mutual exclusivity?

independent events can happen together, mutually exclusive ones can't

300

Make a bar plot color in the bar respective to a certain variable

fill = variable

300

What data type is a tibble column?

A vector

400
Change the level labels in a factor?

fct_recode()

400

What is the difference between dbinom and binom.test?

first one returns a vector of probabilities for each # of successes, second calculates the p value directly.
400

What is the formula for Baye's Theorem?

P(A|B) = P(B|A) * P(A) / P(B)

400

Two examples of how to change the x axis label

xlab() or labs(x=__)

400

summarize() function that we can use to find the row counts per grouped tibble

n()

500

which(vec == condition) returns a vector of ...

integers
500

chisq.test(conting_table) What is this missing?

What is "correct = FALSE"?
500

difference between multiplication and general multiplication rule?

independence of events.

500

What symbol must come before the column name when using facet_wrap()?

~

500

What data type is a tibble?

A list

M
e
n
u