Heirarchical Partioning of Variance

8 views (last 30 days)
Micah Swann
Micah Swann on 24 Aug 2023
Commented: Micah Swann on 30 Aug 2023
I'm trying to develop a multilple linear regression model to predict phytoplankton biomass in lake based on a set of envrionemntal variables (temperature, wind, oxygen, nutrients, etc). There's a lot of multi-collinearities between predictors making it difficult to find the "best" multiple linear regression model. I would like to use heirarchical variance paritioning to identify the amount of variance explained by each predictor indepedent of all others to find the best combination of predictors. In R-suite there is a "Varpart" function to do this. Is there any similiar package in Matlab that i could use?
  2 Comments
Ive J
Ive J on 26 Aug 2023
no AFAIK. There is no such implementation of redundancy analysis ordination MATLAB. I guess one could develop something based on manova1 though. R is best you got for this purpose.
Micah Swann
Micah Swann on 30 Aug 2023
thank you for the suggestion

Sign in to comment.

Answers (1)

Sarthak
Sarthak on 28 Aug 2023
Hi Micah,
As per my understanding, to perform multiple linear regression you could use the Regression Learner App or the ‘regress’ function.
For the analysis of variance for linear regression models, you can use the ‘anova’ function.
You can also have a look at the Fathom Toolbox for MATLAB in File Exchange with some related function implementations.
Attaching all documentation and function definition links for your reference.
  1 Comment
Ive J
Ive J on 28 Aug 2023
OP is asking about RDA and variance partitioning and not multiple linear regression or anova (overall variance). MATLAB does not have any built-in functions for RDA. This response is misleading.

Sign in to comment.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!