Advertisement
Guest User

Untitled

a guest
Jun 29th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. Water.use Income Number.of.Children.below.5 Diorrheal.incidence P0U.use
  2. 1 100 12000 0 0 1
  3. 2 120 13000 1 0 1
  4. 3 130 13000 2 0 1
  5. 4 96 12000 0 1 0
  6. 5 95 13000 1 1 0
  7. 6 95 11000 0 1 1
  8. 7 98 12000 1 1 0
  9. 8 97 11000 0 1 0
  10. 9 92 10000 1 1 0
  11. 10 103 12000 0 0 1
  12. 11 105 12500 1 0 1
  13. 12 101 12000 0 0 1
  14. 13 100 12000 1 0 0
  15. 14 97 11000 2 1 0
  16. 15 99 11000 1 1 0
  17. 16 100 12000 0 0 1
  18. 17 101 13000 0 0 1
  19.  
  20. library(ltm)
  21. biserial.cor(df1$Water.use, df1$Diorrheal.incidence)
  22. #[1] 0.5547232
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement