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.
- $\begingroup$ Welcome to cv, Marco! Did you do the simulation study in order to understand mixed models, or is there a real application behind it? I am asking because linear mixed models assume random effects with fixed variance. Estimation may perhaps be quite robust, but in 58% it breaks down - perhaps you reached a point where heteroscedasticity matters. Nice study, btw :-) Have you tried with fixed variance? $\endgroup$Ute– Ute2023-07-31 10:53:56 +00:00Commented Jul 31, 2023 at 10:53
- $\begingroup$ Thanks @Ute! There is a real application behind this simulation study and I try to figure out if LMMs are the right tool to address the problem. Since the heteroscedasticity we observe here is not function of another variable (e.g. variance increases with higher concentration) but a randomly changing variance around a "mean variance" I hoped that nested LMMs could be a promising tool. I tried also with crossed random effects (both variance components are fixed and Independent from each other) and didn't run into any issues. However, this does not map the situation I have in my real data. $\endgroup$Mexx– Mexx2023-07-31 11:51:17 +00:00Commented Jul 31, 2023 at 11:51
- $\begingroup$ Do you have estimates ("guestimates") for the distribution of variances? You could run your experiment with different variance distributions and check where it gives these results $\endgroup$Ute– Ute2023-07-31 12:25:02 +00:00Commented Jul 31, 2023 at 12:25
- $\begingroup$ Unfortunately not. Like in the simulation, I have several Projects each with nB Batches and nR replicates. The Batches have one common variance. However, this variance is randomly different between the Projects and this difference is not caused by the uncertainty in the batch variance estimation. In other words, even if I increase the number of batches towards infinite, this random variability of the batch variance across the projects would still be present and I have to consider it. $\endgroup$Mexx– Mexx2023-07-31 12:47:42 +00:00Commented Jul 31, 2023 at 12:47
- $\begingroup$ I could also be wrong. You modelled the sd as following an N(100, 10) distribution, so there is not really much variation (only +- 20% or so). On the other hand, sdRes is very small in comparison to sdB. So it is like you have replicates of the same value in each batch. Is this realistic? / / side question: do you already have data, or are you still planning? $\endgroup$Ute– Ute2023-07-31 14:15:28 +00:00Commented Jul 31, 2023 at 14:15
| 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