spack/var/spack/repos/builtin/packages/r-ordinal/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

36 lines
1.6 KiB
Python

# 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 ROrdinal(RPackage):
"""Regression Models for Ordinal Data.
Implementation of cumulative link (mixed) models also known as ordered
regression models, proportional odds models, proportional hazards models
for grouped survival times and ordered logit/probit/... models. Estimation
is via maximum likelihood and mixed models are fitted with the Laplace
approximation and adaptive Gauss-Hermite quadrature. Multiple random effect
terms are allowed and they may be nested, crossed or partially
nested/crossed. Restrictions of symmetry and equidistance can be imposed on
the thresholds (cut-points/intercepts). Standard model methods are
available (summary, anova, drop-methods, step, confint, predict etc.) in
addition to profile methods and slice methods for visualizing the
likelihood function and checking convergence."""
cran = "ordinal"
version(
"2019.12-10", sha256="7a41e7b7e852a8fa3e911f8859d36e5709ccec5ca42ee3de14a813b7aaac7725"
)
version("2019.4-25", sha256="2812ad7a123cae5dbe053d1fe5f2d9935afc799314077eac185c844e3c9d79df")
depends_on("r@2.13.0:", type=("build", "run"))
depends_on("r-ucminf", type=("build", "run"))
depends_on("r-mass", type=("build", "run"))
depends_on("r-matrix", type=("build", "run"))
depends_on("r-numderiv", type=("build", "run"))