Giter VIP home page Giter VIP logo

hypothesis-testing-crosfit-case-study's Introduction

A comprehensive guide to perform hypothesis tests and find confidence interval, degrees of freedom, critical value, test statistic

Read my Medium@tnathu-ai

tree map for summary

Clean data

  1. Inspect
  2. Repair
  3. Validate
  4. Document

Data analysis

tree map for summary

Visualization

• Comparison and distribution - Bar charts (several assorted variants)

• Changes over time - Line graphs - Area charts

• Correlation - Scatter plots - Heat maps

• Aggregation - Pie graphs - Tree maps

• Tabular - Pivot tables

Hypothesis Testing step-by-step

  • Step-by-step process for conducting hypothesis tests: null hypothesis & alternative hypothesis
  • The importance of representative samples when performing hypothesis tests.
  • Statistical significance (alpha level α) and p-value
  • Calculate the confidence interval of a sample with 95% confidence (α = 0.05) that it is reflective of the true population.
  • The theory behind the central limit theorem and a clear example.
  • Test Statistic
  • Critical value
  • Conclusion

Open Discussion

  • Non-parametric hypothesis test has the assumption of a continuous and symmetric distribution's mean(median)?

Regardless of The central limit theorem states that the distribution of sample means equal to or greater than 30 are often considered sufficient for the normal distribution. What if my distribution does not assume I am sampling from a particular distribution and is either continuous or symmetric about the mean (e.g. skewed distribution)? What type of hypothesis testing should I use?

  • Multiple t-test?

Performing multiple t-tests can increase the chance of making a Type I error, which is the incorrect rejection of a true null hypothesis. This is also known as a false positive result. The probability of making a Type I error increases with the number of tests performed. In this case, if you perform three t-tests (one for each pair of stores), the probability of making at least one Type I error is 0.143, or 14.3%, higher than the usual significance level of 0.05.

To address this issue, we can use a statistical test called ANOVA (analysis of variance), which compares the means of multiple groups simultaneously. ANOVA is more appropriate when you have multiple groups to compare, as it can help control for the overall probability of a Type I error. If the ANOVA result is significant, you can then perform post-hoc tests to determine which groups differ significantly from each other.

In summary, multiple t-tests can increase the chance of making a Type I error. To avoid this issue, we can use ANOVA to test for differences between multiple groups, followed by post-hoc tests to determine which groups differ significantly.

hypothesis-testing-crosfit-case-study's People

Contributors

imgbotapp avatar tnathu-ai avatar

Stargazers

 avatar  avatar

Watchers

 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.