LSD_Var: Computes the variance of the logarithmic series distribution

Description Usage Arguments Details Value

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


trawl documentation built on Feb. 23, 2021, 1:06 a.m.