Hi am doing an Linear regression, and want to use backward option to check trough AIC which of my model is the best. The issues is that it doesnt work . Dow the R code

mod2 = step(lm(RFESC ~ ., data=good_data),direction="bakward")
  • mod2 is my result file
  • RFESC is the dependante variable
  • good-data is my dataframe

Thanks in advance

could it be this simple ?
backward != bakward

1 Like

Hes is was. Thanks a lot sometimes when you're coding you miss some little details.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.