linear spline

  1. T

    SAS: Linear piecewise spline interpretation

    I am running a generalized linear model: log-binomial regression (dist=bin, link=log) Lets say I manually coded a linear piecewise spline knot, as age continuous and my binary outcome demonstrate a non-linear relationship with one shift in the curve (as visualized through PROC GAM) The...
  2. T

    Linear piecewise spline interpretation

    Hello, I suspected my data was non-linear so I ran PROC GAM to visualize my age variable relative to my binomial outcome. I realize adding one spline knot at age 51.5 was very appropriate. I created the linear piecewise spline using a "relative reference" coding scheme: if age<=51.5...