Effect spl_x = spline(x / knotmethod=percentilelist(5 27.5 50 72.5 95) ); *Harrell*; Effect spl_x = spline(x / basis=bspline ); *B-spline (SAS default)*; Effect spl_x = spline(x / NaturalCubic ); *restricted cubic spline*;
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter