Abstract definitions of distributions
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)
prob |
probability as defined for |
size |
size parameter as defined for
|
mean |
mean parameter as defined for |
mu |
mean parameter as defined for |
sd |
standard deviation parameter as defined for |
shape1 |
shape parameter for |
shape2 |
shape parameter for |
lambda |
rate parameter as defined for |
theta |
overdispersion parameter for beta-binomial
(see |
meanlog |
as defined for |
sdlog |
as defined for |
title |
name of the distribution |
[parameters] |
input parameters for the distribution |
mean |
theoretical mean of the distribution |
median |
theoretical median of the distribution |
mode |
theoretical mode of the distribution |
variance |
theoretical variance of the distribution |
sd |
theoretical standard deviation of the distribution |
these definitions are tentative, subject to change as I figure this out better. Perhaps construct functions that return functions? Strip down results? Do more automatically?
Ben Bolker
sbinom(prob=0.2,size=10) snbinom(mu=2,size=1.2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.