Lesson 4 Flashcards

1
Q

Finding the mean

A

mean(c(x, y, z))

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does na.rm=TRUE does when working out the mean?

A

It ignores the character values within a variable and just calculates the acceptable values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a Binomial distribution?

A

A distribution where there are events that can only have a pass/fail outcome e.g. coin toss

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Calculating the probability of a binomial distribution

A

pbinom(q, size, prob)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Calculating the distribution of a repeated binomial experiment

A

rbinom(n, size, prob)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Creating a histogram

A

hist(X)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly