I have used SPSS to produce a multiple linear regression model for a sports dataset using the stepwise method. My issue is that when I have attempted to recreate the method into R the outputs of both models differs. I believe the issue is in the probability a variable is entered or removed from the model. In SPSS the code is seen to be '/CRITERIA=PIN(.05) POUT(.10)'. I cannot find how to translate this to R code or a way to add it to my coding.

Similar questions and discussions