Package: KOTORY
Type: Package
Title: Robust Three-Group Tests for Heteroscedasticity in Linear
        Regression
Version: 0.1.0
Date: 2026-09-28
Authors@R: c(
    person(given = "Ahmed", family = "El-Kotory",
           email = "ahmed.elkatory@alexu.edu.eg",
           role = "aut",
           comment = c(ORCID = "0009-0000-1485-0768")),
    person(given = "Ebrahim Khaled", family = "Ebrahim",
           email = "ebrahimkhaled@alexu.edu.eg",
           role = c("aut", "cre"),
           comment = c(ORCID = "0009-0006-7839-8778")))
Maintainer: Ebrahim Khaled Ebrahim <ebrahimkhaled@alexu.edu.eg>
Description: Tests for heteroscedasticity in the linear regression model that
    sort the data by a regressor, split them into three equal parts and compare
    the error scale of the parts. The ordinary least squares version 'kah3.test()'
    refers the ratio of the largest to the smallest residual mean square to its
    exact null distribution, Hartley's maximum F-ratio with three groups; the
    robust version 'kah.robust.test()' replaces the mean squares by least trimmed
    squares scales, so that outliers neither create nor hide heteroscedasticity,
    and refers the ratio to a maximum F-ratio with simulated effective degrees of
    freedom, to a Monte Carlo reference or to a residual bootstrap. The
    distribution, density, quantile and random generation functions of the
    maximum F-ratio are provided, together with 'run.all.het()', which runs the
    proposed tests next to the Goldfeld-Quandt, Breusch-Pagan, White and robust
    modified Goldfeld-Quandt tests in one call. For more details see Hartley
    (1950) <doi:10.1093/biomet/37.3-4.308>, Goldfeld and Quandt (1965)
    <doi:10.1080/01621459.1965.10480811> and Rousseeuw (1984)
    <doi:10.1080/01621459.1984.10477105>.
License: GPL-3
URL: https://github.com/ebrahimkhaled/KOTORY
BugReports: https://github.com/ebrahimkhaled/KOTORY/issues
Depends: R (>= 3.5.0)
Imports: robustbase, stats
Suggests: lmtest, skedastic, testthat (>= 3.0.0)
Config/testthat/edition: 3
Encoding: UTF-8
RoxygenNote: 7.3.2
NeedsCompilation: no
Packaged: 2026-09-29 09:42:54 UTC; ebrah
Author: Ahmed El-Kotory [aut] (ORCID: <https://orcid.org/0009-0000-1485-0768>),
  Ebrahim Khaled Ebrahim [aut, cre] (ORCID:
    <https://orcid.org/0009-0006-7839-8778>)
Repository: CRAN
Date/Publication: 2026-10-08 18:00:02 UTC
Built: R 4.5.2; ; 2026-10-08 19:52:36 UTC; unix
