Hi Michael,
If I remember right, this question has been asked several times on
this mailing list in the past. The reference listed in the help page
for poly explain how to get the un-orthogonalized coefficients, but
those coefficients aren't needed for prediction. For more details,
though, sear
How can I get the result of, e.g., poly(1:3. degree=2) to give me the
unnormalized integer coefficients
usually used to explain orthogonal polynomial contrasts, e.g,
-1 1
0 -2
1 1
As I understand things, the columns of x^{1:degree} are first centered
and then
are normalized by 1/sqrt(col
2 matches
Mail list logo