|
You are here |
aosmith.rbind.io | ||
| | | | |
jaredknowles.com
|
|
| | | | | ||
| | | | |
www.rdatagen.net
|
|
| | | | | Simulation can be super helpful for estimating power or sample size requirements when the study design is complex. This approach has some advantages over an analytic one (i.e.one based on a formula), particularly the flexibility it affords in setting up the specific assumptions in the planned study, such as time trends, patterns of missingness, or effects of different levels of clustering. A downside is certainly the complexity of writing the code as well as the computation time, which can be a bit painful. My goal here is to show that at least writing the code need not be overwhelming. | |
| | | | |
www.fromthebottomoftheheap.net
|
|
| | | | | [AI summary] The text discusses the use of generalized additive models (GAMs) to represent random effects as smooths, enabling the testing of random effects against a null of zero variance. It compares this approach with traditional mixed-effects models (e.g., lmer) and highlights the advantages and limitations of each. Key points include: (1) Representing random effects as smooths in GAMs allows for efficient testing of variance components and compatibility with complex distributional models. (2) While GAMs can fit such models, they are computationally slower for large datasets with many random effects due to the lack of sparse matrix optimization. (3) The AIC values for models with and without random effects are similar, suggesting that the simpler model i... | |
| | | | |
juliasilge.com
|
|
| | | A data science blog | ||