HW6_PARTI_Solutions

HW6_PARTI_Solutions - STA 368 HW 6 Solutions (Part 1) Fall...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: STA 368 HW 6 Solutions (Part 1) Fall 2009 Part 1: Simulation of the binomial and normal distributions Question 1: Given a normal distribution with mean 30 and standard deviation 6, Use R to find (a) the normal curve area to the right of x=17. R code: -------------------------------------- x<-17 mu<- 30 std<- 6 1-pnorm(x, mu, std)-------------------------------------- R output: -------------------------------------- [1] 0.9848699-------------------------------------- (b) the normal curve area between x=32 and x=41. R code: -------------------------------------- x1<-32 x2<-41 mu<- 30 std<- 6 pnorm(x2, mu, std)-pnorm(x1,mu,std)-------------------------------------- R output: -------------------------------------- [1] 0.3360648-------------------------------------- (c) The value of x that has 80% of the normal-curve area to the left; STA 368 HW 6 Solutions (Part 1) Fall 2009 R code: -------------------------------------- percent<-0.8 mu<- 30 std<- 6 qnorm(percent, mu, std)--------------------------------------...
View Full Document

This note was uploaded on 02/03/2010 for the course A a taught by Professor A during the Spring '10 term at Miami University.

Page1 / 4

HW6_PARTI_Solutions - STA 368 HW 6 Solutions (Part 1) Fall...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online