{
  "_id": "6acdfa2fa14063b82c3add2e",
  "Type": "Package",
  "Package": "multilevelPSA",
  "Title": "Multilevel Propensity Score Analysis",
  "Version": "1.3.1",
  "Date": "2025-11-17",
  "Authors@R": "person(\"Jason\", \"Bryer\", , \"jason@bryer.org\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-2454-0402\"))",
  "Description": "Conducts and visualizes propensity score analysis for\nmultilevel, or clustered data. Bryer & Pruzek (2011)\n<doi:10.1080/00273171.2011.636693>.",
  "License": "GPL (>= 2)",
  "URL": "https://jbryer.github.io/multilevelPSA/",
  "BugReports": "https://github.com/jbryer/multilevelPSA/issues/",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Repository": "https://jbryer.r-universe.dev",
  "Date/Publication": "2025-11-17 15:36:22 UTC",
  "RemoteUrl": "https://github.com/jbryer/multilevelpsa",
  "RemoteRef": "HEAD",
  "RemoteSha": "2b197303c262aa364087d4dfd7eda0b850ca1c98",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-13 09:19:51 UTC",
    "User": "root"
  },
  "Author": "Jason Bryer [aut, cre] (ORCID: <https://orcid.org/0000-0002-2454-0402>)",
  "Maintainer": "Jason Bryer <jason@bryer.org>",
  "_user": "jbryer",
  "_type": "src",
  "_file": "multilevelPSA_1.3.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/5209368e2bfe69f43260ca23376bcec1742e4ba6e265354c93799d609bb761a5",
  "_filesize": 3561244,
  "_sha256": "5209368e2bfe69f43260ca23376bcec1742e4ba6e265354c93799d609bb761a5",
  "_expires": "2027-01-21T09:30:20.000Z",
  "_created": "2026-10-13T09:19:51.000Z",
  "_published": "2026-10-13T09:30:23.194Z",
  "_buildurl": "https://github.com/r-universe/jbryer/actions/runs/38374953897",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115223010577,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11800514997"
    },
    {
      "job": 115223010545,
      "time": 166,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11801705786"
    },
    {
      "job": 115223010762,
      "time": 124,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11801717036"
    },
    {
      "job": 115223010582,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11801092602"
    },
    {
      "job": 115221038489,
      "time": 295,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11801635619"
    },
    {
      "job": 115223010464,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11801386075"
    },
    {
      "job": 115223010763,
      "time": 125,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11800654018"
    },
    {
      "job": 115223010601,
      "time": 125,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11800997006"
    },
    {
      "job": 115223010478,
      "time": 111,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11800514775"
    }
  ],
  "_upstream": "https://github.com/jbryer/multilevelpsa",
  "_commit": {
    "id": "2b197303c262aa364087d4dfd7eda0b850ca1c98",
    "author": "Jason Bryer <jason@bryer.org>",
    "committer": "Jason Bryer <jason@bryer.org>",
    "message": "Updated documentation.\n",
    "time": 1763393782
  },
  "_maintainer": {
    "name": "Jason Bryer",
    "email": "jason@bryer.org",
    "login": "jbryer",
    "mastodon": "@jbryer@vis.social",
    "orcid": "0000-0002-2454-0402",
    "twitter": "@jbryer",
    "description": "Assistant Professor and Associate Director, Data Science and Information Systems, School of Professional Studies, CUNY",
    "uuid": 623759
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 3.0",
      "role": "Depends"
    },
    {
      "package": "xtable",
      "role": "Depends"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "party",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "PSAgraphics",
      "role": "Imports"
    },
    {
      "package": "psych",
      "role": "Imports"
    },
    {
      "package": "reshape",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "MatchIt",
      "role": "Suggests"
    },
    {
      "package": "mice",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "jbryer",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-47",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 16,
  "_contributors": [
    {
      "user": "jbryer",
      "count": 149,
      "uuid": 623759
    },
    {
      "user": "compstats",
      "count": 6,
      "uuid": 3411643
    }
  ],
  "_userbio": {
    "uuid": 623759,
    "type": "user",
    "name": "Jason Bryer",
    "followers": 342,
    "description": "Assistant Professor and Associate Director, Data Science and Information Systems, School of Professional Studies, CUNY"
  },
  "_downloads": {
    "count": 416,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/multilevelPSA"
  },
  "_devurl": "https://github.com/jbryer/multilevelpsa",
  "_pkgdown": "https://jbryer.github.io/multilevelPSA/",
  "_searchresults": 101,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/multilevelPSA.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/jbryer/multilevelpsa",
  "_realowner": "jbryer",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2013-02-13"
    },
    {
      "version": "1.2",
      "date": "2013-05-10"
    },
    {
      "version": "1.2.2",
      "date": "2014-11-25"
    },
    {
      "version": "1.2.3",
      "date": "2015-11-05"
    },
    {
      "version": "1.2.4",
      "date": "2015-12-28"
    },
    {
      "version": "1.2.5",
      "date": "2018-03-22"
    },
    {
      "version": "1.3.0",
      "date": "2025-04-04"
    },
    {
      "version": "1.3.1",
      "date": "2025-11-17"
    }
  ],
  "_exports": [
    "covariate.balance",
    "difftable.plot",
    "getPropensityScores",
    "getStrata",
    "is.mlpsa",
    "loess.plot",
    "lsos",
    "missing.plot",
    "mlpsa",
    "mlpsa.circ.plot",
    "mlpsa.ctree",
    "mlpsa.difference.plot",
    "mlpsa.distribution.plot",
    "mlpsa.logistic",
    "psrange",
    "tree.plot"
  ],
  "_datasets": [
    {
      "name": "pisa.colnames",
      "title": "Mapping of variables in 'pisana' with full descriptions.",
      "object": "pisa.colnames",
      "file": "pisa.colnames.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Variable",
        "ShortDesc",
        "Desc"
      ],
      "rows": 50,
      "table": true,
      "tojson": true
    },
    {
      "name": "pisa.countries",
      "title": "Data frame mapping PISA countries to their three letter abbreviation.",
      "object": "pisa.countries",
      "file": "pisa.countries.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "CNT3",
        "Country"
      ],
      "rows": 65,
      "table": true,
      "tojson": true
    },
    {
      "name": "pisa.psa.cols",
      "title": "Character vector representing the list of covariates used for estimating propensity scores.",
      "object": "pisa.psa.cols",
      "file": "pisa.psa.cols.rda",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "pisana",
      "title": "North American (i.e. Canada, Mexico, and United States) student results of the 2009 Programme of International Student Assessment.",
      "object": "pisana",
      "file": "pisana.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Country",
        "CNT",
        "SCHOOLID",
        "ST01Q01",
        "ST04Q01",
        "ST05Q01",
        "ST06Q01",
        "ST07Q01",
        "ST08Q01",
        "ST08Q02",
        "ST08Q03",
        "ST08Q04",
        "ST08Q05",
        "ST08Q06",
        "ST10Q01",
        "ST12Q01",
        "ST14Q01",
        "ST16Q01",
        "ST19Q01",
        "ST20Q01",
        "ST20Q02",
        "ST20Q03",
        "ST20Q04",
        "ST20Q05",
        "ST20Q06",
        "ST20Q07",
        "ST20Q08",
        "ST20Q09",
        "ST20Q10",
        "ST20Q12",
        "ST20Q13",
        "ST20Q14",
        "ST21Q01",
        "ST21Q02",
        "ST21Q03",
        "ST21Q04",
        "ST21Q05",
        "ST22Q01",
        "ST23Q01",
        "ST31Q01",
        "ST31Q02",
        "ST31Q03",
        "ST31Q05",
        "ST31Q06",
        "ST31Q07",
        "ST32Q01",
        "ST32Q02",
        "ST32Q03",
        "PV1MATH",
        "PV2MATH",
        "PV3MATH",
        "PV4MATH",
        "PV5MATH",
        "PV1READ",
        "PV2READ",
        "PV3READ",
        "PV4READ",
        "PV5READ",
        "PV1SCIE",
        "PV2SCIE",
        "PV3SCIE",
        "PV4SCIE",
        "PV5SCIE",
        "PUBPRIV",
        "STRATIO"
      ],
      "rows": 66548,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "multilevelPSA-package",
      "title": "Multilevel Propensity Score Analysis",
      "topics": [
        "multilevelPSA-package",
        "multilevelPSA"
      ]
    },
    {
      "page": "align.plots",
      "title": "Adapted from ggExtra package which is no longer available. This is related to an experimental mlpsa plot that will combine the circular plot along with the two individual distributions.",
      "topics": [
        "align.plots"
      ]
    },
    {
      "page": "as.data.frame.covariate.balance",
      "title": "Returns the overall effects as a data frame.",
      "topics": [
        "as.data.frame.covariate.balance"
      ]
    },
    {
      "page": "covariate.balance",
      "title": "Estimate covariate effect sizes before and after propensity score adjustment.",
      "topics": [
        "covariate.balance"
      ]
    },
    {
      "page": "covariateBalance",
      "title": "Calculate covariate effect size differences before and after stratification.",
      "topics": [
        "covariateBalance"
      ]
    },
    {
      "page": "cv.trans.psa",
      "title": "Transformation of Factors to Individual Levels",
      "topics": [
        "cv.trans.psa"
      ]
    },
    {
      "page": "difftable.plot",
      "title": "This function produces a ggplot2 figure containing the mean differences for each level two, or cluster.",
      "topics": [
        "difftable.plot"
      ]
    },
    {
      "page": "getPropensityScores",
      "title": "Returns a data frame with two columns corresponding to the level 2 variable and the fitted value from the logistic regression.",
      "topics": [
        "getPropensityScores"
      ]
    },
    {
      "page": "getStrata",
      "title": "Returns a data frame with two columns corresponding to the level 2 variable and the leaves from the conditional inference trees.",
      "topics": [
        "getStrata"
      ]
    },
    {
      "page": "is.mlpsa",
      "title": "Returns true if the object is of type 'mlpsa'",
      "topics": [
        "is.mlpsa"
      ]
    },
    {
      "page": "loess.plot",
      "title": "Loess plot with density distributions for propensity scores and outcomes on top and right, respectively.",
      "topics": [
        "loess.plot"
      ]
    },
    {
      "page": "lsos",
      "title": "Nicer list of objects in memory. Particularly useful for analysis of large data. https://stackoverflow.com/questions/1358003/tricks-to-manage-the-available-memory-in-an-r-session",
      "topics": [
        "lsos"
      ]
    },
    {
      "page": "missing.plot",
      "title": "Returns a heat map graphic representing missingness of variables grouped by the given grouping vector.",
      "topics": [
        "missing.plot"
      ]
    },
    {
      "page": "mlpsa",
      "title": "This function will perform phase II of the multilevel propensity score analysis.",
      "topics": [
        "mlpsa"
      ]
    },
    {
      "page": "mlpsa.circ.plot",
      "title": "Plots the results of a multilevel propensity score model.",
      "topics": [
        "mlpsa.circ.plot"
      ]
    },
    {
      "page": "mlpsa.ctree",
      "title": "Estimates propensity scores using the recursive partitioning in a conditional inference framework.",
      "topics": [
        "mlpsa.ctree"
      ]
    },
    {
      "page": "mlpsa.difference.plot",
      "title": "Creates a graphic summarizing the differences between treatment and comparison groups within and across level two clusters.",
      "topics": [
        "mlpsa.difference.plot"
      ]
    },
    {
      "page": "mlpsa.distribution.plot",
      "title": "Plots distribution for either the treatment or comparison group.",
      "topics": [
        "mlpsa.distribution.plot"
      ]
    },
    {
      "page": "mlpsa.logistic",
      "title": "Estimates propensity scores using logistic regression.",
      "topics": [
        "mlpsa.logistic"
      ]
    },
    {
      "page": "pisa.colnames",
      "title": "Mapping of variables in `pisana` with full descriptions.",
      "topics": [
        "pisa.colnames"
      ]
    },
    {
      "page": "pisa.countries",
      "title": "Data frame mapping PISA countries to their three letter abbreviation.",
      "topics": [
        "pisa.countries"
      ]
    },
    {
      "page": "pisa.psa.cols",
      "title": "Character vector representing the list of covariates used for estimating propensity scores.",
      "topics": [
        "pisa.psa.cols"
      ]
    },
    {
      "page": "pisana",
      "title": "North American (i.e. Canada, Mexico, and United States) student results of the 2009 Programme of International Student Assessment.",
      "topics": [
        "pisana"
      ]
    },
    {
      "page": "plot.covariate.balance",
      "title": "Multiple covariate balance assessment plot.",
      "topics": [
        "plot.covariate.balance"
      ]
    },
    {
      "page": "plot.mlpsa",
      "title": "Plots the results of a multilevel propensity score model.",
      "topics": [
        "plot.mlpsa"
      ]
    },
    {
      "page": "plot.psrange",
      "title": "Plots densities and ranges for the propensity scores.",
      "topics": [
        "plot.psrange"
      ]
    },
    {
      "page": "print.covariate.balance",
      "title": "Prints the overall effects before and after propensity score adjustment.",
      "topics": [
        "print.covariate.balance"
      ]
    },
    {
      "page": "print.mlpsa",
      "title": "Prints basic information about a 'mlpsa' class.",
      "topics": [
        "print.mlpsa"
      ]
    },
    {
      "page": "print.psrange",
      "title": "Prints information about a psrange result.",
      "topics": [
        "print.psrange"
      ]
    },
    {
      "page": "print.xmlpsa",
      "title": "Prints the results of [mlpsa()] and [xtable.mlpsa()].",
      "topics": [
        "print.xmlpsa"
      ]
    },
    {
      "page": "psrange",
      "title": "Estimates models with increasing number of comparison subjects starting from 1:1 to using all available comparison group subjects.",
      "topics": [
        "psrange"
      ]
    },
    {
      "page": "summary.mlpsa",
      "title": "Provides a summary of a 'mlpsa' class.",
      "topics": [
        "summary.mlpsa"
      ]
    },
    {
      "page": "summary.psrange",
      "title": "Prints the summary results of psrange.",
      "topics": [
        "summary.psrange"
      ]
    },
    {
      "page": "tree.plot",
      "title": "Heat map representing variables used in a conditional inference tree across level 2 variables.",
      "topics": [
        "tree.plot"
      ]
    },
    {
      "page": "xtable.mlpsa",
      "title": "Prints the results of [mlpsa()] as a LaTeX table.",
      "topics": [
        "xtable.mlpsa"
      ]
    }
  ],
  "_readme": "https://github.com/jbryer/multilevelpsa/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "coin",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "GPArotation",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "libcoin",
    "lifecycle",
    "MASS",
    "Matrix",
    "matrixStats",
    "mnormt",
    "modeltools",
    "multcomp",
    "mvtnorm",
    "nlme",
    "party",
    "plyr",
    "PSAgraphics",
    "psych",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "reshape",
    "rlang",
    "rpart",
    "S7",
    "sandwich",
    "scales",
    "strucchange",
    "survival",
    "TH.data",
    "vctrs",
    "viridisLite",
    "withr",
    "xtable",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "multilevelPSA.Rmd",
      "filename": "multilevelPSA.html",
      "title": "Multilevel Propensity Score Analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Working Example"
      ],
      "created": "2025-04-03 13:37:33",
      "modified": "2025-04-03 13:37:33",
      "commits": 1
    },
    {
      "source": "shrinking_fitted_values.Rmd",
      "filename": "shrinking_fitted_values.html",
      "title": "Shrinking Fitted Values from Logistic Regression",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-11-17 15:32:49",
      "modified": "2025-11-17 15:32:49",
      "commits": 1
    }
  ],
  "_score": 6.208441356438568,
  "_indexed": true,
  "_nocasepkg": "multilevelpsa",
  "_universes": [
    "jbryer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.1",
      "date": "2026-10-13T09:22:15.000Z",
      "distro": "resolute",
      "commit": "2b197303c262aa364087d4dfd7eda0b850ca1c98",
      "fileid": "https://r2.ropensci.org/38085318072409487cd1056ce2520071362b4af130b2ca09879bda23baea030f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/38374953897"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.1",
      "date": "2026-10-13T09:22:18.000Z",
      "distro": "resolute",
      "commit": "2b197303c262aa364087d4dfd7eda0b850ca1c98",
      "fileid": "https://r2.ropensci.org/e5aa6a3dbbc04f089f5b77f370248093665005f4bf5b53e51c494945236598c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/38374953897"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.1",
      "date": "2026-10-13T09:29:14.000Z",
      "commit": "2b197303c262aa364087d4dfd7eda0b850ca1c98",
      "fileid": "https://r2.ropensci.org/67108f3461dc2b057e1f98bace0703d2549462c21504d76ce650523676562807",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/38374953897"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.3.1",
      "date": "2026-10-13T09:27:37.000Z",
      "commit": "2b197303c262aa364087d4dfd7eda0b850ca1c98",
      "fileid": "https://r2.ropensci.org/51ecdb95004dc436fe6280333c51c40c17069d6567764b1bdc7df423aaedc409",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/38374953897"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.1",
      "date": "2026-10-13T09:22:04.000Z",
      "commit": "2b197303c262aa364087d4dfd7eda0b850ca1c98",
      "fileid": "https://r2.ropensci.org/787be7f75f79d04d4ada4d829ccd5af728617c54f48977315a082577bb853bda",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/38374953897"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.1",
      "date": "2026-10-13T09:21:28.000Z",
      "commit": "2b197303c262aa364087d4dfd7eda0b850ca1c98",
      "fileid": "https://r2.ropensci.org/d322ab83f4483ad73079985ab87ee7273b774a1be08d5cec01deb0b0571420fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/38374953897"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.1",
      "date": "2026-10-13T09:21:21.000Z",
      "commit": "2b197303c262aa364087d4dfd7eda0b850ca1c98",
      "fileid": "https://r2.ropensci.org/3592dd357e2fbbd32af1097741c5c758cef149e78026e22780f12676d4b8ce28",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/38374953897"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.1",
      "date": "2026-10-13T09:21:12.000Z",
      "commit": "2b197303c262aa364087d4dfd7eda0b850ca1c98",
      "fileid": "https://r2.ropensci.org/be79afed21081b9bf27def223f3f9ebb2754f8dc8e870006a7c7b83f9fc9585b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/38374953897"
    }
  ]
}