Vocab
Random
Codes
Changes
Time to Think
100

a part, share, or number considered in comparative relation to a whole

proportion

100

Who was the first president of the USA?

George Washington

100

rep()

repeats a word as many times as you ask

100

When you run the code 

food_clean<-rename(food, Carrots=orange, Peas = green)

What variable names are being changed?

orange & green

100

The generic function to calculate the mean is...mean(~variable, data=data set name) 


True or False

True

200

Any proportion or share in relation to a whole or a rate, number, or amount in each hundred

Percentage

200

What color of flame is the hottest?

Blue

200

c()

combines data sets.

200

What is the following line of code doing?


atu_cleaner <- mutate(atu_cleaner, gender = 

                 recode(gender, 

                         "01"="Male", 

                        "02" = "Female"))

Renaming "01" and "02" to "Male" and "Female"

200

Measures of central tendency could also be known as measure of...

Center

300

Define an event

An event is an outcome or defined collection of outcomes of a random experiment.

300

What is the longest river in the United States?

The Missouri River

300

randomly samples from a data set

sample()

300

What code do we use to change a data set?

mutate()

300

What kind of table will this code create...tally(~why | when , data=food)?

Two-way table

400

You are sampling _______ when you select an observation from a population and then return it to the population, after it has been recorded and before the next unit is drawn.

With replacement

400

What animal appears on the California Flag?

The grizzly bear

400

set.seed()

makes it so everyone gets the same results when they sample.

400

How many people does it take to change a light bulb?

1

400

 What is one of the codes needed to solve this questions?...A bowl is filled with 20 bags of M&M’s, 30 Snickers Bars, and 50 packages of Reese’s Peanut Butter Cups. Perform 500 simulations to answer the questions what is the probability that randomly selecting two items from the jar will result in two packages of Reese’s Peanut Butter Cups? 

A)chocolate_draw<-do(500)*sample(chocolate, size=2, replace=FALSE)

B)chocolate_draw<-do(5)*sample(chocolate, size=1, replace=FALSE) 

C)chocolate_draw<-do(500)*sample(chocolate, size=2, replace=TRUE) 

D)chocolate_draw<-do(50)*sample(chocolate, size=3, replace=FALSE) 


A)chocolate_draw<-do(500)*sample(chocolate, size=2, replace=FALSE)

500

Compound Probabilities

Compound probability is a mathematical term relating to the likeliness of two independent events occurring

500

How many items are in a "bakers dozen"?

13

500

How old is Mr. Ruiz?

31

500

What changes on Elsa when she sings Let It Go?

Her dress

500

The median of the lower half of the data. 25% of the observations fall below this point.

First quartile (Q1)