From the course: The Data Science of Experimental Design

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Chi-squared analysis

Chi-squared analysis

From the course: The Data Science of Experimental Design

Start my 1-month free trial

Chi-squared analysis

- [Instructor] Now we will move on to conducting a Chi-squared analysis on our experiment data. So, if you remember from earlier in the course what we are actually calculating is the P value for each Chi-squared test, and seeing if it is less than 0.05, which would mean statistical significance. So we have the choice between doing an overall Chi-squared test for our whole study, comparing A to B, this was how we calculated our sample size, assuming this overall rate difference or doing one Chi-squared analysis for each time period, which is month, in our scenario. We're going to go back to the spreadsheet I showed you earlier, with the time series chart with the experiment data. I'll show you that I used Excel to do the Chi-squared tests for one of the periods January, 2019, and I also did one for the whole study. Then I'll show you how I did the same thing in our GUI, the statistical software I'm using. when you were doing a…

Contents