Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. qnorm(.8, 100, 15)
  2.  
  3. abline(v=qnorm(.8, 100, 15), lty=4 )
  4.  
  5. sr <- 100; odch <- 15
  6. x <- seq(-4, 4,length=1000) * odch + sr
  7. p <- dnorm(x, sr, odch)
  8. plot(x,p, type="l", lwd=2)
  9. pnorm(80, 100, 15)
  10. abline(v=80, lty=2)
  11. plot(x,p, type="l", lwd=2)
  12. qnorm(.8, 100, 15)
  13. abline(v=qnorm(.8, 100, 15), lty=4)
  14. text(x=95, y=.01, labels="80%", cex=1.5)
  15.  
  16. x <- 0:200
  17. p <- dnorm(x, 100, 15)
  18. plot(x,p, type="l", lwd=2, xaxs="i", yaxs="i", bty="l")
  19. abline(v=qnorm(.80, 100, 15), lty=4)
  20. text(x=95, y=.01, labels="80%", cex=1.5)
  21.  
  22. v=qnorm(.8, 100, 15)
  23. axis(1,at=v,v)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement