Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
3k views

Confidence intervals for emmeans estimates after multilevel binary logistic regression

I ran a multilevel binary logistic regression / generalized linear mixed-effects model in R, and then ran the following code to get post-hoc tests for a significant A x B interaction where A is a ...
MGy's user avatar
  • 315
1 vote
1 answer
47 views

Multi Level Mixed Models

I have a model in which I collected information from 3 different farms, and on each farm in several different weeks. The weeks are not exactly the same, so week 1 of Farm 1 is not the same moment as ...
Rafael Nicolino's user avatar
1 vote
1 answer
287 views

What is the state of the art for analyzing a mediated moderation in a multilevel logistic regression context?

I had participants in two groups respond to a series of dichotomous decisions. I investigated the interaction between group (level 2) and a level 1 predictor X on the criterion Y. I could confirm this ...
Max J.'s user avatar
  • 113
1 vote
1 answer
566 views

three-level logit regression with random slopes

I am trying to find the correct code for a three-level multivariate logit regression. I have protest participation, education level, and income data from a number of countries. Data are also divided ...
Eugenio's user avatar
  • 11
1 vote
1 answer
115 views

What inputs, ideas or insight the community can offer on the subject "A simulation study of sample size for multilevel logistic regression." [closed]

I have been assigned a topic on "A simulation study of sample size for multilevel logistic regression." I have searched the topic but found little reference on it. Could you please offer some ...
ABC's user avatar
  • 1,705
1 vote
1 answer
53 views

Getting a very big relative risk ratio value

We have fitted a multilevel multinomial logistic regression model to our data. We have obtained relative risk ratios(RRR). For most of the independent variables RRR have usual values, like 0.49, 0.78, ...
user232597's user avatar
1 vote
1 answer
216 views

Assumptions of a multilevel logistic model

Regarding to another question I'd like to ask the same way but for a quite more specific case. What are the general assumptions for a logistic multilevel regression? What are the reasons behind these ...
ghost_trevor's user avatar
1 vote
1 answer
383 views

Missing R Squared and ICC for Multilevel Binary Logistic Regression

