Skip to main content
added 50 characters in body
Source Link
kjetil b halvorsen
  • 85.6k
  • 32
  • 216
  • 694

I am using R to build the random structure of my model but I am ending up with a very complex model. Currently looks like this:

Model <- lmer(x ~ y * z * d * k + (1 + y * z + d | subject),  data = Data, REML = FALSE, control = lmerControl(optimizer = "bobyqa",  optCtrl = list(maxfun = 100000))) 

I would like to know if I am simply overfitting. How can I get a predictive R-squared for linear mixed effects models? Is there a way to calculate these values?

I am aware of the package MuMIn for getting Rsquared values but I am concerned with overfitting, so I wanted to see if the degrees of freedom are biasing too much the AIC and p-values when comparing the models using anova.

I am using R to build the random structure of my model but I am ending up with a very complex model. Currently looks like this:

Model <- lmer(x ~ y * z * d * k + (1 + y * z + d | subject), data = Data, REML = FALSE, control = lmerControl(optimizer = "bobyqa", optCtrl = list(maxfun = 100000))) 

I would like to know if I am simply overfitting. How can I get a predictive R-squared for linear mixed effects models? Is there a way to calculate these values?

I am aware of the package MuMIn for getting Rsquared values but I am concerned with overfitting, so I wanted to see if the degrees of freedom are biasing too much the AIC and p-values when comparing the models using anova.

I am using R to build the random structure of my model but I am ending up with a very complex model. Currently looks like this:

Model <- lmer(x ~ y * z * d * k + (1 + y * z + d | subject),  data = Data, REML = FALSE, control = lmerControl(optimizer = "bobyqa",  optCtrl = list(maxfun = 100000))) 

I would like to know if I am simply overfitting. How can I get a predictive R-squared for linear mixed effects models? Is there a way to calculate these values?

I am aware of the package MuMIn for getting Rsquared values but I am concerned with overfitting, so I wanted to see if the degrees of freedom are biasing too much the AIC and p-values when comparing the models using anova.

Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 1 character in body; edited title
Source Link
CatM
  • 526
  • 5
  • 19

linear mixed effects models - overfit: how to calculate predictedpredictive R squared

I am using R to build the random structure of my model but I am ending up with a very complex model. Currently looks like this:

Model <- lmer(x ~ y * z * d * k + (1 + y * z + d | subject), data = Data, REML = FALSE, control = lmerControl(optimizer = "bobyqa", optCtrl = list(maxfun = 100000))) 

I would like to know if I am simply overfitting. How can I get a predictedpredictive R-squared for linear mixed effects models? Is there a way to calculate these values?

I am aware of the package MuMIn for getting Rsquared values but I am concerned with overfitting, so I wanted to see if the degrees of freedom are biasing too much the AIC and p-values when comparing the models using anova.

linear mixed effects models - overfit: how to calculate predicted R squared

I am using R to build the random structure of my model but I am ending up with a very complex model. Currently looks like this:

Model <- lmer(x ~ y * z * d * k + (1 + y * z + d | subject), data = Data, REML = FALSE, control = lmerControl(optimizer = "bobyqa", optCtrl = list(maxfun = 100000))) 

I would like to know if I am simply overfitting. How can I get a predicted R-squared for linear mixed effects models? Is there a way to calculate these values?

I am aware of the package MuMIn for getting Rsquared values but I am concerned with overfitting, so I wanted to see if the degrees of freedom are biasing too much the AIC and p-values when comparing the models using anova.

linear mixed effects models - overfit: how to calculate predictive R squared

I am using R to build the random structure of my model but I am ending up with a very complex model. Currently looks like this:

Model <- lmer(x ~ y * z * d * k + (1 + y * z + d | subject), data = Data, REML = FALSE, control = lmerControl(optimizer = "bobyqa", optCtrl = list(maxfun = 100000))) 

I would like to know if I am simply overfitting. How can I get a predictive R-squared for linear mixed effects models? Is there a way to calculate these values?

I am aware of the package MuMIn for getting Rsquared values but I am concerned with overfitting, so I wanted to see if the degrees of freedom are biasing too much the AIC and p-values when comparing the models using anova.

added 61 characters in body
Source Link
Dimitris Rizopoulos
  • 21.9k
  • 2
  • 27
  • 52

I am using R to build the random structure of my model but I am ending up with a very complex model. Currently looks like this:

Model <- lmer(x ~ y y*z*d*k* z * d * k + (1 + y*zy * z + d|d | subject),data= data = Data, REML=FALSE REML = FALSE, control=lmerControl control = lmerControl(optimizer="bobyqa"optimizer = "bobyqa",optCtrl=list optCtrl = list(maxfun=100000maxfun = 100000))) 

I would like to know if I am simply overfitting. How can I get a predicted R-squared for linear mixed effects models? Is there a way to calculate these values?

I am aware of the package MuMIn for getting Rsquared values but I am concerned with overfitting, so I wanted to see if the degrees of freedom are biasing too much the AIC and p-values when comparing the models using anova.

I am using R to build the random structure of my model but I am ending up with a very complex model. Currently looks like this:

Model <- lmer(x ~ y*z*d*k + (1 + y*z + d| subject),data= Data, REML=FALSE, control=lmerControl(optimizer="bobyqa",optCtrl=list(maxfun=100000))) 

I would like to know if I am simply overfitting. How can I get a predicted R-squared for linear mixed effects models? Is there a way to calculate these values?

I am aware of the package MuMIn for getting Rsquared values but I am concerned with overfitting, so I wanted to see if the degrees of freedom are biasing too much the AIC and p-values when comparing the models using anova.

I am using R to build the random structure of my model but I am ending up with a very complex model. Currently looks like this:

Model <- lmer(x ~ y * z * d * k + (1 + y * z + d | subject), data = Data,  REML = FALSE,  control = lmerControl(optimizer = "bobyqa", optCtrl = list(maxfun = 100000))) 

I would like to know if I am simply overfitting. How can I get a predicted R-squared for linear mixed effects models? Is there a way to calculate these values?

I am aware of the package MuMIn for getting Rsquared values but I am concerned with overfitting, so I wanted to see if the degrees of freedom are biasing too much the AIC and p-values when comparing the models using anova.

added 43 characters in body; edited title
Source Link
CatM
  • 526
  • 5
  • 19
Loading
edited title
Link
CatM
  • 526
  • 5
  • 19
Loading
Source Link
CatM
  • 526
  • 5
  • 19
Loading