# mixed effect

1. ### Mixed models and geostatistics : interpretation

Hi, I thank in advance all persons who can help me to understand my problem more clearly. let's say we have 20 air quality sensors that crisscross a city. Resulting in N observations (each sensor has n_k observations), each observation z is linked to the coordinates where it was collected...
2. ### Mixed Effect Model in SPSS

I keep getting error messages:' The levels of the repeated effect are not different for each observation within a repeated subject.' Can anyone offer me some advice whether I can perform Mixed Effect Model in SPSS with my data or I have organised my data correctly? I have two groups of...
3. ### Error messages for Mixed Effect Model in SPSS?

I keep getting error messages:' The levels of the repeated effect are not different for each observation within a repeated subject.' when performing Mixed effect model in SPSS. I have two groups of participants X and Y who performed two sets of tasks i.e. A and B. Group 1 has 12 subjects...
4. ### Estimated marginal means (+/-SE) in mixed-effect model for two or more fixed effects

After specifying a mixed-effect model (using lme4 package) with 2+ fixed factors, for example: model = lmer(DV ~ facA * facB + (1|subject), data=DATA) I would like to estimate the marginal means (+/-SE) for each cell of facA and/by facB adjusted for each other (optionally allowing their...
5. ### Split file regression, or Fixed effects Mixed model

Within a dataset that has a few variables explaining dependent variable A, and influences vary over different categories, it can be obvious to split the file in these categories and run a regression. However, there is also the possibility of running mixed models with fixed factors. What would...
6. ### Have I correctly specified my model in glmer ?

The following multilevel logistic model with one explanatory variable at level 1 (individual level) and one explanatory variable at level 2 (group level) : \text{logit}(p_{ij})=\pi_{0j}+\pi_{1j}x_{ij}\ldots (1) \pi_{0j}=\gamma_{00}+\gamma_{01}z_j+u_{0j}\ldots (2)...
7. ### Hierarchical regression with partially nested variables

I would like to do a logistic regression of vaccination coverage of, for example, HPV. Let's assume that we have 50 states (S). 30 states have an urban part and a country part (urbanity variable U). The other 20 have only a country area. 10 of the states have population areas where individuals...
8. ### How to do Regression with many replicates of y at each level of x?

Hi follows, I have data that looks as follows: X, y1, y2, y3, y4 0, 54.241, 127.728, 127.73802, 127.73802 31, 65.132, 127.729, 127.73787, 127.73792 59, 65.364, 127.729, 127.73782, 127.73789 Where y1-y4 are just independent...
9. ### Contrasts in R for two-way and three-way interactions

I am new to using R and have just performed some mixed effect models which have significant 2-way and 3-way interactions. My question is now that I have a nicely constructed model, what next? Basically, I would like to perform pairwise comparisons for all of my interactions. My fixed...