API Reference¶
Complete reference for the MCPower class and its public API.
Quick Reference¶
Method / Class |
Description |
|---|---|
Create a power analysis model from an R-style formula |
|
Estimate statistical power at a given sample size |
|
Find the minimum sample size for target power |
|
Set standardized effect sizes (beta weights) |
|
Declare binary, factor, or non-normal variables |
|
Specify predictor correlations |
|
Set the significance level |
|
Set the target power level (for sample size search) |
|
Set random seed for reproducibility |
|
Set number of Monte Carlo simulations |
|
Configure parallel execution |
|
Upload empirical data for realistic simulation |
|
Define named factor levels |
|
Configure clustering for mixed-effects models |
|
Customize scenario analysis parameters |
|
Set convergence failure tolerance |
|
Multiple testing correction options |
|
Progress callbacks and built-in reporters |
|
Result dictionary structures |