Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Mixed (aka multilevel or hierarchical) models are linear models that include both fixed effects and random effects. They are used to model longitudinal or nested data.
3
votes
2
answers
432
views
How to combine random effect and nested random effect with lme
I'm doing a mixed linear model. And I have subjects who have been select in 20 schools. So I want to take this to account.
For this, I want to put a random intercept for the "SCHOOL" variable and a …
0
votes
1
answer
442
views
How to check the linearity of continuous variable in linear mixed model
I'm doing a linear mixed model using lme.
In my adjustement factors, I have a continuous varaible (named X1). And I want to check the linearity of this variable using a spline function or a fractiona …
1
vote
0
answers
84
views
How to calculate a sample size for a longitudinal study with repeated data?
Did you know a program or logiciel that allows to calculate the sample size for a longitudinal study with repeated data ?
And if my subjects are nested in some schools, how I calculate the sample siz …
1
vote
1
answer
746
views
Interpretation linear mixed model with interaction
I'm doing linear mixed model with an interaction between the time and my exposure.
The fixed effects look like this :
$$Y \sim T + T\cdot \text{GRP} + X$$
with $T$ the time, $\rm GRP $ the exposure an …