I am currently assessing if allocation to a rejection scenario and degree of negative beliefs predicts the odds of engaging in a series of behavioural outcomes (e.g. avoiding the person). My first IV (...
Tom's user avatar
  • 11
1 vote
1 answer
145 views

Advice on modelling longitudinal change of dichotomous dependant variables within clustered data

I'm working with a data set from a multi-school data set and trying to model the relationship between a dichotomous Sleep Status (whether or not they were getting 8 or more hours of sleep per night) ...
Mark Duncan's user avatar
1 vote
1 answer
589 views

glmertree to fit logistic regression with two-column y

With both glm and glmer, if I wanted to fit a proportion, I could do it as either: ...
Ramon Diaz-Uriarte's user avatar
1 vote
1 answer
442 views

Using a multi-level model when some variables are clustered but majority is not and there are plenty of clusters?

I use an example to illustrate my question. I have a model that explains choice of low fat vs full fat milk, that was actually bought in a store. We model it with a binary logistic regression. The ...
canIchangethis's user avatar
1 vote
1 answer
217 views

Use a multilevel logistic regression and cross validation

I want to use a multilevel logistic regression for a double purpose, estimating the value of coefficients to explain a phenomenon. At the same time, I want to split the data through cross-validation ...
Andres Martinez's user avatar
1 vote
2 answers
2k views

Estimating Multinomial Multilevel Logistic Models by Binomial models

I would like to fit a multinomial multilevel logistic Model. Unfortunately I couldn't find a package that implements this. I tried Stata's ...
Rentrop's user avatar
  • 282
1 vote
0 answers
28 views

How to model a repeated measure logistic regression in r

I am currently trying to come up with a statistical model for my hypothesis. In my experiment there are two conditions (listen/describing). Each condition takes place for 20 seconds per trial. There ...
jnj_p's user avatar
  • 11
1 vote
1 answer
114 views

R - How to Address Small Number of Groups in Multilevel Logistic Regression?

I'm implementing a multilevel logistic regression model in R to predict a binary courtroom decision with 8 categorical and 7 numerical predictors. I believe a multilevel model to be appropriate ...
galaxy-friday1017's user avatar
1 vote
0 answers
52 views

Logistic regression for hierarchical / nested (3 level) data

Research Problem We are trying to help universities recruit as many students as possible for different projects for a good cause. To be eligible for any project offered by their university, students ...
Verena W's user avatar
1 vote
0 answers
119 views

(Normality) assumptions of logistic multilevel model (glmmTMB)

I have a dataset with patient data in a psychiatric hospital. Some patients had more than one stay, so the observations are not completely independent. I therefore used a multilevel model (in R with ...
Iokaste's user avatar
  • 11
1 vote
0 answers
50 views

Multilevel Bayesian model for Experimental Design with levels in treatment and control groups

Context I'm designing an experiment and Bayesian analysis to interpret results. I've used Statistical Rethinking as inspiration for model structure. Suppose I want to study the effects of a sports ...
jbuddy_13's user avatar
  • 3,520
1 vote
0 answers
279 views

Which regression coefficient should be used to calculate Odds ratio? Standardized or unstandardized?

I've run a multilevel logistic regression in R, and I want to calculate the Odds Ratios for the predictors in the model. R automatically gives the unstandardized regression coefficients for a ...
Paige Cox's user avatar
1 vote
0 answers
32 views

Using surgeon-level outcome rate as a predictor of outcome in logistic mixed model regression

I'm working on a study that involves predicting a surgery binary outcome (bailout yes vs. bailout no) in a hospital patient dataset. We wanted to include surgeon-level variables in a mixed model and ...
user324671's user avatar
1 vote
0 answers
50 views

Interpretation of predicted probabilities of multi-level logit model when "integrating over the random effects"

Let's say I run a single-level logit model of "being depressed", as a function of age (in years) and opiate use (binary). The model looks like this $Pr(Y_i=1)=\frac{exp(\beta_0+\beta_1Age_i+\...
Graham Wright's user avatar
1 vote
0 answers
550 views

Why does the intraclass correlation coefficient (ICC) increase as covariates are added to a hierarchical logistic regression model?

I fit three Bayesian binary multilevel logistic regression models. Schematically they look like this: ...
Namenlos's user avatar
  • 409
1 vote
0 answers
138 views

What is a sufficient sample size for a logisitic multilevel (three-level) analysis?

I have an exploratory research question for which I use a repeated measure design with 3 levels: level 1 = 3 measurement occasions per day level 2 = day level 3 = participan To keep the effort for ...
Patricia's user avatar
1 vote
0 answers
28 views

Help with MLM specification (data clustered by group and year) lme4 R

I have a dataset structured like so: ...
letitburn's user avatar
1 vote
0 answers
39 views

How can I test the proportion of "significant" effects in a logistic mixed effects model?

I have a binary outcome variable $Y \in {0, 1}$ in $N$ groups that I assume to be generated by the logistic process $$ P(y_{ij} = 1) = \frac{1}{1 + \text{exp}[-(\underline \beta_{j0} + \underline \...
AdagioMolto's user avatar
1 vote
0 answers
97 views

Do I need a multilevel model with no level-1 explanatory variable? (logistic regression)

Short version: I am fairly new to multilevel modelling and would like to avoid it. My question is basically if I can leave it aside given the nature of my data and the goals of my analysis. My ...
Rowanlegere's user avatar
1 vote
1 answer
376 views

Multilevel binary logistic regression assumptions

I am struggling to work out the assumptions of hierarchical binary logistic regression, to test whether my data is suitable for such an analysis. My data is repeated measures (each participant ID ...
Thomas Jameson's user avatar
1 vote
1 answer
626 views

Multilevel logistic panel regression with glmer in R

My dataset (long format) contains of data collected in 4 studies. Although the variables in the studies were identical, I want to account for the heterogeneity of the population between these studies ...
anwyy's user avatar
  • 11
1 vote
0 answers
28 views

Multilevel logistic regression for 3 by 3 factorial design? Sparse matrix problem

For the sake of example, let’s say this is a costumer research study. I have a binary outcome (x) that is either making a purchase or not making it. I have three independent variables: store ...
Emy's user avatar
  • 290
1 vote
0 answers
568 views

Multilevel logistic regression in R: ML vs. Bayesian estimation

I hope you can help me with an issue I encountered while trying to build a multilevel logistic regression model in R. I get different results depending on whether I fit the model using Maximum ...
awcm0n's user avatar
  • 11
1 vote
0 answers
347 views

Logistic regression with unbalanced sampling [duplicate]

Lets say I have a dataframe that looks like this: ...
Simon's user avatar
  • 2,361
1 vote
0 answers
781 views

Graph logistic regression with categorical predictors

I am running a multilevel analysis for binary outcomes (i.e., similar to binary logistic regression), trying to predict use of negations based on two categorical predictors (patient type (MUS vs. MES),...
I. Stort's user avatar
1 vote
0 answers
36 views

Formula for calculating the deviance of a two level logit random intercepts model?

I am looking for the formula to calculate the deviance of a multilevel logit model. I would like this for both the random intercepts case and the random intercepts and slopes model when there are two ...
user55193's user avatar
1 vote
0 answers
69 views

Cross-classified multi-level model - application to marketing

I am working on predicting whether an individual customer will respond favourably to a marketing campaign (yes/no). I have data about customers, and their responses to previous campaigns. If possible, ...
Red Car's user avatar
  • 11
1 vote
0 answers
86 views

Syntax for a logistic multilevel analysis in R? [closed]

I am looking for advice on what package and syntax to use in R for modelling a logistic multilevel analysis with variables as follows: Dependent variable (binary) = 0 or 1 Independent variable 1 (...
RobJackson28's user avatar
1 vote
0 answers
598 views

What is the correct way to identify overdispersion? [closed]

I calculated the dispersion parameters for each of two blocks in a hierarchical logistic regression. I am not quite sure how to interpret the dispersion parameter. First I calculated the parameters ...
Jennifer's user avatar
1 vote
0 answers
5k views

How to estimate ICC (degree of clustering) in hierarchical logistic regression?

I am exploring hierarchical logistic regression, using glmer from the lme4 package. To my understanding, one of the first steps in multilevel modeling is to estimate the degree of clustering of level-...
Joel Chan's user avatar
0 votes
1 answer
3k views

Residual diagnostics in DHARMa for multilevel logistic regression

I'm running a multilevel logistic regression, and have been trying to look at residual diagnostics using the DHARMa package. My data is copy-pastable from here and the following code should run ...
user1205901 - Слава Україні's user avatar
0 votes
1 answer
422 views

How to interpret interaction becoming non-significant after removing one non-significant main effect from model?

I am interested in an between-within interaction in a hierarchical logistic regression. I start my analysis with a model including all theoretically relevant predictors, including the between factor A,...
Max J.'s user avatar
  • 113
0 votes
1 answer
876 views

What are the assumptions that need to be checked for multilevel logistic regression and for multilevel ordinal logistic regression

I am running multilevel models for panel data on a binary outcome (mixed logistics regression) and on a ordinal outcome (mixed ordinal logistic regression). I am aware that for example with a mixed ...
gogo123's user avatar
0 votes
2 answers
1k views

Logistic regression factor/categorical predictor without reference/contrast

I did an experiment and there are 3 treatments. My hypothesis is that treatment A & C will lead to response 1 and treatment B will lead to response 0. I'm not trying to get a comparison result ...
leoce's user avatar
  • 101
0 votes
2 answers
119 views

Using random slopes & intercepts with dichotomous IV in multilevel logit?

Main Question Can you include a dichotomous independent variable in a random slopes & intercepts model? Or does the dichotomous nature of the variable violate any assumptions of random slope GLM ...
Yasha's user avatar
  • 101
0 votes
1 answer
345 views

How to do a repeated measures analysis with dichotomous DVs and categorical IVs?

I ran an experiment examining how 1st and 3rd graders responded to a series of questions about events. The responses to these questions were dichotomous-Yes/No. In my study, I have created 12 ...
KM2012's user avatar
  • 1
0 votes
1 answer
271 views

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 ...
SuppaiKamo's user avatar
0 votes
1 answer
4k views

Hierarchical Multiple Regression vs Ordinal (logistics) regression

This is my first research assignment and I feel overwhelmed and confused. I have been informed by my supervisor to do a hierarchical multiple regression using SPSS. I noticed that my dependent ...
Rita's user avatar
  • 1
0 votes
1 answer
35 views

Hierarchical logistic regression interaction

looking for some guidance on analyses. I'm running hierarchical logistic regression models with a cross-level interaction, x and z (both variables are continuous). Even though the interaction is not ...
whydidistartthis's user avatar
0 votes
0 answers
54 views

Binary logistic/logit regression on multilevel (hierarchical) data (in python)

I'm trying to run a binary logit regression on hierarchical data using python, and I cannot find a way to do that. Any help is appreciated. The dataset has the following variables: Accuracy, the ...
Sam Phoenix's user avatar
0 votes
1 answer
50 views

Controlling for variables in multilevel logistic regression modeling

I am new to mixed models and want to calculate a binary mixed model. However, I can't make much sense of the results and am hoping someone can help me out. So I want to calculate the probability of a ...
Sternengezuecht's user avatar
0 votes
1 answer
108 views

Can you use Multilevel Modeling (aka Hierarchical Linear Modeling) with Sequential Linear Modeling?

I have a question regarding the use of Multilevel Modeling (aka Hierarchical Linear Modeling) with Sequential Linear Modeling. I am trying to perform Sequential Linear Modeling (with a binary outcome) ...
Sam16's user avatar
  • 11
0 votes
0 answers
92 views

interpreting assumption tests for multilevel modelling

I have run a multilevel logistic regression model using the glme package in R. I now need to test the assumptions but I am not sure how to interpret the graphs I get, nor whether I'm doing the correct ...
Paige Cox's user avatar