Presentation is loading. Please wait.

Presentation is loading. Please wait.

Psychology 202b Advanced Psychological Statistics, II February 22, 2011.

Similar presentations


Presentation on theme: "Psychology 202b Advanced Psychological Statistics, II February 22, 2011."— Presentation transcript:

1 Psychology 202b Advanced Psychological Statistics, II February 22, 2011

2 Overview Sequential regression: –Conceptual discussion –Efficient execution Stepwise regression

3 Introducing sequential regression The regression models we have worked with so far all performed inference about the direct effects of the predictors. Order of specification doesn’t matter. Sequential regression considers the combination of direct and indirect effects. Order of specification matters. Illustration using an example from Cohen & Cohen.

4 Direct effects

5 A conceptual model of causal flow

6 Direct vs. total effects Conventional regression performs inference only on the direct effects. Sequential regression will have exactly the same parameter estimates, but inference will be with respect to the total effect. On the previous slide, inference about years since PhD would include both the direct effect, and the effect that causally flows through number of publications.

7 How does sequential regression work? Identify the variables that should have causal precedence. Estimate the regression including only them. Add the next set of variables, observe the change in the model sum of squares, and test for change using the current error term. Continue that process.

8 How does sequential regression work? In the current example, we cannot assess exactly the causal model we pictured. If “Male” is entered at the same stage as “Years since PhD,” inference about Male will include an indirect effect through “Publications.” If “Male” is entered with publications, inference about “Years” would include a highly implausible indirect effect.

9 The actual model

10 How does sequential regression work? Note that structural equation modeling allows greater control over causal paths. Illustration in SAS: –Manually –More efficiently Using proc reg Similarity to Type I sum of squares

11 What if I do something stupid? It is easy to specify ludicrous models with sequential regression. Illustration in SAS.

12 Things that are easier in proc reg CIs for regression parameters. The condition number (sort of). Example in SAS with supporting explanatory work in R.

13 Stepwise procedures The idea of stepwise procedures is to let the software automatically select an optimal model. Forward selection starts with the intercept and adds predictors according to flexible criteria. Backward selection starts with all predictors and selectively removes some.

14 Stepwise procedures (cont.) The “stepwise” selection method in SAS can remove variables that have already been added. All possible subsets selects the best of all possible regression models according to some criterion.

15 Selection criteria Maximize increase in F for adding a variable. Minimize reduction in F for removing a variable. Find the subset of variables from among all possible subsets meeting entry criteria that maximizes R 2. Same criterion with adjusted R 2.

16 Using stepwise procedures Illustration in SAS. Cross-validating. An example of one danger of stepwise approaches.

17 Reasons not to use stepwise procedures Atheoretic –Can result in nonsensical models. –Cannot test particular models that make sense. Where is the assumption checking? Danger of capitalizing on chance. Difficult to cross-validate.

18 Next Time No class on Thursday.


Download ppt "Psychology 202b Advanced Psychological Statistics, II February 22, 2011."

Similar presentations


Ads by Google