{
  "_id": "6a1f2e9eb401979e73426b0b",
  "Package": "QualityMeasure",
  "Title": "Methods for Analyzing Quality Measure Performance",
  "Version": "2.0.1",
  "Date": "2025-10-09",
  "Authors@R": "person(\"Kenneth\", \"Nieser\", , \"nieser@stanford.edu\", role = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Quality of care is compared across accountable entities,\nincluding hospitals, provider groups, and insurance plans,\nusing standardized quality measures. However, observed\nvariations in quality measure performance might be the result\nof chance sampling or measurement errors. Contains functions\nfor estimating the reliability of unadjusted and\nrisk-standardized quality measures.",
  "License": "GPL (>= 3)",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-15 09:24:50 UTC",
    "User": "root"
  },
  "Author": "Kenneth Nieser [aut, cre, cph]",
  "Maintainer": "Kenneth Nieser <nieser@stanford.edu>",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://knieser.r-universe.dev",
  "Date/Publication": "2025-10-16 12:20:11 UTC",
  "RemoteUrl": "https://github.com/cran/QualityMeasure",
  "RemoteRef": "HEAD",
  "RemoteSha": "822f421d3310ededf919625a3b95745c0c162c76",
  "MD5sum": "167ea8e0e30cc856c08f3ef850cdcf3f",
  "_user": "knieser",
  "_type": "src",
  "_file": "QualityMeasure_2.0.1.tar.gz",
  "_fileid": "2655d5d28f0579c8f10db7a2c4e7681c7f32a323c41a286b3b46a8c5b0cb14c2",
  "_filesize": 2481400,
  "_sha256": "2655d5d28f0579c8f10db7a2c4e7681c7f32a323c41a286b3b46a8c5b0cb14c2",
  "_created": "2026-05-15T09:24:50.000Z",
  "_published": "2026-06-02T19:27:26.387Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79154307640,
      "time": 271,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7014075071"
    },
    {
      "job": 79154307987,
      "time": 296,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014080587"
    },
    {
      "job": 79154308191,
      "time": 258,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7014059556"
    },
    {
      "job": 79154307972,
      "time": 281,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014067565"
    },
    {
      "job": 79154307364,
      "time": 208,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013994529"
    },
    {
      "job": 79154307342,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367733157"
    },
    {
      "job": 79154307988,
      "time": 272,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7014073258"
    },
    {
      "job": 79154308107,
      "time": 222,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7014059124"
    },
    {
      "job": 79154308038,
      "time": 228,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014060888"
    }
  ],
  "_buildurl": "https://github.com/r-universe/knieser/actions/runs/25910308434",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/QualityMeasure",
  "_commit": {
    "id": "822f421d3310ededf919625a3b95745c0c162c76",
    "author": "Kenneth Nieser <nieser@stanford.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.0.1\n",
    "time": 1760617211
  },
  "_maintainer": {
    "name": "Kenneth Nieser",
    "email": "nieser@stanford.edu",
    "login": "knieser",
    "uuid": 47377925
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "doParallel",
      "role": "Depends"
    },
    {
      "package": "lme4",
      "role": "Depends"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.0.1",
      "date": "2025-10-16"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "knieser",
      "count": 1,
      "uuid": 47377925
    }
  ],
  "_userbio": {
    "uuid": 47377925,
    "type": "user",
    "name": "Ken Nieser",
    "description": "Postdoctoral researcher at Stanford University and VA Palo Alto"
  },
  "_downloads": {
    "count": 182,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/QualityMeasure"
  },
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/QualityMeasure.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "knieser",
  "_cranurl": false,
  "_releases": [
    {
      "version": "2.0.1",
      "date": "2025-10-16"
    }
  ],
  "_exports": [
    "calcAOV",
    "calcBetaBin",
    "calcHLGMRel",
    "calcHLMRel",
    "calcPerformance",
    "calcReliability",
    "calcResamplingIUR",
    "calcSSR",
    "controlPerf",
    "controlRel",
    "model_performance",
    "plotCalibration",
    "plotEstimates",
    "plotN",
    "plotPerformance",
    "plotPredictedDistribution",
    "plotReliability",
    "simulateData"
  ],
  "_datasets": [
    {
      "name": "colonoscopy",
      "title": "Colonoscopy follow-up data",
      "object": "colonoscopy",
      "class": [
        "data.frame"
      ],
      "fields": [
        "entity",
        "p",
        "n",
        "x"
      ],
      "rows": 2836,
      "table": true,
      "tojson": true
    },
    {
      "name": "example_df_1",
      "title": "Example data set used in tutorial",
      "object": "example_df_1",
      "class": [
        "data.frame"
      ],
      "fields": [
        "entity",
        "z",
        "x1",
        "lp",
        "p",
        "y"
      ],
      "rows": 5011,
      "table": true,
      "tojson": true
    },
    {
      "name": "example_df_2",
      "title": "Example data set with a covariate used in tutorial",
      "object": "example_df_2",
      "class": [
        "data.frame"
      ],
      "fields": [
        "entity",
        "z",
        "x1",
        "lp",
        "p",
        "y"
      ],
      "rows": 5011,
      "table": true,
      "tojson": true
    },
    {
      "name": "psychreadmission",
      "title": "Psychiatric 30-day, unplanned readmission data",
      "object": "psychreadmission",
      "class": [
        "data.frame"
      ],
      "fields": [
        "entity",
        "category",
        "n",
        "rate",
        "rate.lwr",
        "rate.upr"
      ],
      "rows": 1224,
      "table": true,
      "tojson": true
    },
    {
      "name": "tutorial_BB_agg_results",
      "title": "Beta-Binomial reliability results for example aggregated data set used in tutorial",
      "object": "tutorial_BB_agg_results",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "tutorial_BB_results",
      "title": "Beta-Binomial reliability results for example data set used in tutorial",
      "object": "tutorial_BB_results",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "tutorial_profiling_results",
      "title": "Risk-adjusted profiling results for example data set used in tutorial",
      "object": "tutorial_profiling_results",
      "class": [
        "data.frame"
      ],
      "fields": [
        "entities",
        "n",
        "observed",
        "predicted",
        "expected",
        "p",
        "p.lwr",
        "p.upr",
        "p.re",
        "rank.p",
        "oe",
        "oe.lwr",
        "oe.upr",
        "rank.oe",
        "pe",
        "pe.median",
        "pe.lwr",
        "pe.upr",
        "rank.pe",
        "rs.oe",
        "rs.oe.lwr",
        "rs.oe.upr",
        "category.oe",
        "rs.pe",
        "rs.pe.lwr",
        "rs.pe.upr",
        "category.pe",
        "rs.direct",
        "rs.direct.lwr",
        "rs.direct.upr",
        "category.direct",
        "intercept.OR",
        "intercept.OR.lwr",
        "intercept.OR.upr",
        "intercept.sig"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "tutorial_reliability_results_1",
      "title": "Reliability results for example data set used in tutorial",
      "object": "tutorial_reliability_results_1",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "tutorial_reliability_results_2",
      "title": "Reliability results for example data set with risk adjustment used in tutorial",
      "object": "tutorial_reliability_results_2",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "calcAOV",
      "title": "Calculate reliability using one-way ANOVA method",
      "topics": [
        "calcAOV"
      ]
    },
    {
      "page": "calcBetaBin",
      "title": "Calculate reliability using a Beta-Binomial model",
      "topics": [
        "calcBetaBin"
      ]
    },
    {
      "page": "calcHLGMRel",
      "title": "Calculate reliability using a hierarchical logistic regression model",
      "topics": [
        "calcHLGMRel"
      ]
    },
    {
      "page": "calcHLMRel",
      "title": "Calculate reliability using a hierarchical linear regression model",
      "topics": [
        "calcHLMRel"
      ]
    },
    {
      "page": "calcPerformance",
      "title": "Calculate measure performance by accountable entity",
      "topics": [
        "calcPerformance"
      ]
    },
    {
      "page": "calcReliability",
      "title": "Calculate reliability of quality measure performance",
      "topics": [
        "calcReliability"
      ]
    },
    {
      "page": "calcResamplingIUR",
      "title": "Calculate reliability using resampling inter-unit reliability method",
      "topics": [
        "calcResamplingIUR"
      ]
    },
    {
      "page": "calcSSR",
      "title": "Calculate reliability using split-sample method",
      "topics": [
        "calcSSR"
      ]
    },
    {
      "page": "colonoscopy",
      "title": "Colonoscopy follow-up data",
      "topics": [
        "colonoscopy"
      ]
    },
    {
      "page": "controlPerf",
      "title": "Parameters for performance calculations",
      "topics": [
        "controlPerf"
      ]
    },
    {
      "page": "controlRel",
      "title": "Parameters for reliability calculations",
      "topics": [
        "controlRel"
      ]
    },
    {
      "page": "example_df_1",
      "title": "Example data set used in tutorial",
      "topics": [
        "example_df_1"
      ]
    },
    {
      "page": "example_df_2",
      "title": "Example data set with a covariate used in tutorial",
      "topics": [
        "example_df_2"
      ]
    },
    {
      "page": "misclassification_analysis",
      "title": "Calculate misclassification probabilities (in progress)",
      "topics": [
        "misclassification_analysis"
      ]
    },
    {
      "page": "model_performance",
      "title": "Calculate model performance",
      "topics": [
        "model_performance"
      ]
    },
    {
      "page": "plotCalibration",
      "title": "Plot calibration curve for risk-adjustment model",
      "topics": [
        "plotCalibration"
      ]
    },
    {
      "page": "plotEstimates",
      "title": "Plot estimates from regression model used for risk-adjustment",
      "topics": [
        "plotEstimates"
      ]
    },
    {
      "page": "plotN",
      "title": "Plot sample size distribution across accountable entities",
      "topics": [
        "plotN"
      ]
    },
    {
      "page": "plotPerformance",
      "title": "Plot measure performance across accountable entities",
      "topics": [
        "plotPerformance"
      ]
    },
    {
      "page": "plotPredictedDistribution",
      "title": "Plot densities of predicted values by outcome group",
      "topics": [
        "plotPredictedDistribution"
      ]
    },
    {
      "page": "plotReliability",
      "title": "Plot distributions of reliability estimates across entities",
      "topics": [
        "plotReliability"
      ]
    },
    {
      "page": "plotSSR",
      "title": "Example plot of values used to calcualte split-sample reliability.",
      "topics": [
        "plotSSR"
      ]
    },
    {
      "page": "psychreadmission",
      "title": "Psychiatric 30-day, unplanned readmission data",
      "topics": [
        "psychreadmission"
      ]
    },
    {
      "page": "simulateData",
      "title": "Simulate data",
      "topics": [
        "simulateData"
      ]
    },
    {
      "page": "tutorial_BB_agg_results",
      "title": "Beta-Binomial reliability results for example aggregated data set used in tutorial",
      "topics": [
        "tutorial_BB_agg_results"
      ]
    },
    {
      "page": "tutorial_BB_results",
      "title": "Beta-Binomial reliability results for example data set used in tutorial",
      "topics": [
        "tutorial_BB_results"
      ]
    },
    {
      "page": "tutorial_profiling_results",
      "title": "Risk-adjusted profiling results for example data set used in tutorial",
      "topics": [
        "tutorial_profiling_results"
      ]
    },
    {
      "page": "tutorial_reliability_results_1",
      "title": "Reliability results for example data set used in tutorial",
      "topics": [
        "tutorial_reliability_results_1"
      ]
    },
    {
      "page": "tutorial_reliability_results_2",
      "title": "Reliability results for example data set with risk adjustment used in tutorial",
      "topics": [
        "tutorial_reliability_results_2"
      ]
    }
  ],
  "_readme": "https://github.com/cran/QualityMeasure/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "cli",
    "codetools",
    "cpp11",
    "doParallel",
    "farver",
    "foreach",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "Colonoscopy_Measure_Example.Rmd",
      "filename": "Colonoscopy_Measure_Example.html",
      "title": "Colonoscopy follow-up measure example",
      "author": "Kenneth Nieser",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-10-16 12:20:11",
      "modified": "2025-10-16 12:20:11",
      "commits": 1
    },
    {
      "source": "Psych_Readmission_Rate_Example.Rmd",
      "filename": "Psych_Readmission_Rate_Example.html",
      "title": "Profiling hospitals based on psychiatric readmission rates",
      "author": "Kenneth Nieser",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-10-16 12:20:11",
      "modified": "2025-10-16 12:20:11",
      "commits": 1
    },
    {
      "source": "Tutorial.Rmd",
      "filename": "Tutorial.html",
      "title": "Tutorial of QualityMeasure functions",
      "author": "Kenneth Nieser",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example #1: Measures without risk adjustment",
        "Simulate data",
        "Provider profiling analyses",
        "Number of observations per entity",
        "Unadjusted rates across entities",
        "Plot of ORs comparing each entity with the average",
        "Beta-binomial-based reliability estimates",
        "Calculate reliability from all methods",
        "Example #2: Measures with risk adjustment",
        "Fit risk adjustment model to the data",
        "Estimates of model parameters",
        "Discrimination",
        "Calibration",
        "OE-risk-standardized rates across entities",
        "PE-risk-standardized rates across entities"
      ],
      "created": "2025-10-16 12:20:11",
      "modified": "2025-10-16 12:20:11",
      "commits": 1
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "qualitymeasure",
  "_universes": [
    "knieser"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-05-15T09:27:18.000Z",
      "distro": "noble",
      "commit": "822f421d3310ededf919625a3b95745c0c162c76",
      "fileid": "0bfc5577694b7f022460f9cfc52a4b136901f0013b09d424638e9a840c3b472e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/knieser/actions/runs/25910308434"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-05-15T09:27:37.000Z",
      "distro": "noble",
      "commit": "822f421d3310ededf919625a3b95745c0c162c76",
      "fileid": "4aa045b72d4c3c3d6e40ae5daf0428ccbdc738937df55237fd691903e17ccb42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/knieser/actions/runs/25910308434"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-05-15T09:27:14.000Z",
      "commit": "822f421d3310ededf919625a3b95745c0c162c76",
      "fileid": "34048b44d967429de40423c019395bff869d62ffcb242111262be2d8d6507873",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/knieser/actions/runs/25910308434"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-05-15T09:27:13.000Z",
      "commit": "822f421d3310ededf919625a3b95745c0c162c76",
      "fileid": "7cf919326307ec0c400315f2a950ec7261344586bef0ab41d4866734de8552c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/knieser/actions/runs/25910308434"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-05-15T09:26:24.000Z",
      "commit": "822f421d3310ededf919625a3b95745c0c162c76",
      "fileid": "343fdd032c412d7a5b5158180ec76b47e065b82c4910ed81b57d55d62c79770c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/knieser/actions/runs/25910308434"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-05-15T09:26:08.000Z",
      "commit": "822f421d3310ededf919625a3b95745c0c162c76",
      "fileid": "c8d8afd6d7d65270725d9371f35f1a26e4319cb77e2571299bf083557c0e5706",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/knieser/actions/runs/25910308434"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-05-15T09:26:13.000Z",
      "commit": "822f421d3310ededf919625a3b95745c0c162c76",
      "fileid": "79f1fe3de0117d320fa1c2eee9fcb4f5e4839e7d54b1fd2a3a0b27e4f6d89d09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/knieser/actions/runs/25910308434"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.1",
      "date": "2026-06-02T19:27:04.000Z",
      "commit": "822f421d3310ededf919625a3b95745c0c162c76",
      "fileid": "3b995bb3f06748219ca50842e1273bb82362eff733cfb379c6ccc313c04a7e2b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/knieser/actions/runs/25910308434"
    }
  ]
}