R commands Flashcards

1
Q

pnorm

A

Finds the probability of values less than or equal to (or greater than or equal to) the value q (w/ either lower.tail=TRUE or lower.tail = FALSE), for a normal distribution with mean and standard deviation specified

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

qnorm

A

Finds the value below (or above) which an area of probability p occurs, in a normal distribution with mean and standard deviation as specified

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

dbinom

A

dbinom calculates the probability of a specific outcome/number of successes

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

pbinom

A

pbinom adds the probabilities of all outcomes/no. of successes less than or equal to a certain value, to calculate a cumulative result

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

pt

A

Basically just t-statistic entered into R to find corresponding p-value, used lower.tail = TRUE for negative t-statistic and lower.tail = FALSE for positive t-statistic

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

qt

A

Finds t-value

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

pchisq

A

Finds p-value for data with chi-squared distribution

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

qchisq

A

Finds a chi-squared critical value

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

pf

A

Gives the distribution function

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

qf

A

Gives the quantile function

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