|
|
(4 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
| === Rank Regression on X ===
| | #REDIRECT [[The Weibull Distribution]] |
| | |
| Performing a rank regression on X is similar to the process for rank regression on Y, with the difference being that the ''horizontal'' deviations from the points to the line are minimized rather than the vertical. Again, the first task is to bring our function, Eqn. (EQNREF Fw ), into a linear form. This step is exactly the same as in the regression on Y analysis and Eqns. (EQNREF logw ), (EQNREF yw ), (EQNREF aw ) and (EQNREF bw ) apply in this case too. The derivation from the previous analysis begins on the least squares fit part, where in this case we treat as the dependent variable and as the independent variable. The best-fitting straight line to the data, for regression on X (see Chapter 3), is the straight line:
| |
| | |
| ::<math> x= \hat{a}+\hat{b}y </math> EQNREF xlinew
| |
| | |
| The corresponding equations for <math> \hat{a} </math> and <math> \hat{b} </math> are:
| |
| | |
| ::<math> \hat{a}=\overline{x}-\hat{b}\overline{y}=\frac{\sum\limits_{i=1}^{N}x_{i}}{N} -\hat{b}\frac{\sum\limits_{i=1}^{N}y_{i}}{N} </math>
| |
| | |
| :and
| |
| | |
| ::<math> \hat{b}={\frac{\sum\limits_{i=1}^{N}x_{i}y_{i}-\frac{\sum \limits_{i=1}^{N}x_{i}\sum\limits_{i=1}^{N}y_{i}}{N}}{\sum \limits_{i=1}^{N}y_{i}^{2}-\frac{\left( \sum\limits_{i=1}^{N}y_{i}\right) ^{2}}{N}}} </math>
| |
| | |
| :where:
| |
| | |
| ::<math> y_{i}=\ln \left\{ -\ln [1-F(T_{i})]\right\} </math> and:
| |
| | |
| <span class="texhtml">''x''<sub>''i''</sub> = ln(''T''<sub>''i''</sub>)</span> and the <span class="texhtml">''F''(''T''<sub>''i''</sub>)</span> values are again obtained from the median ranks.
| |
| | |
| Once <math> \hat{a} </math> and <math> \hat{b} </math> are obtained, solve Eqn. (EQNREF xlinew ) for <span class="texhtml">''y'',</span> which corresponds to:
| |
| | |
| ::<math> y=-\frac{\hat{a}}{\hat{b}}+\frac{1}{\hat{b}}x </math> Solving for the parameters from Eqns. (EQNREF aw ) and (EQNREF bw ) we get
| |
| | |
| ::<math> a=-\frac{\hat{a}}{\hat{b}}=-\beta \ln (\eta )</math> EQNREF awx
| |
| | |
| :and
| |
| | |
| ::<math> b=\frac{1}{\hat{b}}=\beta EQNREF bwx </math> The correlation coefficient is evaluated as before using Eqn. (EQNREF RHOw ).
| |
| | |
| | |
| {{Example: 2P Weibull Distribution RRX}}
| |