1 / 16

ENGR 224/STAT 224 Probability and Statistics Lecture 12

ENGR 224/STAT 224 Probability and Statistics Lecture 12. Probability Plots. Before we move into the field of inferential statistics, we need a few more tools to test our assumptions. An effective way to check the assumption on the distribution is to construct a probability plot.

noah
Download Presentation

ENGR 224/STAT 224 Probability and Statistics Lecture 12

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ENGR 224/STAT 224 Probability and StatisticsLecture 12

  2. Probability Plots Before we move into the field of inferential statistics, we need a few more tools to test our assumptions. An effective way to check the assumption on the distribution is to construct a probability plot. In essence, one plots the assumed percentile of the distribution against the observed percentile of the sample.

  3. Percentiles of the Population • Recall that the (100p)th percentile of a continuous probability distribution having cdf F(x) is the number h(p) that satisfies F(h(p))=p • If our assumption was that the distribution was normal, then the table A.3 can be used to determine various percentiles. • E.g., the • 2.5th percentile is -1.96 • 7.5th percentile is -1.44 • 12.5th percentile is -1.15 • Etc.

  4. Percentiles of the Sample • Order the n sample observations from smallest to largest. The ith smallest observation in the list is taken to be the [100(i-.5)/n]th sample percentile. • For example. If n=20, then the first number in the sample is the 2.5th percentile, the second number is the 7.5th percentile, the third is the 12.5th percentile, the 20th number (the last one) is the 97.5th percentile.

  5. Probability Plot • If the sample was drawn from a population whose distribution we are investigating, then the sample percentiles should be close to the population percentiles • If one graphs the ordered pair • It should be a straight line

  6. Example Here is some data. We shall assume a normal distribution. Since n is 20, the corresponding percentiles are 2.5th , 7.5th , 12.5th , etc., The percentiles scores are We shall now plot the assumed distributional percentiles against the sample data to construct a probability plot.

  7. Probability Plot: Normal

  8. Lets try a different assumption • Assume Distribution is Exponential. Need to solve • Similarly for the remainders

  9. Example Same data as before: Assume distribution is exponential. Since n is 20, the corresponding percentiles are 2.5th , 7.5th , 12.5th , etc., The percentiles scores assuming an exponential distribution are

  10. Probability Plot: Exponential ?

  11. Example Different data. Assume distribution is exponential. Since n is 20, the corresponding percentiles are 2.5th , 7.5th , 12.5th , etc., The percentiles scores assuming an exponential distribution are

  12. Probability Plot: Exponential

  13. Probability Plot: Normal ?

  14. Using R: Probability Plots • > A <- scan() • ENTER THE DATA AND PRESS DOUBLE RETURN TO END • > qqnorm(A); # a normal probability plot • > qqline(A); # adds a line if desired • > qqplot(dist,A) # plots a probability plot of the dist vs data • Dist could be • qnorm(ppoints(250)) • qexp(ppoints(250),rate) • qt(ppoints(250),df) • qgamma(ppoints(250),alpha,beta)

  15. Overview • Probability Plots • Using R

  16. Homework • Reread 4.6, • Read 5.1 and 5.2

More Related