Coder Social home page Coder Social logo

jaspttests's People

Contributors

alexanderlynl avatar amirmasoudabdol avatar boutinb avatar foger3 avatar jillderon avatar jorisgoosen avatar kucharssim avatar lslindeloo avatar maltelueken avatar rensdofferhoff avatar shun2wang avatar timkdj avatar vandenman avatar weblate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jaspttests's Issues

Reverting back to mean differences

As a result of the discussion on slack, we would like to change back to reporting mean differences and the resulting effect sizes. The PR we want to revert is (change from mean differences to location estimates) is

7f6cc1c

Parent is

2119573


When reverting back to mean differences it's good to consider

jasp-stats/jasp-issues#1036

The idea is that the t-test should collapse to the z-test if the mu is exactly mean(x) and sigma is exactly sd(x). Code suggested by Johnny (requires the sd(x) in the code below to be changed by the postulated sigma from options).

So it seems that the BSDA package does not account for the test value in the CI for the z-test, which is why the CI in the bug report does not include the effect size. We can manually adjust this:
dat <- read.csv("~/Downloads/survey5ED.csv")
x <- na.omit(dat$tslfest)
testVal <- 30
t.test(x, mu = testVal)
wilcox.test(x, mu = testVal)
a <- BSDA::z.test(x, mu = testVal,
sigma.x = sd(x),
conf.level = 0.95)
a$statistic / sqrt(length(x)) # Effect Size
(a$conf.int - testVal) / sd(x) # CI that captures ES


It's worthwhile to derive the sampling distribution in terms of the parameter delta=(mu - mu0)/sigma to confirm that the proposed confidence interval is correct.

Missing .BANOVAdependentName and .BANOVAsubjectName

.BANOVAdependentName and .BANOVAsubjectName are not in jaspTTests, but they are in jaspAnova.
I originally moved .summarySE() and summarySEwithin() to this module to avoid circular dependencies between jaspAnova and jaspTTests.
Should a copy of these functions exist in both or do we reckon they're important enough to give a few hacky arguments?
@vandenman

Version of R

"Warning in install.packages :
package ‘jaspTTests’ is not available for this version of R"

What version of R was this library developed under?

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.