CRAN Package Check Results for Package ivregEX

Last updated on 2023-10-25 16:59:49 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0 NOTE
r-devel-linux-x86_64-debian-gcc 1.0 7.61 59.43 67.04 NOTE
r-devel-linux-x86_64-fedora-clang 1.0 107.25 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0 104.70 ERROR
r-devel-windows-x86_64 1.0 12.00 79.00 91.00 NOTE
r-patched-linux-x86_64 1.0 8.39 74.49 82.88 OK
r-release-linux-x86_64 1.0 11.27 76.27 87.54 OK
r-release-macos-arm64 1.0 35.00 OK
r-release-macos-x86_64 1.0 53.00 OK
r-release-windows-x86_64 1.0 12.00 88.00 100.00 OK
r-oldrel-macos-arm64 1.0 31.00 OK
r-oldrel-macos-x86_64 1.0 55.00 OK
r-oldrel-windows-x86_64 1.0 13.00 88.00 101.00 OK

Check Details

Version: 1.0
Check: Rd contents
Result: NOTE
    Auto-generated content requiring editing in Rd file 'ivregEX-package.Rd':
     \references: ‘~~ Literature or other references for background information ~~’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 1.0
Check: examples
Result: ERROR
    Running examples in ‘ivregEX-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: ivregEX-package
    > ### Title: Create Independent Evidence in IV Analyses and Do Sensitivity
    > ### Analysis in Regression and IV Analysis
    > ### Aliases: ivregEX-package ivregEX
    > ### Keywords: package
    >
    > ### ** Examples
    >
    >
    > data("CigarettesSW", package = "AER")
    > CigarettesSW$rprice <- with(CigarettesSW, price/cpi)
    > CigarettesSW$rincome <- with(CigarettesSW, income/population/cpi)
    > CigarettesSW$tdiff <- with(CigarettesSW, (taxs - tax)/cpi)
    >
    > ########################
    >
    > lmfit <- lm(log(packs) ~ log(rprice) + log(rincome), data = CigarettesSW, subset = year == "1995")
    >
    > z <- senslm(lmfit, variable = 'log(rprice)')
    > z
    Rejection decision for null effect of 0
    
     Lower Limit Upper Limit
    -0.1 -1.932 -0.881 +
    -0.09 -1.928 -0.885 +
    -0.08 -1.924 -0.889 +
    -0.07 -1.922 -0.891 +
    -0.06 -1.920 -0.893 +
    -0.05 -1.919 -0.894 +
    -0.04 -1.919 -0.894 +
    -0.03 -1.919 -0.894 +
    -0.02 -1.919 -0.894 +
    -0.01 -1.919 -0.894 +
    0 -1.919 -0.894 +
    0.01 -1.919 -0.894 +
    0.02 -1.919 -0.894 +
    0.03 -1.919 -0.894 +
    0.04 -1.919 -0.894 +
    0.05 -1.919 -0.894 +
    0.06 -1.920 -0.893 +
    0.07 -1.922 -0.891 +
    0.08 -1.924 -0.889 +
    0.09 -1.928 -0.885 +
    0.1 -1.932 -0.881 +
    
    '-' Sensitive '+' Insensitive
    > plot(z)
    >
    > ######################
    > library(AER)
    Loading required package: car
    Loading required package: carData
    Loading required package: survival
    >
    > fm1 <- ivreg(log(packs) ~ log(rprice) + log(rincome) | tdiff + log(rincome),
    + data = CigarettesSW, subset = year == "1995", x=TRUE)
    >
    > z <- sensIvreg(fm1, variable = 'log(rprice)')
    > z
    Rejection decision for null effect of 0
    
     Lower Limit Upper Limit
    -0.1 -2.864 0.577 -
    -0.09 -2.770 0.483 -
    -0.08 -2.675 0.389 -
    -0.07 -2.581 0.294 -
    -0.06 -2.487 0.200 -
    -0.05 -2.392 0.105 -
    -0.04 -2.297 0.011 -
    -0.03 -2.203 -0.084 +
    -0.02 -2.108 -0.179 +
    -0.01 -2.013 -0.274 +
    0 -1.918 -0.369 +
    0.01 -2.013 -0.274 +
    0.02 -2.108 -0.179 +
    0.03 -2.203 -0.084 +
    0.04 -2.297 0.011 -
    0.05 -2.392 0.105 -
    0.06 -2.487 0.200 -
    0.07 -2.581 0.294 -
    0.08 -2.675 0.389 -
    0.09 -2.770 0.483 -
    0.1 -2.864 0.577 -
    
    '-' Sensitive '+' Insensitive
    > plot(z)
    >
    > ######################
    >
    > fm2 <- ivreg.EX(log(packs) ~ log(rprice) + log(rincome) | tdiff + log(rincome),
    + data = CigarettesSW, subset = year == "1995")
    > lmfit <- lm(log(packs) ~ log(rprice) + log(rincome), data = CigarettesSW,
    + subset = year == "1995")
    > res = coeftestIV(fm2, lmfit, 'log(rprice)')
    >
    > z <- sensIvreg(fm2, res, 'log(rprice)', effect = c(-.1, 0, .1, .15, .17))
    > z
    $Z
    $`-0.1`
    Sensitivity analyses for the OLS, 2SLS and EX analyses
    
     -0.1 -0.09 -0.08 -0.07 -0.06 -0.05 -0.04 -0.03 -0.02 -0.01 0 0.01 0.02
    -0.1 * * * * * * * * * * * * *
    -0.09 * * * * * * * * * * * * *
    -0.08 * * * * * * * * * * * * *
    -0.07 * * * * * * * * * * * * *
    -0.06 * * * * * * * * * * * * *
    -0.05 * * * * * * * * * * * * *
    -0.04 * * * * * * * * * * * * *
    -0.03 * * * * * * * * * * * * *
    -0.02 ** ** ** ** ** ** ** ** ** ** ** ** **
    -0.01 ** ** ** ** ** ** ** ** ** ** ** ** **
    0 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.01 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.02 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.03 * * * * * * * * * * * * *
    0.04 * * * * * * * * * * * * *
    0.05 * * * * * * * * * * * * *
    0.06 * * * * * * * * * * * * *
    0.07 * * * * * * * * * * * * *
    0.08 * * * * * * * * * * * * *
    0.09 * * * * * * * * * * * * *
    0.1 * * * * * * * * * * * * *
     0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
    -0.1 * * * * * * * *
    -0.09 * * * * * * * *
    -0.08 * * * * * * * *
    -0.07 * * * * * * * *
    -0.06 * * * * * * * *
    -0.05 * * * * * * * *
    -0.04 * * * * * * * *
    -0.03 * * * * * * * *
    -0.02 ** ** ** ** ** ** ** **
    -0.01 ** ** ** ** ** ** ** **
    0 ** ** ** ** ** ** ** **
    0.01 ** ** ** ** ** ** ** **
    0.02 ** ** ** ** ** ** ** **
    0.03 * * * * * * * *
    0.04 * * * * * * * *
    0.05 * * * * * * * *
    0.06 * * * * * * * *
    0.07 * * * * * * * *
    0.08 * * * * * * * *
    0.09 * * * * * * * *
    0.1 * * * * * * * *
    
    '-' no evidence, '+' only OLS rejects,
     '*' one piece of evidence, '**' two pieces of evidence.
    
    $`0`
    Sensitivity analyses for the OLS, 2SLS and EX analyses
    
     -0.1 -0.09 -0.08 -0.07 -0.06 -0.05 -0.04 -0.03 -0.02 -0.01 0 0.01 0.02
    -0.1 * * * * * * * * * * * * *
    -0.09 * * * * * * * * * * * * *
    -0.08 * * * * * * * * * * * * *
    -0.07 * * * * * * * * * * * * *
    -0.06 * * * * * * * * * * * * *
    -0.05 * * * * * * * * * * * * *
    -0.04 * * * * * * * * * * * * *
    -0.03 ** ** ** ** ** ** ** ** ** ** ** ** **
    -0.02 ** ** ** ** ** ** ** ** ** ** ** ** **
    -0.01 ** ** ** ** ** ** ** ** ** ** ** ** **
    0 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.01 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.02 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.03 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.04 * * * * * * * * * * * * *
    0.05 * * * * * * * * * * * * *
    0.06 * * * * * * * * * * * * *
    0.07 * * * * * * * * * * * * *
    0.08 * * * * * * * * * * * * *
    0.09 * * * * * * * * * * * * *
    0.1 * * * * * * * * * * * * *
     0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
    -0.1 * * * * * * * *
    -0.09 * * * * * * * *
    -0.08 * * * * * * * *
    -0.07 * * * * * * * *
    -0.06 * * * * * * * *
    -0.05 * * * * * * * *
    -0.04 * * * * * * * *
    -0.03 ** ** ** ** ** ** ** **
    -0.02 ** ** ** ** ** ** ** **
    -0.01 ** ** ** ** ** ** ** **
    0 ** ** ** ** ** ** ** **
    0.01 ** ** ** ** ** ** ** **
    0.02 ** ** ** ** ** ** ** **
    0.03 ** ** ** ** ** ** ** **
    0.04 * * * * * * * *
    0.05 * * * * * * * *
    0.06 * * * * * * * *
    0.07 * * * * * * * *
    0.08 * * * * * * * *
    0.09 * * * * * * * *
    0.1 * * * * * * * *
    
    '-' no evidence, '+' only OLS rejects,
     '*' one piece of evidence, '**' two pieces of evidence.
    
    $`0.1`
    Sensitivity analyses for the OLS, 2SLS and EX analyses
    
     -0.1 -0.09 -0.08 -0.07 -0.06 -0.05 -0.04 -0.03 -0.02 -0.01 0 0.01 0.02
    -0.1 * * * * * * * * * * * * *
    -0.09 * * * * * * * * * * * * *
    -0.08 * * * * * * * * * * * * *
    -0.07 * * * * * * * * * * * * *
    -0.06 * * * * * * * * * * * * *
    -0.05 * * * * * * * * * * * * *
    -0.04 ** ** ** ** ** ** ** ** ** ** ** ** **
    -0.03 ** ** ** ** ** ** ** ** ** ** ** ** **
    -0.02 ** ** ** ** ** ** ** ** ** ** ** ** **
    -0.01 ** ** ** ** ** ** ** ** ** ** ** ** **
    0 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.01 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.02 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.03 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.04 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.05 * * * * * * * * * * * * *
    0.06 * * * * * * * * * * * * *
    0.07 * * * * * * * * * * * * *
    0.08 * * * * * * * * * * * * *
    0.09 * * * * * * * * * * * * *
    0.1 * * * * * * * * * * * * *
     0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
    -0.1 * * * * * * * *
    -0.09 * * * * * * * *
    -0.08 * * * * * * * *
    -0.07 * * * * * * * *
    -0.06 * * * * * * * *
    -0.05 * * * * * * * *
    -0.04 ** ** ** ** ** ** ** **
    -0.03 ** ** ** ** ** ** ** **
    -0.02 ** ** ** ** ** ** ** **
    -0.01 ** ** ** ** ** ** ** **
    0 ** ** ** ** ** ** ** **
    0.01 ** ** ** ** ** ** ** **
    0.02 ** ** ** ** ** ** ** **
    0.03 ** ** ** ** ** ** ** **
    0.04 ** ** ** ** ** ** ** **
    0.05 * * * * * * * *
    0.06 * * * * * * * *
    0.07 * * * * * * * *
    0.08 * * * * * * * *
    0.09 * * * * * * * *
    0.1 * * * * * * * *
    
    '-' no evidence, '+' only OLS rejects,
     '*' one piece of evidence, '**' two pieces of evidence.
    
    $`0.15`
    Sensitivity analyses for the OLS, 2SLS and EX analyses
    
     -0.1 -0.09 -0.08 -0.07 -0.06 -0.05 -0.04 -0.03 -0.02 -0.01 0 0.01 0.02
    -0.1 * * * * * * * * * * * * *
    -0.09 * * * * * * * * * * * * *
    -0.08 * * * * * * * * * * * * *
    -0.07 * * * * * * * * * * * * *
    -0.06 * * * * * * * * * * * * *
    -0.05 ** ** ** ** ** ** ** ** ** ** ** ** **
    -0.04 ** ** ** ** ** ** ** ** ** ** ** ** **
    -0.03 ** ** ** ** ** ** ** ** ** ** ** ** **
    -0.02 ** ** ** ** ** ** ** ** ** ** ** ** **
    -0.01 ** ** ** ** ** ** ** ** ** ** ** ** **
    0 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.01 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.02 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.03 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.04 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.05 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.06 * * * * * * * * * * * * *
    0.07 * * * * * * * * * * * * *
    0.08 * * * * * * * * * * * * *
    0.09 * * * * * * * * * * * * *
    0.1 * * * * * * * * * * * * *
     0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
    -0.1 * * * * * * * *
    -0.09 * * * * * * * *
    -0.08 * * * * * * * *
    -0.07 * * * * * * * *
    -0.06 * * * * * * * *
    -0.05 ** ** ** ** ** ** ** **
    -0.04 ** ** ** ** ** ** ** **
    -0.03 ** ** ** ** ** ** ** **
    -0.02 ** ** ** ** ** ** ** **
    -0.01 ** ** ** ** ** ** ** **
    0 ** ** ** ** ** ** ** **
    0.01 ** ** ** ** ** ** ** **
    0.02 ** ** ** ** ** ** ** **
    0.03 ** ** ** ** ** ** ** **
    0.04 ** ** ** ** ** ** ** **
    0.05 ** ** ** ** ** ** ** **
    0.06 * * * * * * * *
    0.07 * * * * * * * *
    0.08 * * * * * * * *
    0.09 * * * * * * * *
    0.1 * * * * * * * *
    
    '-' no evidence, '+' only OLS rejects,
     '*' one piece of evidence, '**' two pieces of evidence.
    
    $`0.17`
    Sensitivity analyses for the OLS, 2SLS and EX analyses
    
     -0.1 -0.09 -0.08 -0.07 -0.06 -0.05 -0.04 -0.03 -0.02 -0.01 0 0.01 0.02
    -0.1 * * * * * * * * * * * * *
    -0.09 * * * * * * * * * * * * *
    -0.08 * * * * * * * * * * * * *
    -0.07 * * * * * * * * * * * * *
    -0.06 * * * * * * * * * * * * *
    -0.05 ** ** ** ** ** ** ** ** ** ** ** ** **
    -0.04 ** ** ** ** ** ** ** ** ** ** ** ** **
    -0.03 ** ** ** ** ** ** ** ** ** ** ** ** **
    -0.02 ** ** ** ** ** ** ** ** ** ** ** ** **
    -0.01 ** ** ** ** ** ** ** ** ** ** ** ** **
    0 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.01 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.02 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.03 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.04 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.05 ** ** ** ** ** ** ** ** ** ** ** ** **
    0.06 * * * * * * * * * * * * *
    0.07 * * * * * * * * * * * * *
    0.08 * * * * * * * * * * * * *
    0.09 * * * * * * * * * * * * *
    0.1 * * * * * * * * * * * * *
     0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
    -0.1 * * * * * * * *
    -0.09 * * * * * * * *
    -0.08 * * * * * * * *
    -0.07 * * * * * * * *
    -0.06 * * * * * * * *
    -0.05 ** ** ** ** ** ** ** **
    -0.04 ** ** ** ** ** ** ** **
    -0.03 ** ** ** ** ** ** ** **
    -0.02 ** ** ** ** ** ** ** **
    -0.01 ** ** ** ** ** ** ** **
    0 ** ** ** ** ** ** ** **
    0.01 ** ** ** ** ** ** ** **
    0.02 ** ** ** ** ** ** ** **
    0.03 ** ** ** ** ** ** ** **
    0.04 ** ** ** ** ** ** ** **
    0.05 ** ** ** ** ** ** ** **
    0.06 * * * * * * * *
    0.07 * * * * * * * *
    0.08 * * * * * * * *
    0.09 * * * * * * * *
    0.1 * * * * * * * *
    
    '-' no evidence, '+' only OLS rejects,
     '*' one piece of evidence, '**' two pieces of evidence.
    
    attr(,"class")
    [1] "ivregDecisionList"
    
    $siOLS
    Rejection decision for null effect of 0
    
     Lower Limit Upper Limit
    -0.1 -1.932 -0.881 +
    -0.09 -1.928 -0.885 +
    -0.08 -1.924 -0.889 +
    -0.07 -1.922 -0.891 +
    -0.06 -1.920 -0.893 +
    -0.05 -1.919 -0.894 +
    -0.04 -1.919 -0.894 +
    -0.03 -1.919 -0.894 +
    -0.02 -1.919 -0.894 +
    -0.01 -1.919 -0.894 +
    0 -1.919 -0.894 +
    0.01 -1.919 -0.894 +
    0.02 -1.919 -0.894 +
    0.03 -1.919 -0.894 +
    0.04 -1.919 -0.894 +
    0.05 -1.919 -0.894 +
    0.06 -1.920 -0.893 +
    0.07 -1.922 -0.891 +
    0.08 -1.924 -0.889 +
    0.09 -1.928 -0.885 +
    0.1 -1.932 -0.881 +
    
    '-' Sensitive '+' Insensitive
    
    $si2SLS
    Rejection decision for null effect of 0
    
     Lower Limit Upper Limit
    -0.1 -2.864 0.577 -
    -0.09 -2.770 0.483 -
    -0.08 -2.675 0.389 -
    -0.07 -2.581 0.294 -
    -0.06 -2.487 0.200 -
    -0.05 -2.392 0.105 -
    -0.04 -2.297 0.011 -
    -0.03 -2.203 -0.084 +
    -0.02 -2.108 -0.179 +
    -0.01 -2.013 -0.274 +
    0 -1.918 -0.369 +
    0.01 -2.013 -0.274 +
    0.02 -2.108 -0.179 +
    0.03 -2.203 -0.084 +
    0.04 -2.297 0.011 -
    0.05 -2.392 0.105 -
    0.06 -2.487 0.200 -
    0.07 -2.581 0.294 -
    0.08 -2.675 0.389 -
    0.09 -2.770 0.483 -
    0.1 -2.864 0.577 -
    
    '-' Sensitive '+' Insensitive
    
    $siEX
    Rejection decision for null effect of 0
    
     Lower Limit Upper Limit
    -0.1 -2.387 -0.954 +
    -0.09 -2.384 -0.957 +
    -0.08 -2.382 -0.959 +
    -0.07 -2.381 -0.960 +
    -0.06 -2.380 -0.961 +
    -0.05 -2.380 -0.961 +
    -0.04 -2.379 -0.962 +
    -0.03 -2.379 -0.962 +
    -0.02 -2.379 -0.962 +
    -0.01 -2.379 -0.962 +
    0 -2.379 -0.962 +
    0.01 -2.379 -0.962 +
    0.02 -2.379 -0.962 +
    0.03 -2.379 -0.962 +
    0.04 -2.379 -0.962 +
    0.05 -2.380 -0.961 +
    0.06 -2.380 -0.961 +
    0.07 -2.381 -0.960 +
    0.08 -2.382 -0.959 +
    0.09 -2.384 -0.957 +
    0.1 -2.387 -0.954 +
    
    '-' Sensitive '+' Insensitive
    
    attr(,"class")
    [1] "sensIvregEX"
    > plot(z)
    Error in mtext(text = c("■", "no evidence", "■", "only OLS rejects", :
     conversion failure on '■' in 'mbcsToSbcs': for ■
    Calls: plot ... plot.sensIvregEX -> plot.ivregDecisionList -> mtext
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc