Hi Rob,
rms wants symmetry in the sense that the interactions need to use the
same number and location of spline knots as the main effects. So if
using the * notation omit the main effects (which are generated
automatically) and live with the equal knots. Or use the restricted
interaction
On Aug 2, 2010, at 9:06 PM, Rob James wrote:
model5 <- lrm( B_fainting ~ gender+ rcs(exactage, 7) +
rcs(DW_nadler_bv, 7) + rcs(drawtimefrom8am, 7)+
DW_firsttime+ DW_race_eth +
rcs(DW_BPS, 5)+ rcs(DW_BPD, 5)+ rcs(pulse3, 5)+ locat2+
(rcs(exactage, 3) * rcs(drawtimefrom8am
2 matches
Mail list logo