All Questions
3,929 questions
5
votes
1
answer
3k
views
Interpreting interaction effects in a multilevel model
I conducted a multilevel analysis using repeated measures across four time points. The model contains intercept, linear slope and quadratic slope. I am interested in examining the extent to which ...
5
votes
1
answer
477
views
Multi-stage sampling together with hierarchical/ mixed effects models: which R packages?
Analyzing educational datasets we have samples of children from samples of class in samples of schools - we have sampling weights, so I use the survey package e.g. to do a linear model. But this kind ...
5
votes
1
answer
2k
views
R vs. SPSS Kolmogorov-Smirnov test
I was recently given the following data.
7 1 6 6 2 8 3 7 4 6 3 3 1 8 4 5 9 3 2 4 1 4 4 3 6 3 4 2 3 2 7 2 7 4 2 4 4 4 3 2 2 4 5 8 6 4 3 1 5 5
I then ran a KS test ...
5
votes
1
answer
9k
views
Generalized estimating equations output in SPSS
I am hoping to confirm that I have a suitable way to analyse the different proportions of people who are categorized as left lateralised on the one hand, or bilateral/right lateralised on the other in ...
5
votes
1
answer
1k
views
Fitting constrained hierarchical models in JAGS
I have been doing some research on constrained models and have recently read the paper:
Gunn and Dunson (2005) "A Transformation Approach for Incorporating
Monotone or Unimodel Constraints", ...
5
votes
0
answers
126
views
Nested mixed effects model- am I missing an additional random effect?
Let's suppose that data is collected for clinics across the state. The clinics are located in different counties, but also some of the clinics are owned by large healthcare systems that are located in ...
5
votes
0
answers
250
views
Calculating ICC for a beta-binomial GLMM
I understand that ICC in binomial GLMMs with a logit link can be calculated via R, where the residual deviance is (pi ^ 2) / 3. However, this is assuming that the ...
5
votes
0
answers
309
views
How can I find and categorise the effect size of a single coefficient in a multiple regression?
Question
How do I find the effect size for the different hierarchical multiple-level regressions used by papers in my review? And how do I categorise their effect size?
Detail
I’m publishing a ...
5
votes
0
answers
909
views
Prediction intervals for HTS forecasting
So I have a lot of time series with a hierarchical structure, and need to produce forecast for each base series and its aggregates by the hierarchical structure.
I have decided to produce forecast ...
5
votes
0
answers
2k
views
ROC curves for repeated measures
I am trying to model ROC curves for a longitudinal dataset where participants were measured between 1-13 times. Time is not of interest but the fact that the measurements are autocorrelated an issue. ...
5
votes
2
answers
2k
views
Relative importance of predictors - Standardized coefficients in Ordinal Logistic Regression
I am a 4th year psychology student. I need some help in understanding the coefficients in ORDINAL logistic regression. According to Williams (2009) "Using Heterogeneous Choice Models To Compare Logit ...
5
votes
0
answers
4k
views
No value or "."returned for Mauchly's Test of Sphericity in SPSS
I am learning how to do a Two-Way Repeated Measures ANOVA in SPSS but when I try to check the Mauchly's Test of Sphericity Significance value it only displays a single decimal point. It is also ...
5
votes
1
answer
327
views
Model relation between two rank variables where ranks are nested within subjects in one variable
I have elicited 10 attributes from $N$ subjects. Each subject rank ordered his own 10 attributes from the most to the least important one. I am interested in the relation between the order of ...
5
votes
0
answers
187
views
How to mitigate the hierarchical error propagation in tree-structured classification
Suppose we have a multi-class classification problem, where the number of classes $K \geq 3$
We use a tree structure of multiple SVMs to divide and conquer the problem, with one example in the figure ...
5
votes
0
answers
2k
views
Interpreting the variance of random effects in Mixed Linear Models?
When fitting the following simple model, using the 'lme4' R package and including a fixed and random slope term, I get:
...
5
votes
0
answers
2k
views
Hierarchical (multilevel, random-effects) Gaussian process regression
If we have a $J$ groups of predictor, outcome (univariate) variable pairs,
$$
\{(y_{j1}, x_{j1}) \ldots (y_{jn_j}, x_{jn_j})\}, \quad\text{for $j \in 1\cdots J$},
$$
a hiearchical linear regression ...
5
votes
0
answers
813
views
How does GEE (Generalized Estimating Equation) treat different cluster size?
I have a population of 200,000+ patients and their hospital visit information. I'm trying to see if having a certain disease would have an effect on whether they will have readmission or not (this is ...
5
votes
2
answers
2k
views
Is there any possible method to calculate effect size in mixed models?
I run MIXED command for mixed model analysis of repeated measured data.
However, there is no option or menu for estimate power(like partial eta in GLM) in mixed analysis.
Is there any method to ...
5
votes
0
answers
2k
views
Q: Exploratory factor analysis in R
I am trying to do an exploratory factor analysis (EFA) in R with oblique (promax) rotation.
From Wikipedia,
In oblique rotation, one gets both a pattern matrix and a structure
matrix. The ...
5
votes
0
answers
509
views
How to run a multiple membership hierarchical model in Stata?
I have a dataset of educators and the courses that they designed. My original thought was to do a multilevel model where courses are nested within educators, and the outcome is whether the course ever ...
5
votes
2
answers
2k
views
How do I do nonlinear generalized estimating equations in SPSS [closed]
Say I have two conditional media for bacteria growth: a bacteriocidal drug and control. I want to see the effect of my bacteriocide on culture growth, so I set up 6 flasks: three with drug, three ...
5
votes
0
answers
1k
views
Hierarchical regression with dummy variables
I need to perform hierarchical regression with dummy variables. I also need to check moderation by introducing in the model interactions of these dummy variables and the moderator. My questions are:
...
5
votes
0
answers
853
views
How to implement a two-stage hierarchical model of time series data in R?
I'm currently working with a data set that consists of a monthly case count for several sites, along with a number of site-specific covariates. We're trying to estimate the effect of one of them on ...
5
votes
0
answers
236
views
Dynamic consistency and multilevel models using lmer
I've been using nlme and more recently lmer to fit multi-level models of time course data using orthogonal polynomials. My ...
5
votes
0
answers
270
views
Analysis hierarchical circular mixture data
I have circular data such that multiple human participants were, each shown a color from a color wheel, asked to remember it for a "retention interval", then report it back by clicking a ...
5
votes
0
answers
3k
views
How to assess mediation effect in multinomial logistic regression? [closed]
I wonder if it possible to include a mediation effect in multinomial logistic regression. I have a categorical (3 categories) outcome variable and four predictors (all continuous). I expect one of the ...
5
votes
2
answers
4k
views
How can I model a binary outcomes in time series using logistic regression?
My data has a binary outcome (attack or not attack), day (20 day in repeated measured design) and some covariates (nestling’s movement).
The objectives of my experiment are testing the effect of time ...
4
votes
3
answers
278
views
What is a good internet based source of information on Hierarchical Modeling?
I am talking about the regression method that measures the impact of several layers of independent variables upon a dependent variable.
4
votes
2
answers
187
views
Does having self and other report measures as predictors require dyad analysis?
I have three different measures of child anxiety (IVs). For each measure, I have a self-rating by the child and an other-rating by a parent.
I want to use these measures to predict a particular ...
4
votes
1
answer
880
views
Why does ${\rm cov}(Y_{ij}, Y_{ik}) = \sigma_u^2$ in the model $Y_{ij} = \mu + u_i + e_{ij}$?
Consider $Y_{ij} = \mu + u_i + e_{ij}$ where $\mu$ is a constant and $u_i ∼ N(0,\sigma_u^2
)$ is the subject $i$ random effect which is independent of the error term $e_{ij} ∼ N(0,σ_e^2)$. I can't ...
4
votes
2
answers
13k
views
When to interpret multivariate tests when performing repeated-measures ANCOVA?
Yesterday, I ran a repeated-measures ANCOVA. The purpose was to determine the usability of two computer systems, call them 1 and 2. Each subject completed three (conceptually different) tasks, call ...
4
votes
3
answers
5k
views
Stepwise model selection, Hosmer-Lemeshow statistics and prediction success of model in nested logistic regression in R
is it possible to do stepwise (direction = both) model selection in nested binary logistic regression in R? I would also appreciate if you can teach me how to get:
Hosmer-Lemeshow statitistic,
Odds ...
4
votes
2
answers
5k
views
What are the implications of a perfect fit model?
I perform logistic regression with a relatively small dataset (N=65), using 12 parameters (11 variables, one constant, no interactions), which results in a perfectly fitting model (in SPSS). I have a ...
4
votes
2
answers
1k
views
Why are Bayesian mixed-effects models (e.g., brms) more able to estimate complex models than Frequentist mixed models (e.g., lme4)?
It is commonly suggested that if you are having trouble getting your lme4, Frequentist mixed-effects model to converge, you can either (a) simplify and drop random effects in the model, or (b) pivot ...
4
votes
2
answers
6k
views
plm in fixed effects model doesn't work with id and time
I am writing currently my thesis and I am stuck with a problem. I am trying to figure out how firm level, country level and industry level variables influence corporate social responsibility. I want ...
4
votes
1
answer
3k
views
How many factors to retain in EFA (Exploratory Factor Analysis)?
I have multiple measures from a scale and I want to determine the best factorial structure using EFA, in SPSS. I don't understand if I can retain the number of factors that I want to retain because ...
4
votes
1
answer
6k
views
Forecasting hierarchical time series R package
I have to forecast a large set of (hierarchical) time series and since the R package hts allows for confidence intervals for their ensemble, I'd like to use it. I haven't found an example of how to ...
4
votes
6
answers
692
views
How to assess effect of intervention in one state versus another using annual case fatality rate?
I am a beginner in statistics with just basic knowledge. I have these data: cases, deaths and CFR (Case Fatality Rate-deaths per 100 cases) of a disease for 17 years (1994-2010) from 2 neighbouring ...
4
votes
1
answer
12k
views
Is it acceptable to use linear regression to predict a 4 point likert scale from a 7 point likert scale?
My dependent variable is measured on a 4 point likert scale and independent variable is measured on a 7 point likert scale. Is it appropriate to run regression analysis on such data with varying ...
4
votes
2
answers
60k
views
Bonferroni adjustment in SPSS - what does it do?
I'm probably being a bit simplistic here, but from what I understand the Bonferroni post hoc test is simply when we adjust the alpha to account for inflated error when several post hoc tests are ...
4
votes
3
answers
5k
views
Analyzing Likert scales
The Likert scale I am analyzing has both positive and negative questions, but all the items are answered with 4 - strongly agree, 3 - agree, 2 - disagree and 4 - strongly disagree. For analysis, ...
4
votes
1
answer
197
views
What is the difference between R and SPSS in estimating random effects?
I need to estimate a generalized linear mixed model (GLMM).
When using R, I need to choose a specific fixed effect (one of the independent variables in the model) to have a random slope according to a ...
4
votes
3
answers
6k
views
Is it possible to conduct a regression if all variables are ordinal?
I would like to produce a regression analysis model. I have ordinal categorical data. I can use SPSS. I do not know what analysis to perform or what assumptions to check.
What are the statistical ...
4
votes
4
answers
23k
views
SPSS: "Weight cases" by multiple factors, by taking the product of weights?
My understanding is that a sample can be adjusted based on a known population using the "Weight Cases" function in SPSS. What is the proper procedure for weighting by multiple factors? Let's say I ...
4
votes
1
answer
8k
views
Mixed ANOVA vs. mixed models (multilevel modeling)
Is mixed ANOVA the same thing as multilevel modeling? If not, how do they differ? I am trying to compare inter- and intra-individual differences and not sure which one is the better approach.
4
votes
2
answers
548
views
R p-value half to SPSS rANOVA
I have done rANOVA in SPSS and then in R and got two different p-values from the same model. While SPSS gives 0.032, R gives 0.0162, which when rounded is a half. Other data are exactly the same.
1. ...
4
votes
1
answer
406
views
Best practice MLR vs GLM(M)
I am modelling timeseries of organism traits (7 different traits in total) using GLM(M)s in R. The data was collected at very irregular intervals and from 6 different locations. For every location 5-...
4
votes
1
answer
5k
views
Level-2 predictions with lme4/glmer model
Let's say I've fitted a 2 level model with glmer like this:
...
4
votes
2
answers
4k
views
What to do when a Mann-Whitney U assumption is violated?
I'm using a M-W U test to analyse some Likert scale results I have, as my data is ordinal.
One of the assumptions that keeps on appearing on references is the following: "both distributions must be ...
4
votes
1
answer
93
views
Advice on optimal random-effects structure for not fully crossed repeated-measures design?
I have a study that is designed such that it seems to straddle a within- and between-subject design. I posted about this previously here, but at that stage I was hoping for a simple ANOVA-like ...