search for: nonconfusing_regress

Displaying 1 result from an estimated 1 matches for "nonconfusing_regress".

2011 Mar 27
1
Bootstrap 95% confidence intervals for splines
There appear to be reports in the literature that transform continuous independent variablea by the use of splines, e.g., assume the dependent variable is hot dogs eaten per week (HD) and the independent variable is waistline (WL), a normal linear regression model would be: nonconfusing_regression <- lm(HD ~ WL) One might use a spline, confusion_inducing_regression_with_spline <- lm(HD ~ ns(WL, df = 4) ) Now is where the problem starts. >From nonconfusing_regression , I get, say 2 added hot dogs per week for each centimeter of waistline along with a s.e. of 0.5 hot dogs per...