boot.mean.algo2: Estimates the bootstrap distribution of the likelihood ratio...

Description Usage Arguments Value

View source: R/Boot_Algo2_ML_30012018.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
boot.mean.algo2(
  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.


FuzzySTs documentation built on Nov. 23, 2020, 5:11 p.m.