Giter Club home page Giter Club logo

bootes's Introduction

bootES Logo

bootES

bootES ("bootstrap Effect Sizes") calculates bootstrap confidence intervals for (un)standardized effect-size measures using the bootstrap.

CRAN status R-CMD-check

OverviewInstallGet helpContribute

Overview

bootES uses the 'boot' package to find bootstrap confidence intervals for unstandardized and standardized effect-size measures appropriate for experimental and survey research.

Calculate effect sizes for:

  • mean effects
  • mean differences
  • contrasts
  • correlations
  • differences between correlations

A pre-print version of our article, bootES: An R Package for Bootstrap Confidence Intervals on Effect Sizes, is available here.

Install

# Install from CRAN
install.packages("bootES")

# Install from Github
# install.packages("devtools")
devtools::install_github("dgerlanc/bootES")

Get help

Report bugs by opening an issue. If you have a question regarding the usage of bootES, start a discussion.

Contributing

Issues may be filed using Github Issues.

bootes's People

Contributors

dgerlanc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bootes's Issues

bootES allows fractional `R` values and uses the floor

This should throw an error for using a fractional R instead of silently taking the floor of 200.5.

set.seed(1)
dat = data.frame(scores=c(11, 12, 13, 14, 15, 16, 100, 379, 278))
bootES(data.frame(scores=dat), R=200.5, data.col=dat)

Add argument `boot = FALSE`?

I know that this package is all about bootstrapping. I use your package inside my own package, rempsyc, when calculating effect sizes for contrasts. By default, it thus uses bootstrapping, but I would like to give my users to ability to not bootstrap, should they wish so.

Now, I could rely on a completely different package to accomplish this objective, but it would be simpler on my end if I could stick to the same package and only change a single option from the parameters, especially since few effect size packages to my knowledge explicitly support contrasts like you do.

Do you think there is any chance you might make this change? Alternatively, is there already a way to request no bootstraps through the ... argument passed to boot?

Move tests to CRAN-runnable location

Tests are currently located in inst/tests and are only run using RUnit. They should be set up in a way such that they are run when R CMD check runs all tests found in the tests directory.

Use fixtures in test_bootES.R

Currently, we load inst/example.csv from disk in every test. This should only be loaded once before all the tests.

CI Dev Workflow is failing

The dev workflow tests are failing because the rcmdcheck package cannot be found.

Let's update these workflows to use the latest RStudio provided versions.

Numerical overflow when calculating hedges.g

When hedges.g is calculated for a combined number of observations greater than 340, usage of the gamma function in the exact calculation causes numerical overflow.

We can switch to using Cohen's approximation: 1 - 3/(4n - 9) or use log-gamma to calculate the exact value.

gamma(dof/2) / ( sqrt(dof/2) * gamma((dof-1)/2))
would become
exp(lgamma(df/2) - log(sqrt(df/2)) - lgamma((df-1)/2)

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.