MGF: Modified generalized F-test

Description Usage Arguments Value Author(s) References Examples

View source: R/MGF.R

Description

This function performs modified generalized F-test.

Usage

1
MGF(data,group,pred,rept)

Arguments

data

A vector containing the observations to which the treatments are randomly assigned.

group

A numerical or character vector indicating the treatment/control groups.

pred

Estimators to be used for the group comparison:"tb" for Tukey's Bisquare estimators, "otb" for one-step version of Tukey's Bisquare estimators, "aw" for Andrew's Wave estimators, "oaw" for one-step version of Andrew's Wave estimators, "huber" for Huber's M-estimators and "hubers" for Huber's second proposal.

rept

The loop size to perform the test.

Value

pvalue

the p-value of the modified generalized F-test

Author(s)

Mustafa CAVUS

References

Cavus, M., Yazici, B. and Sezer, A. (2017) Modified tests for comparison of group means under heteroskedasticity and non-normality caused by outlier(s), Hacettepe Journal of Mathematics and Statistics, 46 (3), 492-510.

Examples

1
2
library(doex)
MGF(hybrid$data,hybrid$species)

mcavs/doex documentation built on Nov. 30, 2021, 10:16 a.m.