GithubHelp home page GithubHelp logo

Comments (3)

MaximilianPi avatar MaximilianPi commented on June 23, 2024

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.

florianhartig avatar florianhartig commented on June 23, 2024

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.

JulFrey avatar JulFrey commented on June 23, 2024

Thank you very much for the very helpful replies.

from s-jsdm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.