Man pages for MDRCNY/PUMP
Power Under Multiplicity Project

adjp_wysdWestfall Young Step Down Function
adjp_wyssWestfall-Young Single Step Adjustment Function
calc_dfCalculate degrees of freedom (support function)
calc_JThis function calculates needed J to achieve a given...
calc_KCalculates K, the number of districts
calc_MTCaculate multiplier for MDE calculation
calc_nbarThis function calculates needed nbar to achieve a given power
calc_pvalCalculates p-values from t-values
calc_SEComputes Q_m, the standard error of the effect size estimate
check_corCheck correlation of test statistics (simulation function)
comp_rawp_sdHelper function for Westfall Young Step Down
comp_rawp_ssHelper function for Westfall Young Single Step
convert_paramsConverts model params into DGP params (simulation function)
estimate_power_curveCalculate a power curve for sample size or mdes.
find_bestDetermine next point to check for correct power level.
fit_bounded_logisticFit a bounded logistic curve
gen_base_sim_dataGenerate base simulated multi-level data (simulation...
gen_cluster_idsGenerates school and district assignments (simulation...
gen_corr_matrixGenerate correlation matrix (simulation function)
gen_cov_matrixgenerate covariance matrix between two variables
gen_RE_cov_matrixgenerate a parameterized covariance matrix from the provided...
gen_sim_dataGenerate simulated multi-level data (simulation function)
gen_T.xGenerate treatment assignment vector (simulation function)
gen_YobsGenerate observed outcomes (simulation function)
get_adjp_minpHelper function for Westfall Young
get_power_resultsCalculates different definitions of power (support function)
get_pval_tstatFunction: get_pval_tstat extracts p-value and t statistics...
get_rawptFunction: get_rawpt
interacted_linear_estimatorsInteracted linear regression models
makelist_sampConvert multi-outcome data structure to dataframe for each...
make_modelFunction: make.model
optimize_powerOptimizes power to help in search for MDES or SS
parse_d_mReturn characteristics of a given context/d_m code (support...
parse_power_definitionParse the power definition
plot_power_curveExamine a power curve (result function)
plot_power_searchExamine search path of a power search (result function)
plot.pumpgridresultPlot a pumpgridresult object (result function)
plot.pumpgridresult.mdesPlot a grid pump mdes object
plot.pumpgridresult.powerPlot a pump grid power object
plot.pumpgridresult.samplePlot a grid pump sample object
plot.pumpresultPlot a pumpresult object (result function)
power_curveObtain a power curve for a range of sample size or MDES...
print_contextPrint context (design, model, parameter values) of pumpresult...
print_searchPrint the search history of a pump result object (result...
pumpgridresultResult object for results of grid power calculations
pump_infoProvides details about supported package features (core...
pump_mdesEstimate the minimum detectable effect size (MDES) (core...
pump_mdes_gridRun pump_mdes on varying values of parameters (grid function)
PUMP-packagePUMP: Power Under Multiplicity Project
pump_powerEstimate power across definitions (core function)
pump_power_exactCalculate power theoretically for M=1 situations
pump_power_gridRun pump_power on varying values of parameters (grid...
pumpresultpumpresult object for results of power calculations
pump_sampleEstimate the required sample size (core function)
pump_sample_gridRun pump_sample on varying values of parameters (grid...
pump_sample_rawCalculating Needed Sample Size for Raw (Unadjusted) Power
run_gridRun grid across any of the core pump functions
setup_default_parallel_planSetup parallel processing
strip_SEsRemove SE and df columns from (wide) power table
transpose_power_tableConvert power table from wide to long (result function)
update_gridUpdate a single pump call to a grid call (grid function)
update.pumpgridresultUpdate a pump grid call, tweaking some parameters (core...
update.pumpresultUpdate a pump call, tweaking some parameters (core function)
validate_d_mValidate d_m string
validate_inputsValidates user inputs
MDRCNY/PUMP documentation built on Feb. 26, 2025, 11:22 a.m.