model = Generalized linear mixed-effects model fit by PL Model information: Number of observations 30 Fixed effects coefficients 6 Random effects coefficients 0 Covariance parameters 1 Distribution Normal Link Identity FitMethod MPL Formula: state_duration ~ 1 + movement*state Model fit statistics: AIC BIC LogLikelihood Deviance -42.565 -32.756 28.282 -56.565 Fixed effects coefficients (95% CIs): Name Estimate SE tStat DF pValue Lower Upper {'(Intercept)' } 3.6481 0.042155 86.54 24 1.8221e-31 3.5611 3.7351 {'movement_headfixed' } 0.096564 0.059616 1.6198 24 0.11835 -0.026478 0.21961 {'state_NREM' } 0.32127 0.059616 5.389 24 1.5572e-05 0.19823 0.44432 {'state_REM' } 1.0395 0.059616 17.437 24 3.925e-15 0.91648 1.1626 {'movement_headfixed:state_NREM'} -0.083204 0.08431 -0.98688 24 0.33355 -0.25721 0.090803 {'movement_headfixed:state_REM' } -0.13388 0.08431 -1.588 24 0.12538 -0.30789 0.040124 Random effects covariance parameters: Group: Error Name Estimate {'sqrt(Dispersion)'} 0.094262