rob_estimate_binom: Computes a robust estimate of the probability of success of a...

Description Usage Arguments Value Examples

View source: R/estimators_for_one_parameter_distributions.R

Description

Computes a robust estimate of the probability of success of a binomial random variable Y with known n

Usage

1

Arguments

x

A vector of univariate observations

n

An positive integer

Value

The estimated parameter of the Poisson distribution

Examples

1
2
3
4
  n<-3
  x <- rbinom(20,n,0.1)
  rob_estimate_binom(x,n)
  mean(x)/n

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