You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- $\begingroup$ Thanks. This is immensely useful. I have not altered any measurements, initial or otherwise. There is some variation in initial snake weight, range 70-141 grams, but this is minuscule compared to variation at time point 6, 1200-16000 grams. Maybe is why I get minimal variance attributed to individual snakes? I am out of my depth here. It was a randomised trial to test the effect of tagging so snakes were randomly allocated to tag and non-tag groups, but I guess that shouldn't be coming into play here yet as I have not even included tag as a factor in these models yet. $\endgroup$Pat Taggart– Pat Taggart2020-09-18 07:14:47 +00:00Commented Sep 18, 2020 at 7:14
- 1$\begingroup$ You're welcome. Yes, that is why you get a very small random intercept variance. I assume it's birthweight or very shortly after birth ? In your situation I might be tempted to retain the random intercecpts, centre the time variable at 0 and also consider a nonlinear term (unless you know that growth is linear over the time period in question ?) $\endgroup$Robert Long– Robert Long2020-09-18 07:31:40 +00:00Commented Sep 18, 2020 at 7:31
- 1$\begingroup$ It would be good to include a plot of your data $\endgroup$Robert Long– Robert Long2020-09-18 07:42:48 +00:00Commented Sep 18, 2020 at 7:42
- 1$\begingroup$ I was thinking about this some more. Although there is very little initial variation relative to final variation, there might be a relation between initial bodyweight and the growth trajectory, that is, there could be correlation between random intercepts and random slopes, but the modelling so far has been unable to detect this. If this sounds plausible in your study, some changes will be necessary. $\endgroup$Robert Long– Robert Long2020-09-18 09:18:53 +00:00Commented Sep 18, 2020 at 9:18
- 1$\begingroup$ Yes, fitting birthweight as a fixed effect is a reasonable idea. Cubic splies would be good, although you may want to consider random slopes for the splies too (though don't be surprised if the data doesn't support that). I was thinking you might want to try some kind of transformation to make the earlier readings more spread out (and would then allow random intercepts). You also have increasing variance over time (heteroskedasticity) which can often be fixed with a transformation. $\endgroup$Robert Long– Robert Long2020-09-20 10:30:00 +00:00Commented Sep 20, 2020 at 10:30
| Show 1 more comment
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
- MathJax equations
$\sin^2 \theta$
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. machine-learning), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
lang-r