{
  "_id": "6a11446cacfb0bcc41ce73af",
  "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://mrcieu.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-23 06:05:33 UTC",
    "User": "root"
  },
  "MD5sum": "a435ecb7f043fd77556b71304e7f26a2",
  "_user": "mrcieu",
  "_type": "src",
  "_file": "ivmodel_1.9.1.tar.gz",
  "_fileid": "c34a04066073901534ae060da4516e0a5d3f264223b9a417568ca55a89edeb95",
  "_filesize": 506308,
  "_sha256": "c34a04066073901534ae060da4516e0a5d3f264223b9a417568ca55a89edeb95",
  "_created": "2026-05-23T06:05:33.000Z",
  "_published": "2026-05-23T06:08:44.454Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77501939622,
      "time": 158,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7174801682"
    },
    {
      "job": 77501939613,
      "time": 158,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7174801607"
    },
    {
      "job": 77501939612,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7174793261"
    },
    {
      "job": 77501939617,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7174794422"
    },
    {
      "job": 77501785320,
      "time": 160,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174782833"
    },
    {
      "job": 77501939615,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174795166"
    },
    {
      "job": 77501939616,
      "time": 117,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7174796964"
    },
    {
      "job": 77501939636,
      "time": 121,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7174797534"
    },
    {
      "job": 77501939638,
      "time": 105,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7174795291"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26325287664",
  "_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": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 10,
  "_contributors": [
    {
      "user": "hyunseungkang",
      "count": 70,
      "uuid": 22965055
    },
    {
      "user": "qingyuanzhao",
      "count": 5,
      "uuid": 3944837
    }
  ],
  "_userbio": {
    "uuid": 15654827,
    "type": "organization",
    "name": "MRC Integrative Epidemiology Unit"
  },
  "_downloads": {
    "count": 514,
    "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": false,
  "_nocasepkg": "ivmodel",
  "_universes": [
    "mrcieu"
  ],
  "_indexurl": "https://hyunseungkang.r-universe.dev/ivmodel",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.9.1",
      "date": "2026-05-23T06:07:41.000Z",
      "distro": "noble",
      "commit": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
      "fileid": "d3838cad58e961ff14e9d884dd92a9898b02b29b8fc96d49174b57ec13f1f49e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26325287664"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.9.1",
      "date": "2026-05-23T06:07:40.000Z",
      "distro": "noble",
      "commit": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
      "fileid": "03a98701918134d6611e370e857f52480a564102048b720fc716208095522c19",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26325287664"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.9.1",
      "date": "2026-05-23T06:06:55.000Z",
      "commit": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
      "fileid": "43100412f852e29d5c97a002408effd9acd36b8b3dcd49c84d9a60a14a161729",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26325287664"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.9.1",
      "date": "2026-05-23T06:06:59.000Z",
      "commit": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
      "fileid": "be5becd8fe4279ee0b533f10ffa55ff8d257cc6a9c7686bbfc562102a986aa46",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26325287664"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.9.1",
      "date": "2026-05-23T06:07:34.000Z",
      "commit": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
      "fileid": "fd471aa814fce06b09f660182deec812486d77cd6c5786badb628f575bb5e22e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26325287664"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.9.1",
      "date": "2026-05-23T06:06:49.000Z",
      "commit": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
      "fileid": "f9c3b3aac4e9ed3c98c2b9996c6295ad828134993f2bf039ebac7d498364940c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26325287664"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.9.1",
      "date": "2026-05-23T06:07:00.000Z",
      "commit": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
      "fileid": "702a8f2c55709db3c2a5ce5809bc353e98ee304a0c0a37cd7e47ed6d2e0057cb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26325287664"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.9.1",
      "date": "2026-05-23T06:06:42.000Z",
      "commit": "825fa71c52961bc8b1066f6acb1bd24e93abcbba",
      "fileid": "eb157641dbfd6c096a557beb12f2749b335a3fb59224e65f626ac9445bd9c8ea",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26325287664"
    }
  ]
}