1 / 19

Statistics 400 - Lecture 23

Statistics 400 - Lecture 23. Last Day: Regression Today: Finish Regression, Test for Independence (Section 13.4) Suggested problems: 13.21, 13.23. Computer Output. Will not normally compute regression line, standard errors, … by hand Key will be identifying what computer is giving you.

travis
Télécharger la présentation

Statistics 400 - Lecture 23

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. Statistics 400 - Lecture 23

  2. Last Day: Regression • Today: Finish Regression, Test for Independence (Section 13.4) • Suggested problems: 13.21, 13.23

  3. Computer Output • Will not normally compute regression line, standard errors, … by hand • Key will be identifying what computer is giving you

  4. SPSS Example

  5. What is the Coefficients Table?

  6. What is the Model Summary? • What is the ANOVA Table

  7. Back to Probability • The probability of an event, A , occurring can often be modified after observing whether or not another event, B , has taken place • Example: An urn contains 2 green balls and 3 red balls. Suppose 2 balls are selected at random one after another without replacement from the urn. • Find P(Green ball appears on the first draw) • Find P(Green ball appears on the second draw)

  8. Conditional Probability • The Conditional Probability of A given B :

  9. Example: An urn contains 2 green balls and 3 red balls. Suppose 2 balls are selected at random one after another without replacement from the urn. • A={Green ball appears on the second draw} • B= {Green ball appears on the first draw} • Find P(A|B) and P(Ac|B)

  10. Example: • Records of student patients at a dentist’s office concerning fear of visiting the dentist suggest the following proportions • Let A={Fears Dentist}; B={Middle School} • Find P(A|B)

  11. Conditional Probability and Independence • If fearing the dentist does not depend on age or school level what would we expect the probability distribution in the previous example to look like? • What does this imply about P(A|B)? • If A and B are independent, what form should the conditional probability take?

  12. Summarizing Bivariate Categorical Data • Have studied bivariate continuous data (regression) • Often have two (or more) categorical measurements taken on the same sampling unit • Data usually summarized in 2-way tables • Often called contingency tables

  13. Test for Independence • Situation: We draw ONE random sample of predetermined size and record 2 categorical measurements • Because we do not know in advance how many sampled units will fall into each category, neither the column totals nor the row totals are fixed

  14. Example: • Survey conducted by sampling 400 people who were questioned regarding union membership and attitude towards decreased spending on social programs • Would like to see if the distribution of union membership is independent of support for social programs

  15. If the two distributions are independent, what does that say about the probability of a randomly selected individual falling into a particular category • What would the expected count be for each cell? • What test statistic could we use?

  16. Formal Test • Hypotheses: • Test Statistic: • P-Value:

  17. Spurious Dependence • Consider admissions from a fictional university by gender • Is there evidence of discrimination?

  18. Consider same data, separated by schools applied to: • Business School: • Law School:

  19. Simpson’s Paradox: Reversal of comparison due to aggregation • Contradiction of initial finding because of presence of a lurking variable

More Related