Displaying 1 result from an estimated 1 matches for "pastbreakpointtru".
Did you mean:
pastbreakpointtrue
2012 May 23
0
gam (mgcv) vs. multiple regression breakpoint analysis: inconsistencies?
...2 = lm(LDlog ~ LR + ShiftedAoEO:PastBreakPoint,data=spk)
m0 = lm(LDlog ~ LR + AoEO,data=spk)
anova(m0,m2) # m2 is better (p = 0.033)
summary(m1) # the line is steep before the breakpoint (18), flatter after
#ShiftedAoEO:PastBreakPointFALSE 0.014795 0.001662 8.900 < 2e-16 ***
#ShiftedAoEO:PastBreakPointTRUE 0.007713 0.001723 4.477 8.65e-06 ***
summary(m2) # the line is steep before the breakpoint (19), flatter after
#ShiftedAoEO:PastBreakPointFALSE 0.0139418 0.0016260 8.575 < 2e-16 ***
#ShiftedAoEO:PastBreakPointTRUE 0.0076672 0.0018330 4.183 3.2e-05 ***
### end of breakpoint...