Skip to content
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

Test rademu #34

Merged
merged 3 commits into from
Dec 2, 2024
Merged

Test rademu #34

merged 3 commits into from
Dec 2, 2024

Conversation

hansvancalster
Copy link
Collaborator

A test of the radEmu package as an alternative to sccomp. In short: I'm not convinced that the approach is statistically more valid. So my current advice is that we stick to the sccomp framework. This PR is therefore only to document that we have tested this.


Identify taxa for which you want robust score tests:

For instance, which taxa at depth 0 - 10 are more likely to occur or not occur in Natuurgrasland compared to the reference category Akker:
Copy link
Collaborator

@slambrechts slambrechts Dec 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related to rademu, so probably not the right place to put this, but I forgot we also have to interpret the sccomp data like this? If I remember correctly, in order to do that, we need the model evaluation plots? Or can we somehow export the data from the sccomp model evaluation plots?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I think sccomp has a contrasts option to test for such specific effects. See https://mangiolalaboratory.github.io/sccomp/articles/introduction.html#contrasts

m_refit$coef$pval[taxa_to_test]
```

Visualise only the significant (p-value <= 0.05) taxa according to the score test:
Copy link
Collaborator

@slambrechts slambrechts Dec 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not specific to rademu, but this sounds like a good idea in general? Can it be applied to the sccomp data?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but keep in mind that we have land-use interacting with depth. So the first thing to do is define the specific contrasts we are interested in. Gather for which taxa they are significant and then (optionally) visualise these results (can also be tabularized).

@hansvancalster hansvancalster merged commit 4ae9fee into main Dec 2, 2024
1 check failed
@hansvancalster hansvancalster deleted the test-rademu branch December 2, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants