Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- glm(y~x+I(x^2), family = gaussian) # non-orthogonal polynomial
- glm(y~poly(x,2), family = gaussian) # orthogonal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement