summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-nonnest2/package.py
blob: 3899ba0a474c8721c49b7cdfb31b47b50eadd631 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class RNonnest2(RPackage):
    """Tests of Non-Nested Models.

    Testing non-nested models via theory supplied by Vuong (1989)
    <doi:10.2307/1912557>. Includes tests of model distinguishability and of
    model fit that can be applied to both nested and non-nested models. Also
    includes functionality to obtain confidence intervals associated with AIC
    and BIC. This material is partially based on work supported by the National
    Science Foundation under Grant Number SES-1061334."""

    cran = "nonnest2"

    license("GPL-2.0-only OR GPL-3.0-only")

    version("0.5-5", sha256="027f510e322122fc75c936251a95ddd392f96047ac86e0fae6cf8f883ac7aab5")

    depends_on("r@3.0.0:", type=("build", "run"))
    depends_on("r-compquadform", type=("build", "run"))
    depends_on("r-mvtnorm", type=("build", "run"))
    depends_on("r-lavaan@0.6-6:", type=("build", "run"))
    depends_on("r-sandwich", type=("build", "run"))