Skip to contents

experdyn (development version)

New features

  • fa_multilevel() — exploratory factor analysis for repeated-measures data, fitted as a mixed model with glmmTMB. Grouping variables given in random (e.g., ~ (1 | Participant)) get item-specific random intercepts, and a single set of within-level loadings is returned, together with factor scores that can be passed to resample_timeseries(). With random = NULL, it reproduces a standard maximum-likelihood EFA. Passing several values to nfactors (e.g., 1:4) fits and compares the solutions (AIC, BIC, BIC weights, variance explained), returning the best one (lowest BIC) and all the others.
  • parameters::model_parameters() methods for fa_multilevel() results, returning the loadings in the same format as parameters::factor_analysis(). They work with the rest of easystats: summary(), predict(), closest_component(), convert_efa_to_cfa(), and plot() from the see package.
  • New vignette: Dimension Reduction with Multilevel Factor Analysis.

experdyn 0.1.0

New features

  • resample_timeseries() — converts irregularly sampled ESM/EMA time series to a regular grid using natural cubic spline interpolation. Automatically detects and splits on large temporal gaps (e.g., overnight breaks) before interpolating.