Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. Coefficients:
  2. Estimate Std. Error t value Pr(>|t|)
  3. (Intercept) 1.08750 0.78832 1.380 0.2102
  4. x -0.30873 0.32923 -0.938 0.3796
  5. I(x^2) 0.07142 0.02917 2.449 0.0442 *
  6.  
  7. Model 1: y ~ x
  8. Model 2: y ~ x + I(x^2)
  9. Res.Df RSS Df Sum of Sq F Pr(>F)
  10. 1 8 5.8381
  11. 2 7 3.1446 1 2.6934 5.9956 0.0442 *
  12.  
  13. x <- 1:10
  14. set.seed(17)
  15. y <- 0.2 * x + rnorm(length(x))
  16. z <- y + 2.535153*(x/5-1)^2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement