Giter Club home page Giter Club logo

effectsizes.jl-e248de7e-9197-5860-972e-353a2af44d75's Introduction

EffectSizes.jl

Stable Dev Build Status Codecov

EffectSizes.jl is a Julia package for effect size measures. Confidence intervals are assigned to effect sizes using either the normal distribution or by bootstrap resampling. The package implements types for the following measures:

Measure Type
Cohen's d CohenD
Hedge's g HedgeG
Glass's Δ GlassΔ

Installation

] add https://github.com/harryscholes/EffectSizes.jl

Examples

julia> using Random, EffectSizes; Random.seed!(1);

julia> xs = randn(10^3);

julia> ys = randn(10^3) .+ 0.5;

julia> es = CohenD(xs, ys) # normal CI
-0.507, 0.95CI (-0.924, -0.089)

julia> effectsize(es)
-0.506674937960848

julia> quantile(es)
0.95

julia> CohenD(xs, ys, quantile=0.99)
-0.507, 0.99CI (-1.056, 0.042)

julia> CohenD(xs, ys, 10^4) # bootstrap CI
-0.507, 0.95CI (-0.594, -0.417)

julia> ci = confint(es)
0.95CI (-0.924, -0.089)

julia> confint(ci)
(-0.9244427501651218, -0.08890712575657417)

julia> lower(ci)
-0.9244427501651218

julia> upper(ci)
-0.08890712575657417

julia> quantile(ci)
0.95

Contributing

Ideas and PRs are very welcome.

effectsizes.jl-e248de7e-9197-5860-972e-353a2af44d75's People

Contributors

harryscholes avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.