Difference between revisions of "Página de pruebas"
Adelo Vieira (talk | contribs) (Blanked the page) (Tag: Blanking) |
Adelo Vieira (talk | contribs) |
||
| Line 1: | Line 1: | ||
| + | ===Simple Linear Regression=== | ||
| + | https://www.youtube.com/watch?v=nk2CQITm_eo&t=267s | ||
| + | |||
| + | *'''1''' Use '''Least-squqres''' to fit a line to the data | ||
| + | |||
| + | *'''2''' Clculate <math>R^2</math> | ||
| + | |||
| + | *'''3''' Calculate a <math>p-value</math> for <math>R^2</math> | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | <br /> | ||
| + | <br /> | ||
| + | |||
| + | <!-- [[File:SimpleLinearRegression.png|350px|thumb|center|]] --> | ||
| + | |||
| + | [[File:SimpleLinearRegression2.png|600px|center|]] | ||
| + | |||
| + | |||
| + | '''The regression equation:''' | ||
| + | <math> y = a + bx </math> | ||
| + | |||
| + | * Dependent variable: <math> y </math>: | ||
| + | * Independent variable: <math> x </math>: | ||
| + | * Slope: <math> b = r \frac{S_y}{S_x}</math> | ||
| + | : The slope is the amount of change in units of <math>y</math> for each unitchange in <math>x</math>. | ||
| + | * <math> y </math> intercept: <math> a = \bar{y} - b\bar{x} </math>: | ||
| + | |||
| + | |||
| + | <br /> | ||
Revision as of 01:59, 24 December 2020
Simple Linear Regression
https://www.youtube.com/watch?v=nk2CQITm_eo&t=267s
- 1 Use Least-squqres to fit a line to the data
- 2 Clculate
- 3 Calculate a for
The regression equation:
- Dependent variable: :
- Independent variable: :
- Slope:
- The slope is the amount of change in units of for each unitchange in .
- intercept: :