Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201839

AIC using interactions NAs and -infinity in R

$
0
0

I have a dataset containing around 25 variables. When I apply all of the ^2 interactions I get lots of NA values and I was confused as to why this is the case. Also when applying the stepAIC() command I then get a -infinity error. Are there any ways of working with interactions and AIC? And is the error due to having so many variables?

Any help would be appreciated.

Thanks!


Viewing all articles
Browse latest Browse all 201839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>