Returns the Fligner-Kileen test for homogeneous scales for two-samples. Also estimates of ratio of scales based on the logs of folded median-aligned samples and a corresponding confidence interval is computed. fk.test computes the value of the statistic based on squared-normal scores following the optimal (for normal errors) such test described in Section 2.10 of Hettmansperger and McKean (2011). Hence, it will differ from the core R routine fligner.test; see the discussion in Section 3.3 of Kloke and McKean (2014).

1 |

`x` |
vector of first sample responses |

`y` |
vector of second sample responses |

`alternative` |
alternative indicator for hypotheses |

`conf.level` |
confidence coefficient for the returned confidence intervals |

Returns the Fligner-Kileen test for the two-sample scale problem.

`statistic` |
chi-squared test statistic |

`p.value` |
p-value of the test |

`estimate` |
vector of estimates of ratio of scales |

`conf.int` |
table of confidence intervals |

John Kloke kloke@biostat.wisc.edu, Joseph McKean

Kloke, J. and McKean, J.W. (2014), *Nonparametric statistcal methods using R*, Boca Raton, FL: Chapman-Hall.

Hettmansperger, T.P. and McKean J.W. (2011), *Robust Nonparametric Statistical Methods, 2nd ed.*, New York: Chapman-Hall.

fkk.test

1 2 3 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.