Comments (3)
Hi Julian,
there is no central function for everything:
p-values and effect estimates
summary(model)
reports the p-value and the effect estimates of the individual predictors
R2 / analysis of variance
anova(model)
calculates the analysis of variance for the (two) three groups (env, spatial, and biotic).
res = anova(model)
print(res$result)
reports the variances and the R2 values for the three groups, but not for the individual predictors. But we can calculate the variance/R2 for each site (still experimentally):
res = anova(model, individual=TRUE)
dim(res$result)
Variation partitioning
importance(model)
calculates the variation partitioning of the three groups (env, spatial, and biotic) for each species. We could do this also for each predictor, but it is not yet implemented (we will add this feature in the next sub-version)
So we cannot yet calculate the R2 for each single environmental predictor but we will work on this.
Max
from s-jsdm.
Just to add to this - it would of course be possible to calculate ANOVA for each predictor (and we could implement that), but due to the way we compute the ANOVA (see help) this would be computationally costly.
I'm not quite sure if it's worth it - calculating ANOVA for interactions / collinear variables can be a bit tricky. Depending on what you want to use this for, there can be an advantage of ANOVA over standardised effect sizes, but I think for most users, standardised effect sizes (= scale variables and look at summary), which can be interpreted as relative effect sizes, will be more in line with what they want.
from s-jsdm.
Thank you very much for the very helpful replies.
from s-jsdm.
Related Issues (20)
- Shared contributions in ANOVA HOT 4
- Error when predicting to new data - error: Error : torch._C._LinAlgError: linalg.inv: The diagonal element 3 is zero HOT 4
- offset
- plotInternalStructure error HOT 4
- Species-level predictors? HOT 4
- Installation on hpc HOT 6
- Negative Binomial Throws an error in tuning HOT 1
- Question about bioticStruct() and generating Single Species SDMs from sjSDM HOT 4
- CRAN Issue
- VENN diagram Anova HOT 1
- Problem with installation HOT 1
- Error in sjSDM_cv HOT 8
- PyTorch not installed HOT 13
- Is there a way to assess the significance (p-value?) of pairwise relationships in species associations? HOT 2
- ValueError: Expected parameter rate HOT 4
- Random factors HOT 19
- ValueError: Expected value argument HOT 3
- vp codist
- sjSDM on a remote server HOT 3
- sjSDM - memory issues of anova() HOT 6
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 s-jsdm.