Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.0%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Statistical power analyses in Julia
Basic Info
- Host: GitHub
- Owner: rikhuijzer
- License: mit
- Language: Julia
- Default Branch: main
- Homepage: https://poweranalyses.jl.huijzer.xyz
- Size: 468 KB
Statistics
- Stars: 16
- Watchers: 5
- Forks: 2
- Open Issues: 5
- Releases: 9
Topics
Metadata Files
README.md
PowerAnalyses.jl
Statistical power analyses in Julia
Installation
```julia 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:
- make it easy for anyone to run a power analysis; even for people who never used the Julia programming language before and
- 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 julia> using PowerAnalyses
julia> es = 0.5 0.5
julia> alpha = 0.05 0.05
julia> power = 0.95 0.95
julia> n = getn(OneSampleTTest(twotails); 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
julia> get_alpha(OneSampleTTest(two_tails); power, n, es)
0.049999999999997824
Close enough.
See https://poweranalyses.jl.huijzer.xyz for more information.
Owner
- Name: Rik Huijzer
- Login: rikhuijzer
- Kind: user
- Website: https://huijzer.xyz
- Repositories: 196
- Profile: https://github.com/rikhuijzer
Citation (CITATION.cff)
cff-version: "1.2.0"
authors:
- family-names: Huijzer
given-names: Rik
orcid: "https://orcid.org/0000-0001-9445-8466"
title: "PowerAnalyses.jl"
date-released: 2021-10-24
url: "https://github.com/rikhuijzer/PowerAnalyses.jl"
GitHub Events
Total
Last Year
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Rik Huijzer | r****r@p****e | 78 |
| Andreas Noack | a****s@n****k | 3 |
| github-actions[bot] | 4****] | 2 |
| john verzani | j****i@g****m | 1 |
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 6
- Total pull requests: 21
- Average time to close issues: 4 months
- Average time to close pull requests: 8 days
- Total issue authors: 5
- Total pull request authors: 4
- Average comments per issue: 2.83
- Average comments per pull request: 0.33
- Merged pull requests: 16
- Bot issues: 0
- Bot pull requests: 2
Past Year
- Issues: 1
- Pull requests: 3
- Average time to close issues: N/A
- Average time to close pull requests: about 9 hours
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 1.0
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- rikhuijzer (2)
- jverzani (1)
- JuliaTagBot (1)
- PharmCat (1)
- jrenoux (1)
Pull Request Authors
- rikhuijzer (17)
- andreasnoack (5)
- github-actions[bot] (2)
- jverzani (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- julia 24 total
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 9
juliahub.com: PowerAnalyses
Statistical power analyses in Julia
- Homepage: https://poweranalyses.jl.huijzer.xyz
- Documentation: https://docs.juliahub.com/General/PowerAnalyses/stable/
- License: MIT
-
Latest release: 0.2.7
published over 1 year ago
Rankings
Dependencies
- actions/checkout v2 composite
- julia-actions/cache v1 composite
- julia-actions/julia-buildpkg latest composite
- julia-actions/julia-runtest v1 composite
- julia-actions/setup-julia v1 composite
- rikhuijzer/compathelper-action rh/use-setup-julia composite
- actions/checkout v2 composite
- webfactory/ssh-agent v0.5.4 composite
- JuliaRegistries/TagBot v1 composite