Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. > .Table <- matrix(c(94,406), 1, 2, byrow=TRUE)
  2.  
  3. > rownames(.Table) <- c('Counts:')
  4.  
  5. > colnames(.Table) <- c('Success', 'Failure')
  6.  
  7. > prop.test(rbind(.Table), alternative='less', p=0.52, conf.level=0.95, correct=FALSE)
  8.  
  9. 1-sample proportions test without continuity correction
  10.  
  11. data: rbind(.Table), null probability 0.52
  12. X-squared = 220.8, df = 1, p-value < 2.2e-16
  13. alternative hypothesis: true p is less than 0.52
  14. 95 percent confidence interval:
  15. 0.0000000 0.2183917
  16. sample estimates:
  17. p
  18. 0.188
  19.  
  20.  
  21. > remove(.Table)
  22.  
  23.  
  24.  
  25.  
  26.  
  27. 10-Resolución: p-value = 0.2515 > alfa = 0.01 -> aceptem H0 I la proporció poblacional de conectados previos es del 20% pero no inferior
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement