loggammarob.wilks: Robust Wilks test for generalized log gamma model.

Description Usage Arguments Value Author(s) References See Also Examples

Description

Performs a robust Wilks test to check equality between scale and shape parameters of a generalized log gamma model.

Usage

1
2
loggammarob.wilks(x, thetainit = NULL, method = "L-BFGS-B",
  lower = c(-Inf, 1e-04), upper = c(Inf, Inf), ...)

Arguments

x

list. An object of class 'loggammarob', typically created by loggammarob.

thetainit

NULL or numeric. A vector of length 2 to be used as initial values, first element corresponds to mu, second element to sigma/lambda under the Null Hypothesis that sigma is equal to lambda.

method

parameter passed to function optim.

lower

parameter passed to function optim.

upper

parameter passed to function optim.

...

further parameters passed to function optim.

Value

an object of class 'htest'.

Author(s)

C. Agostinelli, A. Marazzi, V.J. Yohai and A. Randriamiharisoa

References

C. Agostinelli, A. Marazzi and V.J. Yohai (2015). Robust estimates of the generalized loggamma distribution. Technometrics, Volume 56, Issue 1, 2014. doi:10.1080/00401706.2013.818578

See Also

loggammarob.test for robust (weighted) t-test on one or more parameters of the generalized loggamma model.

Examples

1
2
3
4
  set.seed(1234)
  x <- sort(log(rgamma(n=30, shape=2, scale=2)))
  res <- loggammarob(x)
  loggammarob.wilks(res)

robustloggamma documentation built on May 1, 2019, 9:20 p.m.