summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-03-12 22:26:46 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-03-12 22:47:57 +0100
commit4d1f19e02c99ca13de95fa57afa8e1e2a0702384 (patch)
treecdb68766305912b7ae7aabf88010357a0707bdd9 /gnu
parentca3f13704ac1f5c6fcc1e0efaec851453ad973d1 (diff)
downloadguix-4d1f19e02c99ca13de95fa57afa8e1e2a0702384.tar.gz
gnu: Add r-nonnest2.
* gnu/packages/cran.scm (r-nonnest2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 0d9b721f94..d087ffd26e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -11233,3 +11233,30 @@ probabilities from a standard bivariate normal CDF.")
 including confirmatory factor analysis, structural equation modeling and
 latent growth curve models.")
     (license license:gpl2+)))
+
+(define-public r-nonnest2
+  (package
+    (name "r-nonnest2")
+    (version "0.5-2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "nonnest2" version))
+       (sha256
+        (base32
+         "1bq44qqmm59j91m0sny4xnqmxqlga4cm48qdsw8xfs3x19xwmxk6"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-compquadform" ,r-compquadform)
+       ("r-lavaan" ,r-lavaan)
+       ("r-mvtnorm" ,r-mvtnorm)
+       ("r-sandwich" ,r-sandwich)))
+    (home-page "https://cran.r-project.org/web/packages/nonnest2/")
+    (synopsis "Tests of non-nested models")
+    (description
+     "This package allows for testing of non-nested models.  It includes tests
+of model distinguishability and of model fit that can be applied to both
+nested and non-nested models.  The package also includes functionality to
+obtain confidence intervals associated with AIC and BIC.")
+    ;; Either version of the GPL.
+    (license (list license:gpl2 license:gpl3))))