psibinneg2: Computes the second entry of the score function of a...

Description Usage Arguments Value Examples

View source: R/estimator_for_negative_binomial.R

Description

Computes the second entry of the score function of a MI-estimator for negative binomial distribution.

Usage

1
psibinneg2(mu, alpha, x)

Arguments

mu

A possitive real number

alpha

A possitive real number

x

A vector of univariate observations

Value

A real number

Examples

1
2
3
4
  mu <- 2
  alpha <- 1
  x <- rnbinom(100,mu=mu,size=1/alpha)
  mean(robuni:::psibinneg2(mu,alpha,x))

mvaldora/robuni documentation built on Nov. 4, 2019, 8:32 p.m.