All Projects → rikhuijzer → PowerAnalyses.jl

rikhuijzer / PowerAnalyses.jl

Licence: MIT license
Statistical power analyses in Julia

Programming Languages

julia
2034 projects

Projects that are alternatives of or similar to PowerAnalyses.jl

Caffeinated
☕️ Prevent your PC from sleeping. Port of Caffeine for OS X.
Stars: ✭ 103 (+635.71%)
Mutual labels:  power
linky
🔌 Easily retrieve your Linky™ power consumption
Stars: ✭ 131 (+835.71%)
Mutual labels:  power
chpc
CHPC: Cheap Heat Pump Controller
Stars: ✭ 27 (+92.86%)
Mutual labels:  power
Windpowerlib
The windpowerlib is a library to model the output of wind turbines and farms.
Stars: ✭ 170 (+1114.29%)
Mutual labels:  power
fpga torture
🔥 Technology-agnostic FPGA stress-test: maximum logic utilization and high dynamic power consumption.
Stars: ✭ 23 (+64.29%)
Mutual labels:  power
ioBroker.sourceanalytix
Detailed analysis of your Energy, gas and liquid consumptions
Stars: ✭ 61 (+335.71%)
Mutual labels:  power
Powsimr
Power analysis is essential to optimize the design of RNA-seq experiments and to assess and compare the power to detect differentially expressed genes. PowsimR is a flexible tool to simulate and evaluate differential expression from bulk and especially single-cell RNA-seq data making it suitable for a priori and posterior power analyses.
Stars: ✭ 84 (+500%)
Mutual labels:  power
linky-cli
⛔️ DEPRECATED - A CLI tool to retrieve your Linky power consumption
Stars: ✭ 19 (+35.71%)
Mutual labels:  power
SunnyBuddy
MPPT single-cell LiPo battery charger based on the LT3562
Stars: ✭ 29 (+107.14%)
Mutual labels:  power
ina219
ina219 full function driver
Stars: ✭ 27 (+92.86%)
Mutual labels:  power
S Tui
Terminal-based CPU stress and monitoring utility
Stars: ✭ 2,825 (+20078.57%)
Mutual labels:  power
AirPodsDesktop
☄️ AirPods desktop user experience enhancement program, for Windows and Linux (WIP)
Stars: ✭ 462 (+3200%)
Mutual labels:  power
tracebase
The tracebase appliance-level power consumption data set
Stars: ✭ 33 (+135.71%)
Mutual labels:  power
Adafruit ina219
INA219 Current Sensor
Stars: ✭ 129 (+821.43%)
Mutual labels:  power
TrueRMS
Average, RMS, Power and Energy measurement library for Arduino.
Stars: ✭ 42 (+200%)
Mutual labels:  power
Perfectwindows
PerfectWindows 软件家族 - Windows 从未如此完美!
Stars: ✭ 1,326 (+9371.43%)
Mutual labels:  power
sensor.rpi power
A Custom component for Home-Assistant that checks if your Raspberry Pi power supply is giving enough voltage from the kernel.
Stars: ✭ 105 (+650%)
Mutual labels:  power
ev chargingcoordination2017
Optimal Scheduling of Electric Vehicle Charging in Distribution Networks
Stars: ✭ 51 (+264.29%)
Mutual labels:  power
pem-dataset1
Proton Exchange Membrane (PEM) Fuel Cell Dataset
Stars: ✭ 48 (+242.86%)
Mutual labels:  power
SmartSpin2k
Transform your spin bike into a Smart Trainer!
Stars: ✭ 88 (+528.57%)
Mutual labels:  power

PowerAnalyses.jl

CI Test Documentation

Statistical power analyses in Julia

Installation

using Pkg

Pkg.add("PowerAnalyses")

Introduction

Statistical power is the probability that a test will correctly indicate an effect when there is one. In other words, it is the inverse of making a Type II error (false negative) β: power = 1 - β.

The priorities of this package are as follows:

  1. make it easy for anyone to run a power analysis; even for people who never used the Julia programming language before and
  2. don't overuse Unicode symbols (it is unreasonable to expect that everyone can easily type Unicode)

Validity

For each test in this package, the result provided by this package is verified by comparing it to either G*Power or pwr see test/runtests.jl for details.

Usage

The package defines get_alpha, get_power, get_es and get_n. For example, to get the required sample size n for an effect size es of 0.5, power of 0.95 and significance level alpha of 0.05 for a one sample t-test use:

julia> using PowerAnalyses

julia> es = 0.5
0.5

julia> alpha = 0.05
0.05

julia> power = 0.95
0.95

julia> n = get_n(OneSampleTTest(two_tails); alpha, power, es)
53.941

This number is the same as what you would get via G*Power.

For fun. We can now try to get the original alpha back by passing n to get_alpha:

julia> get_alpha(OneSampleTTest(two_tails); power, n, es)
0.049999999999997824

Close enough.

See https://huijzer.xyz/PowerAnalyses.jl/ for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].