1 / 40

STAT131 W10L2 Review

STAT131 W10L2 Review. by Anne Porter alp@uow.edu.au. Relax, Close your eyes.

tyrell
Download Presentation

STAT131 W10L2 Review

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. STAT131W10L2 Review by Anne Porter alp@uow.edu.au

  2. Relax, Close your eyes • The start of this lecture involves closing ones eyes and thinking of some relaxing music, a quiet place and when in this comfort zone to begin to confront the accumulation of formulae and language that has occurred over the past few weeks. Now waken to...

  3. The student’s nightmare

  4. Organising assumptions • Events in one period are independent of the next • Variances should be equal • Expected frequency > 5 • Sample size large or population normally distributed •  known • n fixed trials • Constant probability • In any small period of time only 0 or 1 events

  5. Making Sense of Formulae • To make sense of the formulae and language encountered we need to organise it. When exploring samples of data and developing models for the random variables, whether discrete or continuous, we have sought to identify: • shape (including the probability of some event), • centre (mean, median), • spread (variance and standard deviation) and • fit of models to data (including outliers).

  6. Map your concepts • See if you can organise the various formulae into related groups, attaching words to the symbols as you do so. You may also like to include those formulae which I have ommited. There is a symbolic language to learn in order to give voice to our statistical ideas.

  7. Maybe some concept maps!

  8. Summary • Maps • Frames • Worked solutions • Interpretations of printout • Interpretations of statistics • Assumptions

  9. Let me show you some of the questions I ask as a teacher-researcher

  10. What do the results of my midterm reveal about students?

  11. Or what does this reveal?

  12. Are the results normal distributed?

  13. Does there appear to be a relationship between mark in Ass2 and the midterm?

  14. What does Pearson’s r reveal? • What does r2 suggest about the strength of the relationship? • What other factors must we take into account when we try to assess the strength of the relationship?

  15. What estimate would we give someone for the midterm if the missed the test and the only information we had was the mark for the (6) for the second assignment? • Why would you be reluctant to use this method? • Why would you use the method?

  16. Is there any difference according to the paper completed?

  17. Think about me marking all…. • Why might a time series showing the marks versus the order of marking be of interest?

  18. What is the P(failing)? • What is the P(student was from 2002)? • What is the probability that given I have a 2002 student that they passed? • What is the probability that a student will be from 2002 and failed? • Is the grade independent of year?

  19. Now let us do a past midterm!

  20. Review ( paper 2003)

  21. Q1: Describing data Compare the groups male and female on four key features of the data (eg centre…) • Centre -median male about same as for females at 2010 approx • Spread IQR (80) for males about twice that for females(40ish) (or look at range). • Outliers one for females at about 1800 none for males • Females reasonably symmetric smaller third quartile, males skewed to left longer low valued tail

  22. Q1: Describing data • Four key features • Outlier for females (<1800) • None for males • Shape Normal for females • Bimodal for males • Spread females 1920-2060 • (excluding outlier) possibly narrower than for males • 1890 to 2080 • Centre Mode 2010 for females • higher than Mode 1990 for males

  23. Q1: Describing Data Four main features • Outliers one male (2200) None for females • Shape females reasonably symmetric (third quartile narrow) males skewed with longer tail to low numbers • Centre - medians both about 2010 • Spread Male IQR about twice female IQR, range for males wider than female

  24. Q2: Poisson • The number of questions posted to the STAT131 forum follow a Poisson distribution at the rate of 3.3 per day. Var(X)= 2 =t=3.3x1=3.3 Standard deviation(X) =  P(X=0)= P(Y>1) ie Y is exponential therefore =P(X=0)

  25. Data centred about 3.3 Q2 vi) use of time series to test assumption of constant probability • What does this reveal about the suitability of the Poisson(3.3) distribution • Lack of trend suggests • Constant probability • Smoothing (running means • or medians can help smooth)

  26. Q2: Poisson • The number of questions posted to the STAT131 forum follow a Poisson distribution at the rate of 2.1 per day. Var(X)= 2 =t=2.1x1=2.1 Standard deviation(X) =  P(X=0)= P(Y>1) ie Y is exponential therefore =P(X=0)

  27. Data is centred about 2.1 Q2 vi) use of time series to test assumption of independence • What does this reveal about the suitability of the Poisson(2.1) distribution Shows random variation about that centre The absence of trends constant probability

  28. Q2: Poisson • The number of questions posted to the STAT131 forum follow a Poisson distribution at the rate of 4.4 per day. Var(X)= 2 =t=4.4x1=4.4 Standard deviation(X) =  P(X=0)= P(Y>1) ie Y is exponential therefore =P(X=0)

  29. Data is centred about 4.2 Q2 vi) use of time series to test assumption of independence • What does this reveal about the suitability of the Poisson(4.2) distribution • Shows random variation about • that centre • Smoothing (running median • or mean may show whether there • is possible change in probability the middle time periods)

  30. Q2: Poisson • The number of questions posted to the STAT131 forum follow a Poisson distribution at the rate of 4.2 per day. Var(X)= 2 =t=4.2x1=4.2 Standard deviation(X) =  P(X=0)= P(Y>1) ie Y is exponential therefore =P(X=0)

  31. Q3 Probability • (i) P(Other Nationality) = • (ii) P(Yes)= 110 120 100 330 150 180 100 others/330 total 150 yes /330 total response

  32. Q3 Probability • (iii) P(Yes|Other Nationality)= • (iv) P(Yes and Other Nationality)= 110 120 100 330 150 180 50 yes /100 other nationalities 50/330

  33. Q3 Independence • (v) From looking at the data does it appear that the response is independent of nationality. Yes / No. Explain your answer. 110 120 100 330 150 180 No they are not independent the patterns or responses are different for different nationalities. Knowing nationality helps knowing the probability of agreeing or not

  34. Q4: Discrete Random Variables E(X) • The number of passengers packages being mislaid (X) per week is defined by the following probabilities and outcomes 40 30 100 (i)Complete the table (ii)What is E(X) ? =0x0.3+1x0.4+2x0.3=1

  35. Hence Q4: Discrete Random Variables • The number of passengers packages being mislaid (X) per week is defined by the following probabilities and outcomes 40 30 100 X2 0 1 4 E(X)=1 (iii)What is the standard deviation of X? We need 2 Where Var(X)=s2= E(X2)-(E(X))2 Var(X)=1.6-12

  36. 40 30 100 freq 50 40 30 20 10 0 Observed Expected 0 1 2 x Q4: Discrete Random Variables - Graphical Fit • Sketch an appropriate graph to assess goodness of fit. • Do the data seem to fit the model There appears to be a lack of fit as seen by the discrepancy in columns

  37. 40 30 100 Q4: Discrete Random Variables - Chi-square goodness of fit • Use chi-square goodness of fit test to see if the data fit the model =26.6

  38. 40 30 100 Q4: Discrete Random Variables - Chi-square goodness of fit • Use chi-square goodness of fit test to see if the data fit the model Then there is lack of fit If Conclusion As 26.6 >3.828 there is evidence that the data do not fit the model Appears to be fewer observed for X=0 and more for X=2

  39. Review by a researcher • Putting statistics to work

More Related