Timeline for Nested or Crossed Effects with Nationalities
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 1, 2020 at 18:32 | vote | accept | lole_emily | ||
Jul 1, 2020 at 16:16 | comment | added | lole_emily | Hey @RobertLong! Thanks for replying! I am interested in the random effects between nationalities and also cities. Also, I expect that the same nationality might have different effects and also that they might be different between cities in terms of my dependent variable. My Dataset is very large (~100.000 persons, 120 nationalities, 10 cities) | |
Jul 1, 2020 at 15:33 | answer | added | Robert Long | timeline score: 3 | |
Jul 1, 2020 at 15:21 | comment | added | Robert Long | I don't think that is what they meant. It sounds like you may have crossed factors for nationality and city, however you seem to be interested in fixed effects, not random effects. What is the size of your dataset ? How many persons, nationalities and cities ? | |
Jul 1, 2020 at 15:11 | history | edited | lole_emily | CC BY-SA 4.0 |
added 73 characters in body
|
Jul 1, 2020 at 15:04 | history | edited | lole_emily | CC BY-SA 4.0 |
added 137 characters in body
|
Jul 1, 2020 at 14:54 | comment | added | lole_emily |
@cbeleitesunhappywithSX I think I got what you mean! If I understand correctly, you were suggesting to opt for lmer(dependent_variable ~ variable 1 + variable 2 + (1|city)*(1|nationality) ?
|
|
Jul 1, 2020 at 14:42 | history | edited | lole_emily | CC BY-SA 4.0 |
Added another subquestion
|
Jul 1, 2020 at 14:16 | comment | added | lole_emily | Hi @cbeleitesunhappywithSX! Thanks for your quick comment! Not sure, but this would also mean that neither of them can be used as a random effect, correct? | |
Jul 1, 2020 at 14:13 | comment | added | cbeleites | You can allow for interaction between city and nationality. | |
Jul 1, 2020 at 14:12 | review | First posts | |||
Jul 1, 2020 at 14:39 | |||||
Jul 1, 2020 at 14:10 | history | asked | lole_emily | CC BY-SA 4.0 |