Distributions Flashcards

1
Q

rnorm(n, mean=0, sd=1)

A

Gaussian (normal)

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

rexp(n, rate=1)

A

exponential

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

rgamma(n, shape, scale=1)

A

gamma

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

rpois(n, lambda)

A

Poisson

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

rweibull(n, shape, scale=1)

A

Weibull

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

rcauchy(n, location=0, scale=1)

A

Cauchy

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

rbeta(n, shape1, shape2)

A

beta

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

rt(n, df)

A

‘Student’ (t)

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

rf(n, df1, df2)

A

Fisher–Snedecor (F ) (χ2 )

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

rchisq(n, df)

A

Pearson

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

rbinom(n, size, prob)

A

binomial

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

rgeom(n, prob)

A

geometric

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

rhyper(nn, m, n, k)

A

hypergeometric

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

rlogis(n, location=0, scale=1)

A

logistic

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

rlnorm(n, meanlog=0, sdlog=1)

A

lognormal

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

rnbinom(n, size, prob)

A

negative binomial

17
Q

runif(n, min=0, max=1)

A

uniform

18
Q

rwilcox(nn, m, n)

A

Wilcoxon’s statistics

19
Q

r p d q

A

All these functions can be used by replacing the letter r with d, p or q to get, respectively, the probability density (dfunc(x, …)), the cumulative probability density (pfunc(x, …)), and the value of quantile (qfunc(p, …), with 0 < p < 1).