boot.mean.algo1 {FuzzySTs}R Documentation

Estimates the bootstrap distribution of the likelihood ratio LR by the Algorithm 1 using the mean

Description

Estimates the bootstrap distribution of the likelihood ratio LR by the Algorithm 1 using the mean

Usage

boot.mean.algo1(
  data.fuzzified,
  distribution,
  sig,
  nsim = 100,
  mu = NA,
  sigma = NA,
  step = 0.1,
  margin = c(5, 5),
  breakpoints = 100,
  plot = TRUE
)

Arguments

data.fuzzified

a fuzzification matrix constructed by a call to the function FUZZ or the function GFUZZ, or a similar matrix. No NA are allowed.

distribution

a distribution chosen between "normal", "poisson", "Student" or "Logistic".

sig

a numerical value representing the significance level of the test.

nsim

an integer giving the number of replications needed in the bootstrap procedure. It is set to 100 by default.

mu

if the mean of the normal distribution is known, mu should be a numerical value. Otherwise, the argument mu is fixed to NA.

sigma

if the standard deviation of the normal distribution is known, sigma should be a numerical value. Otherwise, the argument sigma is fixed to NA.

step

a numerical value fixed to 0.1, defining the step of iterations on the interval [t-5; t+5].

margin

an optional numerical couple of values fixed to [5; 5], representing the range of calculations around the parameter t.

breakpoints

a positive arbitrary integer representing the number of breaks chosen to build the numerical alpha-cuts. It is fixed to 100 by default.

plot

fixed by default to "FALSE". plot="FALSE" if a plot of the fuzzy number is not required.

Value

Returns a vector of decimals representing the bootstrap distribution of LR.


[Package FuzzySTs version 0.3 Index]