psibinneg1: Computes the first entry of the score function of an...

Description Usage Arguments Value Examples

View source: R/estimator_for_negative_binomial.R

Description

Computes the first entry of the score function of an MI-estimator for negative binomial distribution.

Usage

1
psibinneg1(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(robustr:::psibinneg1(mu,alpha,x))

mvaldora/robustr documentation built on Nov. 4, 2019, 8:33 p.m.