DATA606_Meetup_Presentation

"Matheesha Thambeliyagodage"
"May 10, 2017"

First Slide

###6.11 Study abroad. A survey on 1,509 high school seniors who took the SAT and who completed an optional web survey between April 25 and April 30, 2007 shows that 55% of high school seniors are fairly certain that they will participate in a study abroad program in college

(a) Is this sample a representative sample from the population of all high school seniors in the US? Explain your reasoning.

  • Here Sample observations are independent. The sample doesnt represententire high school population. Not all high schoolers take the SAT; some take the ACT instead. It would be a good sample representation of all US high school seniors who took the SAT.
n <-1509
p <- 0.55
success <- n*p
failure <- n*(1-p)
success
[1] 829.95
failure
[1] 679.05

(b) Let's suppose the conditions for inference are met. Even if your answer to part (a) indicated that this approach would not be reliable, this analysis may still be interesting to carry out (though not report). Construct a 90% confidence interval for the proportion of high school seniors (of those who took the SAT) who are fairly certain they will participate in a study abroad program in college, and interpret this interval in context.

\( SE=\sqrt{\frac{p*(1-p)}{n}} \)

se <-  sqrt((p*(1-p))/n)  ## Standard Error
z <- qnorm(.90)  ## Quantile Function - inverse of pnorm
CI.UPPER <- p+z*se
CI.LOWER<- p-z*se
se
[1] 0.01280687
z
[1] 1.281552
CI.UPPER
[1] 0.5664127
CI.LOWER
[1] 0.5335873
CI <- c(CI.LOWER, CI.UPPER)
CI
[1] 0.5335873 0.5664127

© What does “90% confidence” mean?

  • It means that we are 90% confident that 53%-57% percent of high schools seniors are fairly like to participate in a study abroad program. We can say that 90% if random samples would give us 90% CI that includes the true proportion (.55).
#normalPlot(p,se,bounds = c(0.53,0.57),tails=FALSE) 

```

(d) Based on this interval, would it be appropriate to claim that the majority of high school seniors are fairly certain that they will participate in a study abroad program in college?

  • Possible toclaim that the majority of HS seniors are fairly certain that they would participate in a study above program. What we found is the interval is over 50% (majority).