Skip to main content

Questions tagged [longitudinal]

Data from studies or processes with multiple observations over time. Econometrics is a typical topic where such data would be collected and analyzed. Proper analysis will take into account auto-correlation and cross-correlation.

longitudinal
0 votes
0 answers
8 views

GEE Modelling with 'geepack' showing contrast errors [duplicate]

I want to use Generalized Estimating Equations (GEE) to model longitudinal survey data. Participants' responses were recorded at three timepoints, and I have multiple independent variables that I ...
Erb's user avatar
  • 13
0 votes
0 answers
12 views

GLM for longitudinal or time-series -- how to model and interpret a binary logistic regression over time controlling for covariates using R [migrated]

I work with the risk of delays (0 = no risk, 1 = risk). I want to run a binary logistic regression considering panel data over time. I have data from 4 years (4 time-points) and some covariates (...
Luis's user avatar
  • 1,552
0 votes
0 answers
16 views

R New Variable if_else with longitudinal data

I am currently working on longitudinal data in which I have participants BMI category (normal, overweight, and obese) for three time points, age 7, 9, and 11. I would like to create one new variable ...
CC_KK's user avatar
  • 1
0 votes
0 answers
7 views

pivot longitudinal data into wider format: error due to attributes, also need to detect differences over time

I have longitudinal data and need to check whether contact info remained the same over time. A simple version would look like this id<-c(1,1,2,2,2,3) em1<-c("[email protected]",NA,"Bb@...
Gitta's user avatar
  • 15
0 votes
1 answer
24 views

Merging data to create a longitudinal dataframe in R

I have dataframe, df_master, which is comprised of longitudinal data for multiple patients ("record_id") where each row represents a day of follow-up ("time"). A second data frame ...
Casey's user avatar
  • 127
0 votes
0 answers
26 views

How do I perform an ordered logistic regression with the R lme package?

I have longitudinal ordinal data and survival data. I want to do a joint model. I am familiar with the JM package, which uses lme for the longitudinal model. I theoretically understand that you can ...
Bryan's user avatar
  • 225
0 votes
1 answer
44 views

lme4 convergence warning and rescaling in longitudinal data analysis

I have a longitudinal data with ~2400 participants and ~15000 observations. When fitting the mixed effects model using lmer() with a random slope of time, I received a warning: optimizer (nloptwrap) ...
maple's user avatar
  • 3
0 votes
0 answers
11 views

Difference between DSEM and Latent Trajectory with Structured Residuals

I am having a find time understanding the difference between Dynamic Structural Equation Modelling (Asparouhov et al., 2018) and Latent Trajectory with Structured Residuals (Curran et al., 2014). I am ...
user25368242's user avatar
1 vote
1 answer
48 views

estimating percent trend of category variable per year in Stata

I am trying to graph a trend line of categorical variable by gender in Stata. It would be like a percentage trend of each value of this categorical variable (level 1, 2, and 3) by gender and I can't ...
Sun's user avatar
  • 179
0 votes
1 answer
21 views

MicrobiomeTest::generate_alpha_trend_test_long() not recognising rownames and columns

Good morning everyone, I am trying to use MicrobiomeTest to perform a longitudinal analysis on a microbial community. It worked all fine at the beginning, but after I used a different dataset, the ...
Rosario's user avatar
  • 193
0 votes
1 answer
99 views

Goodness of fit in Hidden Markov models (Latent Transition Analysis) using LMest, assessing covariate effects

I am a student trying to do Latent Transition Analysis/Hidden Markov for the first time for my thesis using LMest in R. I am analyzing various behaviors (binary variables) measured during two time ...
user23546212's user avatar
0 votes
0 answers
134 views

lcmm() in R Error: Numerical problem by computing fn value of function is : NaN

My data frame filtered_gmmdf_long (long format) has no NA. It contains the variables ID, time (i.e. 0, 3, 8, 15, 25), and wblv (continuous, approximately Normal distributed). Sample data library(dplyr)...
Cassondra Lyman's user avatar
0 votes
0 answers
92 views

Latent change score using lavaan with observed variables measured at two time points (and comparing results with traditional repeated measures anova)

I would like to carry on a latent change score model for 5 different psychological constructs measured at two time points in lavaan. People told me it can do ok with missing data. I'm struggling with ...
Luis's user avatar
  • 1,552
0 votes
0 answers
20 views

I need help in estimates lme models

I'm analyzing two models of class LME for longitudinal data (observations in two times), but this message appears Error in lme.formula(y ~ x, random = ~1 | id, data = data_long) : nlminb problem, ...
João Ferreira's user avatar
0 votes
0 answers
73 views

Predicting outside of follow-up time with JMBayes2

I am trying to work with the JMBayes2 package to simulate outcomes outside of my datarange for a problem where I have a longitudinal outcome which forms a proxy for cognitive functioning and a binary ...
Pieter van der Veere's user avatar

15 30 50 per page
1
2 3 4 5
19