multilevel analysis

  1. M

    Control variables in mediation analysis?

    Hi, I want to conduct a mediation analysis, which will investigate whether the change in depressive symptoms during treatment (time) is mediated by the change in OCD symptoms. Currently, I have time as my predictor, OCD symptoms as my mediator and depressive symptoms (at time t+1) as my...
  2. C

    R code for multilevel latent class model

    Dear all, I am not able to find a reliable r code to run a multilevel latent class model. Indeed, I have to analyze how social trust (three variable form the ESS survey) might vary between countries (21 countries in my database). I tried to use the poLCA package but I am not sure if my code...
  3. R

    Dyadic repeated measures with moderation - how to analyze?

    Hi, I want to test the effects of the emotions expressed in private online chats between males and females (dyadic chats) on the female's satisfaction from the chat. And to test how some factors may moderate these effects (for example, the length of the chat or the topic of the chat). I...
  4. V

    Regression on Survey analysis across 50 states

    I ran a survey across all 50 states in the US. The goal is to see if there is a correlation between people's love for the state and the population growth % over 5 years. The survey has 15 questions - all on Likert scale (1 to 5 Strongly Disgaree to Strongly Agree) - questions about people's...
  5. S

    multilevel analysis

    Dear folks, I have nested data within schoolclasses, therefore I want to run multilevel analysis' with R, package lme4. My hypothesis is H0: x = 0. I don't know how do put this into a multilevel analysis. Can you help me with this? Kind regards
  6. C

    Calculating Overall Relative Bias

    I am in some trouble to understand how is to calculate the overall relative bias. In this link, there are results of overall relative bias in "Parameter estimates" sub-section under "Results" section. There they mentioned that : Could you please explain me how did they calculate it? I had...
  7. C

    Coverage Probability

    Let U0 denotes intercept variance and U1 denotes slope variance. Given that the coverage rate for the intercept variance is 91% (U0) , and the coverage rate for the slope variance is 91.2% (U1) . Also nominal coverage rate is 95%. Then it is written that I have not understood from the...
  8. C

    Two-Level Model in Matrix Notation

    A two-level model, with one explanatory variable at the individual level (X) and one explanatory variable at the group level (Z): Y_{ij}=\gamma_{00}+\gamma_{10}X_{ij}+\gamma_{01}Z_{j}+\gamma_{11}X_{ij}Z_{j}+u_{0j}+u_{1j}X_{ij}+e_{ij}\ldots (1) correlation between u_{0j} and u_{1j} is 0 . The...
  9. S

    Multilevel Mediation

    Hi, I have 130 participants and have multilevel data (5 days nested in each participant). I need to do a cross-level mediation (2-1-1) & am having trouble with the best way to do this using MLM in SPSS. I think the best way would be to use latent growth modelling or multilevel SEM but I don't...
  10. C

    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)...
  11. C

    Relative bias of estimates of multilevel logistic regression models

    The post is little bit lengthy , but it will give you thorough information and you can run the code easily . Trust me , I believe the answer is really very basic and not lengthy at all . I want to calculate relative bias of estimates of multilevel logistic model with one explanatory...
  12. C

    Penalized quasi-likelihood

    Can anybody explain me why the function `glmmPQL(.)` in `R` behaves in different ways, depending on the number of measurements/individuals you use? To show you this, I generated two examples. The first one includes 20 indivduals with each 100 repeated measurements (binary response), the...
  13. C

    Estimating Multilevel Logistic Regression Models

    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)...
  14. S

    Is this logit model a multilevel model, and what is the correct way to model it?

    I am analyzing a sample of about 6000 actions carried out by about 500 multinational companies in about 80 countries during a 6 year period. Actions are carried out randomly, and are not longitudinal measurements for the same multinational over time. The actions can be of two types (A or B). My...
  15. J

    Multilevel regression problem

    I am new to multilevel models and I am basically wondering whether I can use a multilevel model at all, given the structure of my data. I have collected data on membership of lobby groups in committees used by the Directorates-General (DGs) of the European Commission (the DGs are a bit like...
  16. J

    GLLAMM help please? 3-level, random coefficient at level 3

    Dear Talk Stats, I have a question regarding the use of gllamm for multi-level modelling of ordinal variables in STATA. A brief description of my data and aim. I have individuals nested in schools nested in cities i.e. 3-levels. My dependent variable is 4-options from 1 to 4 on...
  17. Lazar

    Predicting Random Slopes

    I have a model as follows: Level 1 (students): Variables = educational aspirations (expect) and socioeconomic status (ses) Level 2 (schools): not interested in this level just controlling for it Level 3 (countries): Variables = educational equity (ICC) the models is...
  18. V

    multilevel analysis help!?

    Hi, I have a question regarding multilevel analyses using stata. My research question concerns a nested observational study design in which i collect questionnaire data from students (that cluster within classes, that cluster within schools: a 3 level design). Together with a set of...
  19. P

    HELP! SEM and path analysis with time frames

    I am having trouble writing the methods section for my dissertation research. I am using SEM/path analysis, and I cannot figure out how to include multilevel analysis for one of my IVs. One of my IVs has 6 levels of time associated with it. The outcome on the DV is being compared between each...
  20. S

    Longitudinal multilevel moderation analysis - stats geniuses, please help me!!

    Hi all, I am working on a very complicated analysis and am quite lost! :confused: I am analysing data from a randomised controlled trial. I have 3 groups (treatment 1, treatment 2, waitlist), and 3 repeated measures (baseline, time 1, time 2). In addition, I have 7 possible continuous...