Programming the statistical procedures from SAS

Nested/Interaction models

Reply
Super Contributor
Super Contributor
Posts: 440

Nested/Interaction models

hi all,

i have 2 models to create

y=b0+b1x1+b2x2

y=b0+b1x1+b2x2+b3x1x2

and  i have 2  questions related to this Smiley Happy

1. is there  an interaction model that would  take care of "x1x2"  or do i create a new variable x1_x2=x1*x2 and then use model y=x1 x2 x1_x2?

2.is there a  way i can have SAS show me the comparison between these two models in terms of F statistics after running the second model?

Thanks,

Tal

Ask a Question
Discussion stats
  • 0 replies
  • 190 views
  • 0 likes
  • 1 in conversation