I have two unequally sized samples with similar varience and broadly normal distributions. What is the best way to perform a two tailed significance test to determine if the two means are significantly difference nd how do I do this in power BI desktop?
Can a 2 tailed t test be done easily?
There are many build-in statistical functions in Power BI. It seems this isn't a hard work for Power BI. If you can post more details, maybe I can translate them into DAX formula, which is a functional language used by Power BI.
Please reference these functions: https://msdn.microsoft.com/en-us/library/ee634822.aspx
and this post: significance-testing
I have a much larger dataset, but this is a smaller version. I want to look by question at the result score for those answering yes against those answering no, in the full dataset the variances in the two samples are similar, but the sample size is quite variable. I was hopeing to use a 2 tailed T test to test the null hypothesis that the means of the two samples are the same. Ideally i would show the differences between the means and the confidence level.
|Assessment number||Question number||Answer||Overall Result|
The overall result could be anything really, but it's probably most easily demonstrated as:
Q: Did you revise for your exam?
The result for each group would be the mean average score of the 'Yes' cohort and the mean average score for the 'No' ohort.
In this case, one might expect the the 'Yes' cohort average test score to be significantly different from the 'No' cohort, where as posing the question:
Q: Are you taller than 5'10"?
is somewhat less likely to show a statisticaly significant effect
I hope that helps
Thank you very much, that makes sense.
I know this is from a few years back, but did you end up using .pbix file Dale shared? We've been working to reverse engineer it a bit for our purposes but have hit a few snags.
Or, alternatively, have you created or encountered other DAX-based approaches for sig. testing in Power BI?
It was helpul, but I ended up going back and building something from first principles. What I would say is that the exercise is significantly easier in R or python, so I've subsequently used that
I recalled my statistics. I don't know if this could help. Maybe you review it first, then we could go further. Please check this file:https://1drv.ms/u/s!ArTqPk2pu-BkgRFQZ5z_1PDA0QpQ.
This is awesome Dale. Are you by chance available at all to work me though how I might re-create this to generate a template table I can use on all or most of my data sets?
Thanks for the response, your time and effort are greatly appreciated, I'll have a look through tomorrow as you suggest and get back to you
Take a look at the September 2023 Power BI update to learn more.
Join Microsoft Reactor and learn from developers.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!
Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.