Functions returning values for summary statistics (mean, median, etc.) of distributions
sbeta(shape1, shape2)
sbetabinom(size, prob, theta)
sbinom(size, prob)
snbinom(size, prob, mu)
snorm(mean, sd)
spois(lambda)
slnorm(meanlog, sdlog)
name of the distribution
input parameters for the distribution
theoretical mean of the distribution
theoretical median of the distribution
theoretical mode of the distribution
theoretical variance of the distribution
theoretical standard deviation of the distribution
probability as defined for dbinom
,
dnbinom
, or beta-binomial distribution
(dbetabinom
in the emdbook
package)
size parameter as defined for
dbinom
or dbetabinom
in the emdbook
package, or size/overdispersion parameter
as in dnbinom
mean parameter as defined for dnorm
mean parameter as defined for dnbinom
standard deviation parameter as defined for dnorm
shape parameter for dbeta
shape parameter for dbeta
rate parameter as defined for dpois
overdispersion parameter for beta-binomial
(see dbetabinom
in the emdbook
package)
as defined for dlnorm
as defined for dlnorm
Ben Bolker
sbinom(prob=0.2,size=10)
snbinom(mu=2,size=1.2)
Run the code above in your browser using DataLab