pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/R-survey



Module Name:    pkgsrc
Committed By:   mef
Date:           Fri Jun  2 13:42:34 UTC 2023

Modified Files:
        pkgsrc/math/R-survey: Makefile distinfo

Log Message:
(math/R-survey) Updated 4.1.1 to 4.2.1

Following lines from inst/NEWS

4.2     Handling of influence functions has CHANGED. A function that supplies influence
        functions must supply one for every observation it was given in its input:
        use 0 for observations removed by subsetting. (for Guilherme Jacob)

        regTermTest(method="LRT") required the two models to use the same observations
        (of course), but didn't check, so IT WAS WRONG.
        It now subsets properly. (for Keiran Shao)

        This will probably be the *last* interpreted-R-only version of survey. Future
        versions will likely incorporate C++ code for faster variance computation and
        for small-area estimation.

        deffs in svyglm.svyrep.design (Ben Schneider)

        svynls() allows for prior (eg precision) weights (for Gary Nelson)

        improved names in svyquantile.svyrep.design (Ben Schneider)

        trimWeights() could get into an infinite recursion (Ingmar Sturm)

        data(myco) from Rao, Scott, and Skinner (originally from Clayton & Hills)

        as.svrepdesign now throws an error with post-stratified/raked/calibrated
        designs -- create replicates *first*, then calibrate (for Lauren Kennedy)

        trimWeights now works with replicate-weights designs

        score tests for svyglm (with Keiran Shao)

        svyby(), and thus svyboxplot(), didn't handle the new quantile functions
        correctly when standard error/ci weren't requested (Stephanie Zimmer, Raymond Pan)

        svycontrast() threw an error on the output of svyby() with return.replicates=TRUE
        (Alena Stern)

        Fix regTermTest for svycoxph for the methods lookup changes in R 4.0
        (and consequential change to marginpred)

        We don't provide model.matrix.svycoxph any more;use the inherited
        survival:::model.matrix.coxph

        Recent survival::coxph() switches to robust variances with non-integer weights
        so check for model$naive.var before model$var

        Disable the pass-through from predict.svycoxph to predict.coxph for type="expected"
        (Bryan Shepherd)

        svyby( svyvar) would throw an error on domains with only one observation
        (for Dirk Schumacher)

        svyvar() computes sample size 'n' in the same way for na.rm=TRUE as for a domain
        (for Raymond Pan)

        xdesign() for crossed designs (which aren't strictly surveys, but are basically similar)

        removed redundant loop in saddlepoint approximation to pchisqsum (Qiaolan Deng)

        fix in summary(svyivreg) for variances (Chandler McClellan)

        svyolr() didn't run for subsets of raked/calibrated designs (Antony Damico)

        add predict.svyolr (for Vincent Arel-Bundock)

        add anova.svycoxph (for Bryan Shepherd)

        add stringsToFactors=TRUE to svyby to ensure factors have same levels in domains
        (for various people including Stephanie Zimmer)

        more complicated svyby example in ?svycontrast

        svyranktest() gave an error for multiple groups with replicate weights (Kasuki Yoshida)

        Additional chisquared test for tables with zeros (CrossValidated question #571328)

        svydesign() has a 'calibrate.formula' option to tell R that your weights have
        already been calibrated/raked/post-stratified (for Tobias Schoch)

        svycontrast() didn't work on svrepglm objects without replicates (Thomas Loughlin)

        error in svycoxph with rescale=FALSE (Jing Zhang)

        error in vcov.svyrep.design with mse=TRUE (shows up in svyVGAM)

        svyquantile() didn't pay attention to interval_type for replicate weights (David Jorquera Petersen)

        svyquantile() qrules 5 to 9 now return the single data value when there's
        just one (David Jorquera Petersen)

        regTermTest() on svyolr() objects created in a function now finds the
        design object more reliably. (for Pedro Baldoni)

        regTermTest() will now test against null models in svycoxph()

        Fixes to svyquantile: https://github.com/bschneidr/r-forge-survey-mirror/pull/7
        (Ben Schneider)

        anova.svyloglin was broken by change to anova.glm(test=NULL)
        (Brian Ripley)

        One-sample svyttest() on logical variable now tests for P(TRUE==0) not P(FALSE==0)
        (Stephanie Zimmer)

        rename svykm.fit to svykm_fit because CRAN tests


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/R-survey/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/math/R-survey/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/R-survey/Makefile
diff -u pkgsrc/math/R-survey/Makefile:1.3 pkgsrc/math/R-survey/Makefile:1.4
--- pkgsrc/math/R-survey/Makefile:1.3   Mon Sep 20 00:49:49 2021
+++ pkgsrc/math/R-survey/Makefile       Fri Jun  2 13:42:34 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2021/09/20 00:49:49 mef Exp $
+# $NetBSD: Makefile,v 1.4 2023/06/02 13:42:34 mef Exp $
 
 R_PKGNAME=     survey
-R_PKGVER=      4.1-1
+R_PKGVER=      4.2-1
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Analysis of complex survey samples

Index: pkgsrc/math/R-survey/distinfo
diff -u pkgsrc/math/R-survey/distinfo:1.4 pkgsrc/math/R-survey/distinfo:1.5
--- pkgsrc/math/R-survey/distinfo:1.4   Tue Oct 26 10:55:33 2021
+++ pkgsrc/math/R-survey/distinfo       Fri Jun  2 13:42:34 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:55:33 nia Exp $
+$NetBSD: distinfo,v 1.5 2023/06/02 13:42:34 mef Exp $
 
-BLAKE2s (R/survey_4.1-1.tar.gz) = 67c945c16f21b7af4bbce91f009ac99f41d8683f431b5f7fe92a248c9492f874
-SHA512 (R/survey_4.1-1.tar.gz) = 54264ef11b075f3a22e3ff1818879f57ab3be4df80d17d3a5810c552a2fbcb7a7de98f13429c4dc7200e9f58dfb3071f197276c21e462594e46c121933c5776b
-Size (R/survey_4.1-1.tar.gz) = 1736232 bytes
+BLAKE2s (R/survey_4.2-1.tar.gz) = ee84dd9b95c6aa482d49ae97498811de6de272aa0fc9cd8b88dae73ba0086a7b
+SHA512 (R/survey_4.2-1.tar.gz) = bb60ebf12aa027fac64596c6770c3cf98aa9a04ca3a87fc9d54e5b1aa583f27f447708039298bd139b324938ed18c560ad6f8cbd8315c0eeb44a0ef3ed79679e
+Size (R/survey_4.2-1.tar.gz) = 2153349 bytes



Home | Main Index | Thread Index | Old Index