{
  "_id": "6a169003acfb0bcc41d78354",
  "Package": "PUMP",
  "Type": "Package",
  "Title": "Power Under Multiplicity Project",
  "Version": "1.0.4",
  "Authors@R": "c(\nperson(\"Luke\", \"Miratrix\", email = \"luke_miratrix@gse.harvard.edu\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-0078-1906\")),\nperson(\"Kristen\", \"Hunter\", email = \"kristen.hunter@unsw.edu.au\", role = c(\"aut\"), comment = c(ORCID = \"0000-0002-5678-4620\")),\nperson(\"Zarni\", \"Htet\", role = \"aut\"),\nperson(\"Kristin\", \"Porter\", email = \"kristin.porter@keporterconsulting.com\", role = \"aut\"),\nperson(\"MDRC\", role = \"cph\"),\nperson(\"Institute of Education Sciences\", role = \"fnd\")\n)",
  "Description": "Estimates power, minimum detectable effect size (MDES) and\nsample size requirements. The context is multilevel randomized\nexperiments with multiple outcomes. The estimation takes into\naccount the use of multiple testing procedures. Development of\nthis package was supported by a grant from the Institute of\nEducation Sciences (R305D170030). For a full package\ndescription, including a detailed technical appendix, see\n<doi:10.18637/jss.v108.i06>.",
  "URL": "https://github.com/MDRCNY/PUMP, https://mdrcny.github.io/PUMP/",
  "BugReports": "https://github.com/MDRCNY/PUMP/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libicu-dev libx11-dev",
  "Repository": "https://mdrcny.r-universe.dev",
  "Date/Publication": "2026-04-27 18:14:50 UTC",
  "RemoteUrl": "https://github.com/mdrcny/pump",
  "RemoteRef": "HEAD",
  "RemoteSha": "1278ed8a03bf926a12089b9b30c313f7477ce213",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-27 06:28:44 UTC",
    "User": "root"
  },
  "Author": "Luke Miratrix [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0078-1906>),\nKristen Hunter [aut] (ORCID: <https://orcid.org/0000-0002-5678-4620>),\nZarni Htet [aut],\nKristin Porter [aut],\nMDRC [cph],\nInstitute of Education Sciences [fnd]",
  "Maintainer": "Luke Miratrix <luke_miratrix@gse.harvard.edu>",
  "MD5sum": "8bb0209ee488e0160f386cf350f6a0ec",
  "_user": "mdrcny",
  "_type": "src",
  "_file": "PUMP_1.0.4.tar.gz",
  "_fileid": "af0cfd3d73c8b69b5ba46be9c5a087a675ea951b35406f5510dcf4a87fa0ad24",
  "_filesize": 991864,
  "_sha256": "af0cfd3d73c8b69b5ba46be9c5a087a675ea951b35406f5510dcf4a87fa0ad24",
  "_created": "2026-05-27T06:28:44.000Z",
  "_published": "2026-05-27T06:32:35.353Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78020387388,
      "time": 199,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233458589"
    },
    {
      "job": 78020387379,
      "time": 198,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233458219"
    },
    {
      "job": 78020387415,
      "time": 155,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233442076"
    },
    {
      "job": 78020387405,
      "time": 164,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233443005"
    },
    {
      "job": 78019260515,
      "time": 545,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233408545"
    },
    {
      "job": 78020387384,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233445855"
    },
    {
      "job": 78020387429,
      "time": 159,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233448850"
    },
    {
      "job": 78020387413,
      "time": 169,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233450978"
    },
    {
      "job": 78020387406,
      "time": 145,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233445009"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mdrcny/actions/runs/26494458407",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mdrcny/pump",
  "_commit": {
    "id": "1278ed8a03bf926a12089b9b30c313f7477ce213",
    "author": "lmiratrix <luke@vzvz.org>",
    "committer": "lmiratrix <luke@vzvz.org>",
    "message": "fix bug where multiple testing procedures crash update_grid\n",
    "time": 1777313690
  },
  "_maintainer": {
    "name": "Luke Miratrix",
    "email": "luke_miratrix@gse.harvard.edu",
    "orcid": "0000-0002-0078-1906"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggthemes",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggpubr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "randomizr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "furrr",
      "role": "Suggests"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "PowerUpR",
      "version": ">= 1.1.0",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "mdrcny",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-09",
      "n": 2
    },
    {
      "week": "2026-18",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "kristenbhunter",
      "count": 363,
      "uuid": 16037632
    },
    {
      "user": "lmiratrix",
      "count": 34,
      "uuid": 1175013
    },
    {
      "user": "inrazhtet",
      "count": 5,
      "uuid": 1775815
    },
    {
      "user": "portermdrc",
      "count": 3,
      "uuid": 31550040
    },
    {
      "user": "kalibera",
      "count": 1,
      "uuid": 1734520
    }
  ],
  "_userbio": {
    "uuid": 30468982,
    "type": "organization",
    "name": "MDRC",
    "description": "MDRC"
  },
  "_downloads": {
    "count": 189,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PUMP"
  },
  "_devurl": "https://github.com/mdrcny/pump",
  "_pkgdown": "https://mdrcny.github.io/PUMP/",
  "_searchresults": 13,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/PUMP.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mdrcny/pump",
  "_realowner": "mdrcny",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2022-02-09"
    },
    {
      "version": "1.0.1",
      "date": "2022-09-17"
    },
    {
      "version": "1.0.2",
      "date": "2023-05-22"
    },
    {
      "version": "1.0.3",
      "date": "2024-02-29"
    },
    {
      "version": "1.0.4",
      "date": "2025-03-12"
    }
  ],
  "_exports": [
    "calc_df",
    "check_cor",
    "convert_params",
    "d_m",
    "design",
    "gen_base_sim_data",
    "gen_cluster_ids",
    "gen_corr_matrix",
    "gen_sim_data",
    "gen_T.x",
    "gen_Yobs",
    "get_power_results",
    "is.pumpgridresult",
    "is.pumpresult",
    "params",
    "parse_d_m",
    "power_curve",
    "print_context",
    "pump_info",
    "pump_mdes",
    "pump_mdes_grid",
    "pump_power",
    "pump_power_grid",
    "pump_sample",
    "pump_sample_grid",
    "pump_type",
    "search_path",
    "transpose_power_table",
    "update_grid"
  ],
  "_help": [
    {
      "page": "calc_df",
      "title": "Calculate degrees of freedom (support function)",
      "topics": [
        "calc_df"
      ]
    },
    {
      "page": "check_cor",
      "title": "Check correlation of test statistics (simulation function)",
      "topics": [
        "check_cor"
      ]
    },
    {
      "page": "convert_params",
      "title": "Converts model params into DGP params (simulation function)",
      "topics": [
        "convert_params"
      ]
    },
    {
      "page": "gen_base_sim_data",
      "title": "Generate base simulated multi-level data (simulation function)",
      "topics": [
        "gen_base_sim_data"
      ]
    },
    {
      "page": "gen_cluster_ids",
      "title": "Generates school and district assignments (simulation function)",
      "topics": [
        "gen_cluster_ids"
      ]
    },
    {
      "page": "gen_corr_matrix",
      "title": "Generate correlation matrix (simulation function)",
      "topics": [
        "gen_corr_matrix"
      ]
    },
    {
      "page": "gen_sim_data",
      "title": "Generate simulated multi-level data (simulation function)",
      "topics": [
        "gen_sim_data"
      ]
    },
    {
      "page": "gen_T.x",
      "title": "Generate treatment assignment vector (simulation function)",
      "topics": [
        "gen_T.x"
      ]
    },
    {
      "page": "gen_Yobs",
      "title": "Generate observed outcomes (simulation function)",
      "topics": [
        "gen_Yobs"
      ]
    },
    {
      "page": "get_power_results",
      "title": "Calculates different definitions of power (support function)",
      "topics": [
        "get_power_results"
      ]
    },
    {
      "page": "parse_d_m",
      "title": "Return characteristics of a given context/d_m code (support function)",
      "concept": [
        "pump_info"
      ],
      "topics": [
        "parse_d_m"
      ]
    },
    {
      "page": "plot.pumpgridresult",
      "title": "Plot a pumpgridresult object (result function)",
      "topics": [
        "plot.pumpgridresult"
      ]
    },
    {
      "page": "plot.pumpresult",
      "title": "Plot a pumpresult object (result function)",
      "topics": [
        "plot.pumpresult"
      ]
    },
    {
      "page": "power_curve",
      "title": "Obtain a power curve for a range of sample size or MDES values",
      "topics": [
        "power_curve"
      ]
    },
    {
      "page": "print_context",
      "title": "Print context (design, model, parameter values) of pumpresult or pumpgridresult (result function)",
      "topics": [
        "print_context"
      ]
    },
    {
      "page": "pump_info",
      "title": "Provides details about supported package features (core function)",
      "topics": [
        "pump_info"
      ]
    },
    {
      "page": "pump_mdes",
      "title": "Estimate the minimum detectable effect size (MDES) (core function)",
      "topics": [
        "pump_mdes"
      ]
    },
    {
      "page": "pump_mdes_grid",
      "title": "Run pump_mdes on varying values of parameters (grid function)",
      "concept": [
        "grid functions"
      ],
      "topics": [
        "pump_mdes_grid"
      ]
    },
    {
      "page": "pump_power",
      "title": "Estimate power across definitions (core function)",
      "topics": [
        "pump_power"
      ]
    },
    {
      "page": "pump_power_grid",
      "title": "Run pump_power on varying values of parameters (grid function)",
      "concept": [
        "grid functions"
      ],
      "topics": [
        "pump_power_grid"
      ]
    },
    {
      "page": "pump_sample",
      "title": "Estimate the required sample size (core function)",
      "topics": [
        "pump_sample"
      ]
    },
    {
      "page": "pump_sample_grid",
      "title": "Run pump_sample on varying values of parameters (grid function)",
      "concept": [
        "grid functions"
      ],
      "topics": [
        "pump_sample_grid"
      ]
    },
    {
      "page": "pumpgridresult",
      "title": "Result object for results of grid power calculations",
      "topics": [
        "is.pumpgridresult",
        "print.pumpgridresult",
        "pumpgridresult",
        "summary.pumpgridresult"
      ]
    },
    {
      "page": "pumpresult",
      "title": "pumpresult object for results of power calculations",
      "topics": [
        "as.data.frame.pumpresult",
        "design",
        "dim.pumpresult",
        "d_m",
        "is.pumpresult",
        "params",
        "print.pumpresult",
        "pumpresult",
        "pump_type",
        "search_path",
        "summary.pumpresult",
        "[.pumpresult",
        "[[.pumpresult"
      ]
    },
    {
      "page": "transpose_power_table",
      "title": "Convert power table from wide to long (result function)",
      "topics": [
        "transpose_power_table"
      ]
    },
    {
      "page": "update_grid",
      "title": "Update a single pump call to a grid call (grid function)",
      "topics": [
        "update_grid"
      ]
    },
    {
      "page": "update.pumpgridresult",
      "title": "Update a pump grid call, tweaking some parameters (core function)",
      "topics": [
        "update.pumpgridresult"
      ]
    },
    {
      "page": "update.pumpresult",
      "title": "Update a pump call, tweaking some parameters (core function)",
      "topics": [
        "update.pumpresult"
      ]
    }
  ],
  "_readme": "https://github.com/mdrcny/pump/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "bit",
    "bit64",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "clipr",
    "codetools",
    "colorspace",
    "corrplot",
    "cowplot",
    "cpp11",
    "crayon",
    "Deriv",
    "digest",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "future",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggsci",
    "ggsignif",
    "ggthemes",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "hms",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "microbenchmark",
    "minqa",
    "modelr",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "parallelly",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "polynom",
    "prettyunits",
    "progress",
    "purrr",
    "quantreg",
    "R6",
    "randomizr",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "readr",
    "reformulas",
    "rlang",
    "rstatix",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "tzdb",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "pump_sample_demo.Rmd",
      "filename": "pump_sample_demo.html",
      "title": "Demo and discussion of the pump_sample method",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Intepreting sample size calculations",
        "Exploring a range of sample size values",
        "Flat power curves",
        "Non-Convergence",
        "Note: Non-convergence for feasible designs"
      ],
      "created": "2021-10-08 22:41:48",
      "modified": "2022-09-14 14:21:08",
      "commits": 15
    },
    {
      "source": "pump_simulate.Rmd",
      "filename": "pump_simulate.html",
      "title": "Demo of simulating multi-level data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Purpose of this vignette",
        "Generating data",
        "Generating for single outcome",
        "Getting components separately",
        "Choosing parameter values",
        "Simulation process"
      ],
      "created": "2021-12-20 22:08:00",
      "modified": "2025-01-24 04:59:11",
      "commits": 9
    },
    {
      "source": "pump_demo.Rmd",
      "filename": "pump_demo.html",
      "title": "Demonstration of the PUMP package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Abstract",
        "Introduction",
        "Case study: Diplomas Now",
        "User choices",
        "Designs and models",
        "Multiple testing procedures",
        "Model parameters",
        "Package illustration",
        "Establishing needed design parameters",
        "Calculating MDES",
        "Determining necessary sample size",
        "Comparing adjustment procedures",
        "Exploring sensitivity to design parameters",
        "Exploring power with update()",
        "Exploring the impact of the ICC",
        "Exploring the impact of rho",
        "Exploring the impact of null outcomes",
        "Methods for PUMP objects",
        "References"
      ],
      "created": "2021-06-16 15:05:42",
      "modified": "2025-01-24 05:07:48",
      "commits": 35
    }
  ],
  "_score": 6.096214585346405,
  "_indexed": true,
  "_nocasepkg": "pump",
  "_universes": [
    "mdrcny"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-27T06:31:21.000Z",
      "distro": "noble",
      "commit": "1278ed8a03bf926a12089b9b30c313f7477ce213",
      "fileid": "c56ad0b379f0df9d796c2e523670f49e1b705355f62de18962c666657a1a161f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdrcny/actions/runs/26494458407"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-27T06:31:23.000Z",
      "distro": "noble",
      "commit": "1278ed8a03bf926a12089b9b30c313f7477ce213",
      "fileid": "b457c866ca3aa0b94a9422fa86c7a992273826cb60a872705b79e7a902064c55",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdrcny/actions/runs/26494458407"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-05-27T06:30:45.000Z",
      "commit": "1278ed8a03bf926a12089b9b30c313f7477ce213",
      "fileid": "960fbd73521502a5f61a8175212e5787d1d9d9470173d8bc20563834ce07324c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdrcny/actions/runs/26494458407"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-05-27T06:30:40.000Z",
      "commit": "1278ed8a03bf926a12089b9b30c313f7477ce213",
      "fileid": "40e29b428df5ac1c620cb5bfbccbce528fe7698f67d3a61736b8c83ef27bcb0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdrcny/actions/runs/26494458407"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-05-27T06:31:31.000Z",
      "commit": "1278ed8a03bf926a12089b9b30c313f7477ce213",
      "fileid": "5e350a70e49ee1acbf6ded4d8f57fe7877dfea3d8e5338369cafa92259a545db",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mdrcny/actions/runs/26494458407"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-27T06:30:33.000Z",
      "commit": "1278ed8a03bf926a12089b9b30c313f7477ce213",
      "fileid": "0fc4b1944fcc8a50456d7b01308e8fa655389233990d5d4dca3af468f58ff1f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdrcny/actions/runs/26494458407"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-27T06:30:45.000Z",
      "commit": "1278ed8a03bf926a12089b9b30c313f7477ce213",
      "fileid": "6ee459e5f17118c747c8f26741fa88c2ac06dcfd146713f7241894250e37428b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdrcny/actions/runs/26494458407"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-27T06:30:26.000Z",
      "commit": "1278ed8a03bf926a12089b9b30c313f7477ce213",
      "fileid": "86abf3441e71faa5e99211529f1d8c06c265b17ef10602ea8ae6119d9dc2cd0d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdrcny/actions/runs/26494458407"
    }
  ]
}