1 / 20

Introduction

Part III The General Linear Model. Multiple Explanatory Variables Chapter 12 Multiple Regression. Introduction. GLM, one explanatory: Regression: t-test/ANOVA: GLM, multiple explanatory: Multiple Regression Multi-way ANOVA ANCOVA .

faith
Download Presentation

Introduction

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. Part IIIThe General Linear Model. Multiple Explanatory VariablesChapter 12 Multiple Regression

  2. Introduction • GLM, one explanatory: • Regression: • t-test/ANOVA: • GLM, multiple explanatory: • Multiple Regression • Multi-way ANOVA • ANCOVA

  3. GLM | Multiple RegressionPcorn example…again • Example 9.3.1 from Snedecorand Cochran (1989) • Interested in the relationship between: • Phosphorus content of corn and phosphorus (organic and inorganic)levels in soil samples.

  4. 1. Construct Model Verbal: Plant available phosphorus depends on the amount of both organic and inorganic soil phosphorus Graphical:

  5. 1. Construct Model Verbal: Plant available phosphorus depends on the amount of both organic and inorganic soil phosphorus Graphical:

  6. 1. Construct Model Formal: • Start with individual explanatory variables:

  7. 1. Construct Model Formal: • Now we construct a model with both explanatory variables • is the rate of change in phosphorus content of corn relative to rate of change of inorganic phosphorus, adjusted for effects of organic phosphorus. is the opposite.

  8. 1. Construct Model

  9. 1. Construct Model Partial Regression

  10. 1. Construct Model Formal: • Now we construct a model with both explanatory variables • is the rate of change in phosphorus content of corn relative to rate of change of inorganic phosphorus, adjusted for effects of organic phosphorus. is the opposite. • Together, and parameters describe a plane through the data points

  11. 1. Construct Model Formal:

  12. 1. Construct Model Formal: • Finally, we add an interaction term Investigate potential interactive effects on the response variable

  13. 2. Execute analysis mr <- lm(Pcorn~ioP+oP+ioP*oP, data=corn) The overall mean is: mean(Pcorn) = = 76.18 ppm The regression equation for ioP is: Pcorn = 62.6 + 1.23 ioP The regression equation for oP is: Pcorn = 65.4 + 0.262 oP The regression equation for both variables: Pcorn= 45.92 + 0.3278 oP+ 5.304 ioP+ 0.0830 ioP*oP

  14. 3. Evaluate Model • Straight line model ok? • Errors homogeneous? • Errors normal? • Errors independent?

  15. State the population and whether the sample is representative. • Decide on mode of inference. Is hypothesis testing appropriate? • State HA / Ho pair, test statistic, distribution, tolerance for Type I error. • Separate statement for each explanatory variable

  16. State the population and whether the sample is representative. • Decide on mode of inference. Is hypothesis testing appropriate? • State HA / Ho pair, test statistic, distribution, tolerance for Type I error. • Separate statement for each explanatory variable var

  17. 7. ANOVA n = 17

  18. 8. Recompute p-value if necessary. • Assumptions met, skip 9. Declare decision about model terms. • First and foremost, there is interaction (p = 0.035) • Reject Ho: • Complex result, so present ANOVA table (Type III SS)

  19. 10. Report and interpret parameters of biological interest. • Present parameter estimates along with CL • Pcorn= 45.92 + 0.3278 oP+ 5.304 ioP+ 0.0830 ioP*oP • Organic and inorganic soil phosphorus have interactive effects on phosphorus content of corn. If we wish to look at the effects of soil phosphorus on corn phosphorus content we need to know both organic and inorganic concentrations in the soil. We need to use the interaction term to compute the expected levels of corn phosphorus.

More Related