Replies: 6 comments 6 replies
-
|
GLM with Gamma distribution would probably be more appropriate for the trout model but I seldom get such models to run. Any ideas on why this might be? I often get weird error messages and convergence issues. Is this normal? Any ideas? |
Beta Was this translation helpful? Give feedback.
-
|
Perhaps a question for later lectures but is it possible to separate random interannual variability from true population variability over time? For example, would it make sense to run a model like mod <- lm(Catch ~YearF + Year) where YearF is categorical and Year is continuous? I'm aware there is interannual dependency here but let's assume we have a small data set with <10 years like the bitterling data. |
Beta Was this translation helpful? Give feedback.
-
|
We got similar results for Polish sticklebacks with a Bayesian temporal-spatial model
Sent with [Proton Mail](https://proton.me/) secure email.
…------- Original Message -------
On Monday, November 28th, 2022 at 05:59, Asta Audzi ***@***.***> wrote:
Yes, we ran some models like that too (in a Bayesian framework, coded with stan), where year was considered as a fixed term and also as a random term (https://www.nature.com/articles/s41559-020-1171-0), see code here https://github.com/astaaudzi/RLSfishSize
—
Reply to this email directly, [view it on GitHub](#2 (reply in thread)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AS42BWSE6H4JHHNB5AUFEL3WKRC4HANCNFSM6AAAAAASFAXU2E).
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
It looks like you have quite a few zeros in the response variable - did you model these data with a Gaussian distribution? There also seems to be some non-linearity in the residuals plot (especially for high fitted values). You could confirm the non-linearity with a GAM. A solution might be a zero-adjusted model, or perhaps a Tweedie distribution. |
Beta Was this translation helpful? Give feedback.
-
|
I guess total lobster is a count, in which case an lm is not appropriate here; these are count data. Don't transform your response variable and instead fit a Poisson GLM. You will need to check for overdispersion. If the model is overdispersed, there are a few model checks to run through to identify the source. Depending on what these show, you can deal with the overdispersion appropriately. If you are struggling with any of this, feel free to email (carl.smith@biol.uni.lodz.pl) me your data and script and I will take a look at it. |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
In this group you can ask statistical questions related to the course content. We will aim to answer them to the best of our capacity
Beta Was this translation helpful? Give feedback.
All reactions