반응형
1. 이산확률분포
분포이름 | 확률질량함수 | 누적분포함수 | 누적분포함수의 역함수 | 임의추출 |
이항분포 | dbinom(x, size, prob) | pinom(q, size, prob) | qbinom(p, size, prob) | rbinom(n, size, prob) |
기하분포 | dgeom(x, prob) | pgeom(q, prob) | qgeom(p, prob) | rgeom(n, prob) |
음이항분포 | dnbinom(x, size, prob, mu) | pnbinom(q, size, prob, mu) | qnbinom(p, size, prob, mu) | rnbinom(n, size, prob, mu) |
푸아송분포 | dpois(x, lambda) | ppois(q, lambda) | qpois(p, lambda) | rpois(n, lambda) |
초기하분포 | dhyper(x, m, n, k) | phyper(q, m, n, k) | qhyper(p, m, n, k) | rhyper(nn, m, n, k) |
다항분포 | dmultinom(x, size = NULL, prob) | - | - | rmultinom(n, size, prob) |
2. 연속확률분포
분포이름 | 확률밀도함수 | 누적분포함수 | 누적분포함수의 역함수 | 임의추출 |
균등분포 | dunif(x, min = 0, max = 1) | punif(q, min = 0, max = 1) | qunif(p, min = 0, max = 1) | runif(n, min = 0, max = 1) |
정규분포 | dnorm(x, mean = 0, sd = 1) | pnorm(q, mean = 0, sd = 1) | qnorm(p, mean = 0, sd = 1) | rnorm(n, mean = 0, sd = 1) |
t분포 | dt(x, df) | pt(q, df) | qt(p, df) | rt(n, df) |
f분포 | df(x, df1, df2) | pf(q, df1, df2) | qf(p, df1, df2) | rf(n, df1, df2) |
카이제곱분포 | dchisq(x, df) | pchisq(q, df) | qchisq(p, df) | rchisq(n, df) |
감마분포 | dgamma(x, shape, scale = 1) | pgamma(q, shape, scale = 1) | qgamma(p, shape, scale = 1) | rgamma(n, shape, scale = 1) |
베타분포 | dbeta(x, shape1, shape2) | pbeta(q, shape1, shape2) | qbeta(p, shape1, shape2) | rbeta(n, shape1, shape2) |
와이블분포 | dweibull(x, shape, scale = 1) | pweibull(q, shape, scale = 1) | qweibull(p, shape, scale = 1) | rweibull(n, shape, scale = 1) |
코지분포 | dcauchy(x, location = 0, scale = 1) | pcauchy(q, location = 0, scale = 1) | qcauchy(p, location = 0, scale = 1) | rcauchy(n, location = 0, scale = 1) |
로그정규분포 | dlnorm(x, meanlog = 0, sdlog = 1) | plnorm(q, meanlog = 0, sdlog = 1) | qlnorm(p, meanlog = 0, sdlog = 1) | rlnorm(n, meanlog = 0, sdlog = 1) |
로지스틱분포 | dlogis(x, location = 0, scale = 1) | plogis(q, location = 0, scale = 1) | qlogis(p, location = 0, scale = 1) | rlogis(n, location = 0, scale = 1) |
반응형
댓글