summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-mclogit/package.py
blob: 32a81b56b18eb16c3b913f336b2049e6e8bcbbd0 (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
# Copyright 2013-2023 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 RMclogit(RPackage):
    """Multinomial Logit Models, with or without Random Effects or
    Overdispersion.

    Provides estimators for multinomial logit models in their conditional logit
    and baseline logit variants, with or without random effects, with or
    without overdispersion. Random effects models are estimated using the PQL
    technique (based on a Laplace approximation) or the MQL technique (based on
    a Solomon-Cox approximation). Estimates should be treated with caution if
    the group sizes are small."""

    cran = "mclogit"

    license("GPL-2.0-only")

    version("0.9.6", sha256="9adc5f6d8649960abe009c30d9b4c448ff7d174c455a594cbf104a33d5a36f69")

    depends_on("r-matrix", type=("build", "run"))
    depends_on("r-memisc", type=("build", "run"))