Poweranalysis
Power/Precision Analysis to Determine Minimum Sample Size and Effect
Install / Use
/learn @google/PoweranalysisREADME
PowerAnalysis R Package
Power/Precision Analysis to Determine Minimum Sample Size and Effect
The PowerAnalysis R package contains functions to perform power analysis and/or precision analysis for sample means of continuous and binary metrics and sample quantiles of continuous metrics, assuming asymptotic normality. One can determine the minimum required sample size (MRSS), the minimum required duration (MRD), or the minimum detectable effect (MDE) and account for design effects due to arm imbalance, analysis of covariance (ANCOVA), and cluster randomization. There are also helper functions to forecast sample size growth over time to convert between sample size growth and duration.
Installation
install.packages("devtools")
library(devtools)
devtools::install_github("google/PowerAnalysis")
library(PowerAnalysis)
Disclaimer
This is not an officially supported Google product.
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
