This shows you the differences between two versions of the page.

Both sides previous revision Previous revision | |||

statistics:multiple-regression [2010/12/20 11:24 am PST] John Colby [Example] |
statistics:multiple-regression [2010/12/26 5:10 pm PST] (current) John Colby |
||
---|---|---|---|

Line 1: | Line 1: | ||

- | ====== Multiple Regression ====== | + | ====== Multiple regression example with R ====== |

- | | + | |

- | ====== Example ====== | + | |

We begin by simulating some data. Our response variable ''y'' (perhaps FA?) is related to ''age'' and ''group''. It is also related to test ''score'', but this relationship is modified by ''group'' (an interaction). Further, as might be expected, ''score'' is also somewhat correlated with ''age''. There is also a sampling error term. | We begin by simulating some data. Our response variable ''y'' (perhaps FA?) is related to ''age'' and ''group''. It is also related to test ''score'', but this relationship is modified by ''group'' (an interaction). Further, as might be expected, ''score'' is also somewhat correlated with ''age''. There is also a sampling error term. | ||

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International