These function produce identical printed output. The main body
is a table with six columns:
the first column is a possible number
of knots for the fitted model;
the second column is 0 if the model was fitted during the
addition stage and 1 if the model was fitted during the deletion stage;
the third column is the log-likelihood for the fit;
the fourth column is -2 * loglikelihood + penalty * (dimension)
,
which is the AIC criterion - heft
selected the model with
the minimum value of AIC;
the fifth and sixth columns give the
endpoints of the interval of values of penalty that would yield the
model with the indicated number of knots. (NA
s imply that the model is
not optimal for any choice of penalty.)
At the bottom of the table the
number of knots corresponding to the selected model is reported, as are
the value of penalty that was used and the coefficients of the log-based
terms in the fitted model and their standard errors.