Comments (6)
PS: this question and proposition fits into my understanding of the philosophy behind this project as trying to draw the data and test distribution for what they are so that the reader can draw his/her own interpretation instead of the author enforcing an interpretation onto the reader.
from dabest-python.
Strictly speaking, the "Control 1 null distribution" is a auto-comparison. So the bootstrap distribution of Control 1 - Control 1. It's not actually the null distribution for any other comparison. In fact, each comparison has its own null distribution, strictly speaking.
You could show P(data|h0) for every comparison here: resample with replacement from Control 1 and Test XX at the same time, compute the mean difference, and highlight the portion of the distribution that exceeds the mean of Test XX. So in fact, you would get a third axes, all of which show the null distributions centered at 0, but with different shapes and different endzones highlighted.
I hope that was clear....?
from dabest-python.
Dear @josesho , thank you very much for your detailed reply.
About the bootstrap distribution of Control 1 - Control 1, yes that's what I meant (I've read since then to better understand the stats going on, sorry for the confusion :-) ). My idea would be to allow for a comparison of intervals, with not only the point estimate (bootstrap mean) of Control 1, but a distribution estimate of Control 1, with Control 1 - Control 1 serving as a "normalized" distribution/interval for other comparisons, as to allow interval inference as described in:
Dienes, Z. (2014). Using Bayes to get the most out of non-significant results. Frontiers in psychology, 5, 781.
Notably this figure is quite what I had in mind.
Do you think such comparisons of the confidence intervals between eg, Test 1 - Control 1 vs Control 1 - Control 1 would be sensible and an adequate confidence interval comparison as summarized in this paper? If not, why?
About your second paragraph, I thought that p(data|h0) was what we computed here, such as Test 1 - Control 1, by computing a bootstrap mean and standard deviation of both and then do a difference of Test 1 - Control 1 means + scaling of stdev? Are you suggesting that doing this calculation inside each bootstraps (instead of with the final bootstrap estimate from all bootstraps) would provide a more accurate p(data|h0)?
from dabest-python.
Ah I think I understand what you mean in the second paragraph, but did you intend to write p(h0|data) perhaps? In which case, I see that we could compute the probability of h0 given data by using the data as a reference and plotting a third axe (or simply using the data as the control group?), but then it would be quite meaningless as we would amalgamate our hypothesis h1 with the data, assuming it's the population instead of a sample, and thus having no meaningful use for inference.
So I think it's safe to drop that idea :-) However, I'm still interested in plotting a distribution for the control condition bootstrap if that makes sense, as to allow intervals comparison and inference, and making it easier to either be more conservative in inference (by requiring that Test 1 - Control 1 confidence interval is outside of Control 1 - Control 1 CI for example, instead of just the point estimate at 0) or to make it possible to accept h0 (when Test 1 - Control 1 CI is contained inside Control 1 - Control 1 CI). Does that make sense? If so, I can work on it :-)
from dabest-python.
Please forget what I wrote above about scaling with standard deviation, this is disadvised by several sources, so actually the simple difference is better in the general case :-)
- U is for Unease: Reasons for Mistrusting Overlap Measures for Reporting Clinical Trials, 2010
- https://garstats.wordpress.com/2016/05/02/robust-effect-sizes-for-2-independent-groups/
from dabest-python.
Closing this, will reopen more specific PRs
from dabest-python.
Related Issues (20)
- color_col formatting HOT 2
- pandas version conflicts HOT 2
- Plot ONLY mean diff HOT 1
- Error with dataframes containing non-string column names HOT 3
- Is it possible to get access to the underlying bootstrap samples generated to obtain the 95% CI for ES? HOT 1
- cannot plot the figures HOT 3
- Estimation plot only HOT 1
- Warning: Not all points displayed... HOT 2
- Are multi-group p-values corrected for multiple comparisons? HOT 2
- contrast_ylim does not work for matplotlib HOT 1
- DABEST calculation of median difference CIs often fails HOT 5
- Error in bca.ci(boot.out, conf, index[1L], L = L, t = t.o, t0 = t0.o, : estimated adjustment 'a' is NA HOT 1
- New Release: v2023.02.14
- Error in changing the the linewidth of the lines used to join each pair of observations HOT 1
- Possibility to do mixed model statistics ? HOT 2
- Little problems with the plots HOT 3
- Limitation of paired analysis: Statistics comparing to only one group instead of with each other
- delta_g does not plot together with hedges_g
- Options for plot appearance HOT 2
- cannot plot figure - 'numpy.ndarray' object has no attribute 'categories' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dabest-python.