1 / 16

STA 291 Spring 2010

STA 291 Spring 2010. Lecture 23 Dustin Lueker. Comparing Dependent Samples. The sample mean of the difference scores is an estimator for the difference between the population means We can now use exactly the same methods as for one sample Replace X i by D i. Comparing Dependent Samples.

ken
Download Presentation

STA 291 Spring 2010

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. STA 291Spring 2010 Lecture 23 Dustin Lueker

  2. Comparing Dependent Samples • The sample mean of the difference scores is an estimator for the difference between the population means • We can now use exactly the same methods as for one sample • Replace Xi by Di STA 291 Spring 2010 Lecture 23

  3. Comparing Dependent Samples • Small sample confidence interval Note: • When n is large (greater than 30), we can use the z-scores instead of the t-scores STA 291 Spring 2010 Lecture 23

  4. Comparing Dependent Samples • Small sample test statistic for testing difference in the population means • For small n, use the t-distribution with df=n-1 • For large n, use the normal distribution instead (z value) STA 291 Spring 2010 Lecture 23

  5. Reducing Variability • Variability in the difference scores may be less than the variability in the original scores • This happens when the scores in the two samples are strongly associated • Subjects who score high before the intensive training also tend to score high after the intensive training • Thus these high scores aren’t raising the variability for each individual sample STA 291 Spring 2010 Lecture 23

  6. Example • If we wanted to examine the improvement students made after taking a class we would hope to see what type of value for ? Assuming we take X1-X2 with X1 being the student’s first exam score. • Positive • Negative STA 291 Spring 2010 Lecture 23

  7. Example • Assuming we match people of similar health into 2 groups and gave group 1 a cholesterol medication and measured each groups cholesterol level after 8 weeks, what would we hope would be if we are subtracting group 2 from group 1? • Positive • Negative • Zero STA 291 Spring 2010 Lecture 23

  8. An Introduction to Regression • Regression • The process of using sample information about explanatory variables (independent variables) to predict the value of a response variable (dependent variable) • Many types of regression • One response variable to many response variables • Linear, quadratic, cubic, logistic, exponential, etc. STA 291 Spring 2010 Lecture 23

  9. Simple Linear Regression • Uses one explanatory variable to predict a response variable • Only type of regression we will look at in here • Model • y = Dependent (response) variable • x = Independent (explanatory) variable • β0=y-intercept • β1=Slope of the line (defined as rise/run) • ε=Error variable STA 291 Spring 2010 Lecture 23

  10. Simple Linear Regression • Model we will use in problems • y-hat = Dependent variable • x = Independent variable • b0=y-intercept • b1=Slope of the line (defined as rise/run) • Example: • Estimating college GPA by ACT score • College GPA would be our dependent (response) variable • ACT score would be our independent (explanatory) variable STA 291 Spring 2010 Lecture 23

  11. Simple Linear Regression • Notice that the equation is for y-hat which is an estimator of y • When using a regression model it is important to remember that it will not exactly predict y, but rather give an estimate of what we would expect y to be • This is the reason we don’t have to have the error (ε) in the model we use, because error is accepted since we are simply what we would expect the value of y to be given x, basically estimating y STA 291 Spring 2010 Lecture 23

  12. Analyzing the Model • Correlation Coefficient • R = (-1,1) • Sometimes referred to as a lower case “r” • How strong the linear relationship is between the response and explanatory variable as well as the direction • ± indicates a positive relationship or a negative relationship • positive means our estimate of y goes up as x goes up • negative means our estimate of y goes down as x goes up • The closer the |R| is to one, the stronger the relationship is between the response and explanatory variables • R=0 indicates no relationship STA 291 Spring 2010 Lecture 23

  13. Analyzing the Model • Coefficient of Determination • Denoted by R2 • Calculated by squaring the correlation coefficient • Interpretation • The percent of variation in the response variable that is explained by the model • Simple Linear Regression • The percent of variation in y that is explained by x • This is because our model only has one variable • The higher the R2 value the better because we can explain more of the variation in our response variable, which is the one we are wanting to examine STA 291 Spring 2010 Lecture 23

  14. Example • If the correlation coefficient is -.7, what would be the coefficient of determination? • .7 • -.7 • .49 • -.49 • Would larger values for the explanatory variable (x) yield larger or smaller values for the response variable (y)? STA 291 Spring 2010 Lecture 23

  15. Example • If model A has a correlation coefficient of .7, what would the correlation coefficient of model B need to be for us to be able to say that B is the better model? • 0 • .35 • -.6 • -.9 STA 291 Spring 2010 Lecture 23

  16. Example • If the slope of our simple linear regression equation is 13 and the y-intercept is -2, what would y-hat be if x=3? • 39 • 41 • 37 • -23 • What would y be? STA 291 Spring 2010 Lecture 23

More Related