R/momint.R

Defines functions momint

Documented in momint

#'A object structure of class momint
#'@keywords internal
#'@param dist The parent population distribution
#'@param pop.par The value of the population parameters
#'@param FUN The statistic as a function of random data
#'@param conf.coeff The confidence coefficient of the sampling interval
#'@param n sample size
#'@param c the interval
#'@return It doesn't return anything directly, it is used to print the output of another function
#'@export
momint=function(dist,pop.par,FUN,n,conf.coeff,c)
{
  structure(
  list(
    Method="Sampling Interval for Statistic",
    Population.Distrbution = dist,
    Parameter = pop.par,
    Statistic = FUN,
    Sample.Size=n,
    Confidence.Coefficient = conf.coeff,
    Sampling.Interval = c
  ),
  class="momint"
)
}

Try the MOM package in your browser

Any scripts or data that you put into this service are public.

MOM documentation built on Aug. 21, 2025, 5:54 p.m.