I want to mimic the following SPSS syntax in R:
USE first thru 3122.
EXECUTE.
REGRESSION
  /STATISTICS COEFF OUTS R ANOVA COLLIN TOL ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT HCTBB
  /METHOD=BACKWARD
So far, I have done this:
step(lm(dependentVAR[1:3122]~.,data=independentVAR[1:3122,]),direction="backward")
But the output (on the exact same dataset) is not the same. Can anyone help?
 
     
    