Giter Site home page Giter Site logo

perinm / plothtests Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zibetti/plothtests

0.0 0.0 0.0 7.2 MB

Plot and perform Hypothesis testing for teaching and visualization purposes - using R

License: Other

R 87.62% CSS 9.30% HTML 1.59% JavaScript 1.49%

plothtests's Introduction

Plothtests

Plot hypothesis tests - R Package

This R package was made to help in demonstrate the concepts of hypothesis test, the functions will perfom and plot a hypothesis test, highlithing the test statistic, critical area and limits value, and the p-value.

To install this package just:

install.packages("devtools")
library(devtools)
install_github("Zibetti/Plothtests")
library(Plothtests)

Then you can perform a hypothesis test using a summary statistic.

To test one populational variance (Chi-squared test)

plot_chi_test(alpha = 0.05,alternative = "two.sided",
              df = 20, va = 20,
              vp = 15,
              annotations = TRUE,
              color = 3)

chi test

To test the difference of two variances (F-test)

plot_F_test(alpha = 0.05, alternative = "two.sided",
            df1 = 10, df2 = 10,
            v1 = 1.5, v2 = 2.5,
            ratio = 1,
            annotations = TRUE,
            color = 3)

chi test

To test the difference of two means (T-test)

plot_T_test(alpha = 0.05, alternative = "two.sided",
            var.equal = "equal",
            n1 = 10, m1 = 2.92, v1 = 1.5,
            n2 = 20, m2 = 4.20, v2 = 1.7,             
            delta0 = 0,
            annotations = TRUE,
            color = 3)

chi test

plothtests's People

Contributors

zibetti 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.