allantsouza / ms-jaric-2020-fish-reaction-to-seiche

This repository hosts the data processing and analysis of the fish reaction to seiche events in Lake Milada, Czechia.
0 stars 0 forks source link

Investigate correlation between thickness/strength and long-term thermocline depth #23

Closed vildead closed 3 years ago

vildead commented 3 years ago

Consider using another variable in models 1) replace thermocline depth by measure of general lake stratification (standard deviation of all temperatures) 2) replace thickness/strength by mean temperature gradient (slope of thermocline curve)

vildead commented 3 years ago

see report_01.Rmd

vildead commented 3 years ago

Investigate not just r but also significance of correlations

rubenrabb01 commented 3 years ago

@vildead this link could be helpful for understading concurvity: https://stat.ethz.ch/R-manual/R-devel/library/mgcv/html/concurvity.html

Note that in our case, as we have discarded smooth surfaces of two time variables (ruled out seasonal features and keep long-term trend) concurvity should be come from high correlation between non-time covariates (i.e. co-linearity in the generalized linear approximation to gam models). Indeed, I've just checked the concurvity values for pike-day model and they are only below 0.5 for the variable "det_therm_deviation_center".

rubenrabb01 commented 3 years ago

This paper of variable selection in GAMs is worth reading: https://www.sciencedirect.com/science/article/pii/S0167947311000491?via%3Dihub

vildead commented 3 years ago

@rubenrabb01 these are very nice resources! Thank you a lot :)

vildead commented 3 years ago

Screenshot from 2021-01-10 22-55-38

using caret::findCorrelation() was decided that the thickness and strength are going to be removed from model and replaced by mean temperature gradient