LSD_Var: Computes the variance of the logarithmic series distribution

Description Usage Arguments Details Value Examples

View source: R/SimulateDiscreteDistributions.R

Description

Computes the variance of the logarithmic series distribution

Usage

1

Arguments

p

parameter of the logarithmic series distribution

Details

A random variable X has logarithmic series distribution with parameter 0<p<1 if

P(X=x)=(-1)/(\log(1-p))p^x/x, \mbox{ for } x=1,2,….

Value

Variance of the logarithmic series distribution

Examples

1
LSD_Var(0.5)

trawl documentation built on Aug. 16, 2018, 5:04 p.m.