Learn R Programming

trawl (version 0.2.2)

LSD_Mean: Computes the mean of the logarithmic series distribution

Description

Computes the mean of the logarithmic series distribution

Usage

LSD_Mean(p)

Arguments

p

parameter of the logarithmic series distribution

Value

Mean 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,\dots.$$