-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
betta() and betta_random() p-value between each combination of discrete variable #198
Comments
Thanks @AlexaBennett , great question. Before I dive in to checking for you, do you have any other adjustment variables (in addition to day)? That would help give you a better answer. Thanks!! |
Right now, I am using a single adjustment variable. I plan to add another discrete variable. Regarding the single variable, here is what I have tried.
|
Given the currently available functions and the stability of results for each intercept, this is my planned approach:
I am open to a more statistically sound methodology as my background is in Biology and not Statistics. |
These are great questions and thanks for circling back, @AlexaBennett . Fortunately there is an easier way than iterating through various model parameterizations. As you suggest, let's suppose we want to test that the average richness is equal for all days, i.e., In this case, we can look at the output of
and in this case we would reject the null (p < 0.001). This approach will test your desired hypothesis as long as you have no other variables in the model. It will take a bit of work on the backend for us to build that for you -- but it's work worth doing if you need it! Before we do that, can you confirm that you want to test, "average richness is equal across all days with the same amendment" using something like the following
If so, I'll see what we can do. |
@adw96 This is what I am looking for, with the added ability to see which days are statistically different from one another within each amendment. While not the original point of this issue, the instability of the standard error of the estimate for the intercept is a higher priority for me at this time. Should I open another issue? With your example, I was setting factor levels for "Day" to get the final p-value for the relation of day 12 to day 84. That was when I realized, in my real-life data, that the feature used for the intercept in the $table was susceptible to the error being decreased by up to 75% in some cases. |
I am hoping you can point me in the right direction. I was following the diversity-hypothesis-testing vingette, and wanted to know the mathematically sound way for one to determine the statistical significance between all groups. In the case of the tutorial, this would be the diversity at day 0 vs d 12, day 0 vs day 82, and day 12 vs 82.
The text was updated successfully, but these errors were encountered: