{
  "_id": "6a141ffeacfb0bcc41d3e41d",
  "Package": "ivmodel",
  "Type": "Package",
  "Title": "Statistical Inference and Sensitivity Analysis for Instrumental\nVariables Model",
  "Version": "1.9.1",
  "Date": "2023-04-08",
  "Author": "Hyunseung Kang, Yang Jiang, Qingyuan Zhao, and Dylan Small",
  "Maintainer": "Hyunseung Kang <hyunseung@stat.wisc.edu>",
  "Description": "Carries out instrumental variable estimation of causal\neffects, including power analysis, sensitivity analysis, and\ndiagnostics. See Kang, Jiang, Zhao, and Small (2021)\n<https://muse.jhu.edu/article/804372> for details.",
  "License": "GPL-2 | file LICENSE",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "NeedsCompilation": "no",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://hyunseungkang.r-universe.dev",
  "Date/Publication": "2023-04-10 16:04:52 UTC",
  "RemoteUrl": "https://github.com/hyunseungkang/ivmodel",
  "RemoteRef": "HEAD",
  "RemoteSha": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
  "Packaged": {
    "Date": "2026-05-25 10:04:38 UTC",
    "User": "root"
  },
  "MD5sum": "97cd15a93ccec8c60980a3c5c5549131",
  "_user": "hyunseungkang",
  "_type": "src",
  "_file": "ivmodel_1.9.1.tar.gz",
  "_fileid": "1b387cd21d9a7c6b90ab143c023c64e3e8a1999f26a913aaab8f045214153cf7",
  "_filesize": 506270,
  "_sha256": "1b387cd21d9a7c6b90ab143c023c64e3e8a1999f26a913aaab8f045214153cf7",
  "_created": "2026-05-25T10:04:38.000Z",
  "_published": "2026-05-25T10:10:05.972Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77693311367,
      "time": 175,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7196097887"
    },
    {
      "job": 77693311325,
      "time": 290,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7196126270"
    },
    {
      "job": 77693311391,
      "time": 177,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7196090309"
    },
    {
      "job": 77693311396,
      "time": 157,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7196086336"
    },
    {
      "job": 77692960807,
      "time": 165,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196054083"
    },
    {
      "job": 77693311372,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196084013"
    },
    {
      "job": 77693311357,
      "time": 154,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7196092743"
    },
    {
      "job": 77693311350,
      "time": 110,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7196082055"
    },
    {
      "job": 77693311358,
      "time": 103,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7196080195"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hyunseungkang/actions/runs/26394828516",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/hyunseungkang/ivmodel",
  "_commit": {
    "id": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
    "author": "Hyunseung Kang <22965055+hyunseungkang@users.noreply.github.com>",
    "committer": "Hyunseung Kang <22965055+hyunseungkang@users.noreply.github.com>",
    "message": "Updated year, reference link, and description file.\n",
    "time": 1681142692
  },
  "_maintainer": {
    "name": "Hyunseung Kang",
    "email": "hyunseung@stat.wisc.edu",
    "login": "hyunseungkang",
    "description": "",
    "uuid": 22965055
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "Formula",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "hyunseungkang",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 10,
  "_contributors": [
    {
      "user": "hyunseungkang",
      "count": 70,
      "uuid": 22965055
    },
    {
      "user": "qingyuanzhao",
      "count": 5,
      "uuid": 3944837
    }
  ],
  "_userbio": {
    "uuid": 22965055,
    "type": "user",
    "name": "hyunseungkang"
  },
  "_downloads": {
    "count": 494,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ivmodel"
  },
  "_devurl": "https://github.com/hyunseungkang/ivmodel",
  "_searchresults": 129,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ivmodel.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hyunseungkang/ivmodel",
  "_realowner": "hyunseungkang",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2015-05-03"
    },
    {
      "version": "1.1",
      "date": "2015-07-30"
    },
    {
      "version": "1.2",
      "date": "2016-05-09"
    },
    {
      "version": "1.6",
      "date": "2017-05-04"
    },
    {
      "version": "1.7",
      "date": "2017-08-18"
    },
    {
      "version": "1.7.1",
      "date": "2017-10-17"
    },
    {
      "version": "1.8.1",
      "date": "2020-02-21"
    },
    {
      "version": "1.9.0",
      "date": "2021-01-14"
    },
    {
      "version": "1.9.1",
      "date": "2023-04-09"
    }
  ],
  "_exports": [
    "AR.power",
    "AR.size",
    "AR.test",
    "ARsens.power",
    "ARsens.size",
    "ARsens.test",
    "balanceLovePlot",
    "biasLovePlot",
    "CLR",
    "coef.ivmodel",
    "coefOther",
    "condPvalue",
    "confint.ivmodel",
    "distributionBalancePlot",
    "fitted.ivmodel",
    "Fuller",
    "getBernoulliPerms.absBias",
    "getBernoulliPerms.md",
    "getBlockPerm",
    "getBlockPerms.absBias",
    "getBlockPerms.md",
    "getCompletePerms.absBias",
    "getCompletePerms.balance",
    "getCompletePerms.md",
    "getCompletePerms.meanDiffs",
    "getCovMeanDiffs",
    "getMD",
    "getStandardizedCovMeanDiffs",
    "invTwobyTwoSymMatrix",
    "iv.diagnosis",
    "iv.diagnosis.plot",
    "ivmodel",
    "ivmodelFormula",
    "IVpower",
    "IVsize",
    "KClass",
    "LIML",
    "model.matrix.ivmodel",
    "para",
    "permTest.absBias",
    "permTest.md",
    "permuteData.biasedCoin",
    "print.ivmodel",
    "qrrank",
    "qrRM",
    "quadSolver",
    "resid.ivmodel",
    "residuals.ivmodel",
    "summary.ivmodel",
    "TSLS.power",
    "TSLS.size",
    "vcov.ivmodel",
    "vcovOther"
  ],
  "_datasets": [
    {
      "name": "card.data",
      "title": "Card (1995) Data",
      "object": "card.data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "nearc2",
        "nearc4",
        "educ",
        "age",
        "fatheduc",
        "motheduc",
        "weight",
        "momdad14",
        "sinmom14",
        "step14",
        "reg661",
        "reg662",
        "reg663",
        "reg664",
        "reg665",
        "reg666",
        "reg667",
        "reg668",
        "reg669",
        "south66",
        "black",
        "smsa",
        "south",
        "smsa66",
        "wage",
        "enroll",
        "KWW",
        "IQ",
        "married",
        "libcrd14",
        "exper",
        "lwage",
        "expersq",
        "region"
      ],
      "rows": 3010,
      "table": true,
      "tojson": true
    },
    {
      "name": "icu.data",
      "title": "Pseudo-data based on Branson and Keele (2020)",
      "object": "icu.data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "age",
        "male",
        "sepsis_dx",
        "periarrest",
        "icnarc_score",
        "news_score",
        "sofa_score",
        "v_cc1",
        "v_cc2",
        "v_cc4",
        "v_cc5",
        "v_cc_r1",
        "v_cc_r2",
        "v_cc_r4",
        "v_cc_r5",
        "open_bin",
        "icu_bed",
        "site"
      ],
      "rows": 13011,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ivmodel-package",
      "title": "Statistical Inference and Sensitivity Analysis for Instrumental Variables Model",
      "topics": [
        "ivmodel-package"
      ]
    },
    {
      "page": "AR.power",
      "title": "Power of the Anderson-Rubin (1949) Test",
      "topics": [
        "AR.power"
      ]
    },
    {
      "page": "AR.size",
      "title": "Sample Size Calculator for the Power of the Anderson-Rubin (1949) Test",
      "topics": [
        "AR.size"
      ]
    },
    {
      "page": "AR.test",
      "title": "Anderson-Rubin (1949) Test",
      "topics": [
        "AR.test"
      ]
    },
    {
      "page": "ARsens.power",
      "title": "Power of the Anderson-Rubin (1949) Test with Sensitivity Analysis",
      "topics": [
        "ARsens.power"
      ]
    },
    {
      "page": "ARsens.size",
      "title": "Sample Size Calculator for the Power of the Anderson-Rubin (1949) Test with Sensitivity Analysis",
      "topics": [
        "ARsens.size"
      ]
    },
    {
      "page": "ARsens.test",
      "title": "Sensitivity Analysis for the Anderson-Rubin (1949) Test",
      "topics": [
        "ARsens.test"
      ]
    },
    {
      "page": "balanceLovePlot",
      "title": "Create Love plot of standardized covariate mean differences",
      "topics": [
        "balanceLovePlot"
      ]
    },
    {
      "page": "biasLovePlot",
      "title": "Create Love plot of treatment bias and instrument bias",
      "topics": [
        "biasLovePlot"
      ]
    },
    {
      "page": "card.data",
      "title": "Card (1995) Data",
      "topics": [
        "card.data"
      ]
    },
    {
      "page": "CLR",
      "title": "Conditional Likelihood Ratio Test",
      "topics": [
        "CLR"
      ]
    },
    {
      "page": "coef.ivmodel",
      "title": "Coefficients of the Fitted Model in the 'ivmodel' Object",
      "topics": [
        "coef.ivmodel"
      ]
    },
    {
      "page": "coefOther",
      "title": "Exogenous Coefficients of the Fitted Model in the 'ivmodel' Object",
      "topics": [
        "coefOther"
      ]
    },
    {
      "page": "confint.ivmodel",
      "title": "Confidence Intervals for the Fitted Model in 'ivmodel' Object",
      "topics": [
        "confint.ivmodel"
      ]
    },
    {
      "page": "distributionBalancePlot",
      "title": "Plot randomization distributions of the Mahalanobis distance",
      "topics": [
        "distributionBalancePlot"
      ]
    },
    {
      "page": "fitted.ivmodel",
      "title": "Extract Model Fitted values in the 'ivmodel' Object",
      "topics": [
        "fitted.ivmodel"
      ]
    },
    {
      "page": "Fuller",
      "title": "Fuller-k Estimator",
      "topics": [
        "Fuller"
      ]
    },
    {
      "page": "getCovMeanDiffs",
      "title": "Get Covariate Mean Differences",
      "topics": [
        "getCovMeanDiffs"
      ]
    },
    {
      "page": "getMD",
      "title": "Get Mahalanobis Distance",
      "topics": [
        "getMD"
      ]
    },
    {
      "page": "getStandardizedCovMeanDiffs",
      "title": "Get Standardized Covariate Mean Differences",
      "topics": [
        "getStandardizedCovMeanDiffs"
      ]
    },
    {
      "page": "icu.data",
      "title": "Pseudo-data based on Branson and Keele (2020)",
      "topics": [
        "icu.data"
      ]
    },
    {
      "page": "iv.diagnosis",
      "title": "Diagnostics of instrumental variable analysis",
      "topics": [
        "iv.diagnosis",
        "iv.diagnosis.plot"
      ]
    },
    {
      "page": "ivmodel",
      "title": "Fitting Instrumental Variables (IV) Models",
      "topics": [
        "ivmodel"
      ]
    },
    {
      "page": "ivmodelFormula",
      "title": "Fitting Instrumental Variables (IV) Models",
      "topics": [
        "ivmodelFormula"
      ]
    },
    {
      "page": "IVpower",
      "title": "Power calculation for IV models",
      "topics": [
        "IVpower"
      ]
    },
    {
      "page": "IVsize",
      "title": "Calculating minimum sample size for achieving a certain power",
      "topics": [
        "IVsize"
      ]
    },
    {
      "page": "KClass",
      "title": "k-Class Estimator",
      "topics": [
        "KClass"
      ]
    },
    {
      "page": "LIML",
      "title": "Limited Information Maximum Likelihood Ratio (LIML) Estimator",
      "topics": [
        "LIML"
      ]
    },
    {
      "page": "model.matrix.ivmodel",
      "title": "Extract Design Matrix for 'ivmodel' Object",
      "topics": [
        "model.matrix.ivmodel"
      ]
    },
    {
      "page": "para",
      "title": "Parameter Estimation from Ivmodel",
      "topics": [
        "para"
      ]
    },
    {
      "page": "permTest.absBias",
      "title": "Perform a permutation test using the sum of absolute biases",
      "topics": [
        "permTest.absBias"
      ]
    },
    {
      "page": "permTest.md",
      "title": "Perform a permutation test using the Mahalanobis distance",
      "topics": [
        "permTest.md"
      ]
    },
    {
      "page": "residuals.ivmodel",
      "title": "Residuals from the Fitted Model in the 'ivmodel' Object",
      "topics": [
        "resid.ivmodel",
        "residuals.ivmodel"
      ]
    },
    {
      "page": "TSLS.power",
      "title": "Power of TSLS Estimator",
      "topics": [
        "TSLS.power"
      ]
    },
    {
      "page": "TSLS.size",
      "title": "Sample Size Calculator for the Power of Asymptotic T-test",
      "topics": [
        "TSLS.size"
      ]
    },
    {
      "page": "vcov.ivmodel",
      "title": "Calculate Variance-Covariance Matrix (i.e. Standard Error) for k-Class Estimators in the 'ivmodel' Object",
      "topics": [
        "vcov.ivmodel"
      ]
    },
    {
      "page": "vcovOther",
      "title": "Variance of Exogenous Coefficients of the Fitted Model in the 'ivmodel' Object",
      "topics": [
        "vcovOther"
      ]
    }
  ],
  "_readme": "https://github.com/hyunseungkang/ivmodel/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "Formula",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "plyr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "reshape2",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 4.8095597146352675,
  "_indexed": true,
  "_nocasepkg": "ivmodel",
  "_universes": [
    "hyunseungkang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.9.1",
      "date": "2026-05-25T10:07:07.000Z",
      "distro": "noble",
      "commit": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
      "fileid": "67bedd399bf5926be26edf6395779d60f3ddc7ed89d5fabe15e8e5be26c223fe",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hyunseungkang/actions/runs/26394828516"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.9.1",
      "date": "2026-05-25T10:09:02.000Z",
      "distro": "noble",
      "commit": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
      "fileid": "7cfd65cc83f606abb35c75bce2d6127cf78e5aef1b69da7f55857b42a91587ec",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hyunseungkang/actions/runs/26394828516"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.9.1",
      "date": "2026-05-25T10:06:50.000Z",
      "commit": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
      "fileid": "179b7adab462a0358c7642ddb0979b4382f3ffbbb45a75933284fb3ff7ff8b89",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hyunseungkang/actions/runs/26394828516"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.9.1",
      "date": "2026-05-25T10:06:33.000Z",
      "commit": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
      "fileid": "370f122d2b305715fa58f920b0cdf238409e452e0d0a76396d4a8a7198b864f9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hyunseungkang/actions/runs/26394828516"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.9.1",
      "date": "2026-05-25T10:06:56.000Z",
      "commit": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
      "fileid": "064570b678626ff047a917c86c3fbfc934b1ab82b1c6a815abc5439530a74a79",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hyunseungkang/actions/runs/26394828516"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.9.1",
      "date": "2026-05-25T10:06:41.000Z",
      "commit": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
      "fileid": "5da733681084b5c14eb49579d8e4622a302dce13c9c89821b13c8c852254b02e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hyunseungkang/actions/runs/26394828516"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.9.1",
      "date": "2026-05-25T10:05:53.000Z",
      "commit": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
      "fileid": "64ad1f0942a3a1c76f7ea3edbeca185651877d614f816f4be1554530320195c0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hyunseungkang/actions/runs/26394828516"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.9.1",
      "date": "2026-05-25T10:05:44.000Z",
      "commit": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
      "fileid": "44ff48a2c27d0b50141cbb2b43c65a6b4206f27e22cdd1c24b91cf2ee7dc712e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hyunseungkang/actions/runs/26394828516"
    }
  ]
}