# Questions tagged [degrees-of-freedom]

The term "degrees of freedom" is used to describe the number of values in the final calculation of a statistic that are free to vary. Use also for "effective degrees of freedom".

470 questions
Filter by
Sorted by
Tagged with
425 views

### Is it normal to have thousands of df in a logistic regression model?

I'll admit right off the bat that degrees of freedom is not a concept I understand very well in general. That being said, I was reading a study that reported the following results: I struck me that ...
45 views

### How to define degree of freedom for Ljung Box text?

I am using Ljung-box test after fitting an ARIMA model to a time series to investigate whether residuals do look like white ...
1 vote
15 views

### Is there a way to correct for degrees of freedom when using a generalized linear model with a Poisson distribution featuring random effects?

I am running a generalized linear mixed effect model with a Poisson distribution to analyse count data. The model has a random effect that takes into account multiple observation obtained by the same ...
• 11
54 views

### What is $F_{k,\infty}$, i.e., $F$ distribution when the second degree of freedom approaches infinity?

What is $F_{k,\infty}$, i.e., $F$ distribution when the second degree of freedom approaches infinity? I'm wondering if there is a known distribution(such as $\chi_k^2$) that it converges to.
• 1,682
1 vote
19 views

### Why do df.residual in R and df_resid in Python (statsmodels) produce different results? [closed]

The statsmodels result is consistently higher by 2. This is using lme4 (R) and MixedLm (Python).
• 21
1 vote
10 views

### What Degree of Freedom should I be using for this Q-test

This is a Time Series problem. I am testing whether I have significance of residues at $lag=3$ using an $ARMA(1,1)$ model. From the $ACF$ plot, the autocorrelation of residues is significant. The ...
• 11
1 vote
16 views

### Degrees of Freedom for Linear Combination of Variables

I have three mean estimates, all from variables assumed to follow a Normal distribution. The following is a mock example. x1 is estimated at 4, with a standard error of 5 and 6 degrees of freedom x2 ...
• 11
1 vote
32 views

### huge degrees of freedom for post-hoc tests of lmer model using emmeans

I have a trial-wise linear mixed model with a categorial between-subjects factor group (A vs B) and two categorical within-subjects factors itemEmotion (neutral vs. negative) and neuralArea (frontal ...
• 45
7 views

### Degrees of Freedom for Variances in SAS Proc MIXED

Below is a SAS proc Mixed code generated by JMP. Both JMP and SAS give me a confidence interval for the variance components (in the table "covariance parameter estimates"). I would like the ...
• 11
10 views

### How to do a MANOVA if my three dependent variables have only two degrees of freedom?

In my experiment-design I have 3 dependent variables. They are related to percentages of time during which the subjects exhibit a certain behavior. As they always must exhibit exactly one of these ...
38 views

### Fit indices showing "na" in lavaan path analysis using DWLS

I am doing a path analysis using lavaan in R. I have two models of interest: Model 1. Model 2. As one of the variables in the model is ordinal, I specified the ordered="Y2" command when ...
• 55
1 vote
22 views

### Large degrees of freedom (df) reported in lmer model

I am running a 3-way interaction linear mixed effect model using lmer function to see how reaction time varies as a function of age (older vs. younger), task (AJ vs....
• 11
1 vote
12 views

### Satterthwaite degrees of freedom in cross-classified linear mixed models

My colleagues and I are running a few experiments using multiple stimuli and participants, where participants were asked to rate a series of targets that varied in perceived strength (strong, weak) on ...
16 views

### How did Acheson Duncan calculate degrees of freedom for ranges in his d2* table?

As found in Acheson Duncan, Quality Control and Industrial Statistics (and earlier), there is a table for d2* for estimating the variance from the range based on the number of subgroups and the ...
18 views

### Df calculations seem off in lmer with 3-level categorical predictor comparison

This is a MLM analysis of a physiological variable (so big dataset) with a time x condition fixed effect, where condition has 3 levels. Model code is: ...
• 41
1 vote
63 views

### t-test with data in long-format including levels of non-interesting factor in R

I've computed an ANOVA with one between-subjects factor (2 groups each including 26 participants) and 2 within-subjects factors (item type with 3 levels and emotion with 2 levels) in ezANOVA. ...
• 45
1 vote
43 views

### Confused about degrees of freedom

Everything I've read about degrees of freedom says more is better - it is an indication of a model's flexibility. I'm now running a power analysis in R and I've noticed that lower degrees of freedom ...
• 143
113 views

### How to calculate the degrees of freedom for L1 and L2 regularised GLMs?

My goal is to calculate various information criteria for generalised linear models (e.g., the AIC). To do this, we need to calculate the effective degrees of freedom of the trained model. In an ...
• 131
1 vote
18 views

• 1,682
10 views

• 3,187
1 vote
35 views

### How many degrees of freedom do the estimators of a panel regression have?

I have multiple observations for multiple people stored in a panel. Here's a sample of my data (where id is a unique person identifier and ...
• 341
28 views

### Chi-squared Significance, P-values and Degrees of freedom correct use

I'm in a dilemma about correct use of degrees of freedom (df) for contingency table For example: Set alpha <=0.05 PREDICTOR = colours: red, green, blue TARGET = binary: yes, no df formula is (r-1)(...
• 1