| 1 |
<html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 |
<title>DataModeler: Get coefficient of determination</title> |
| 3 |
<style> |
| 4 |
td { padding-left: 5pt; padding-right: 5pt; } |
| 5 |
th { padding-left: 5pt; padding-right: 5pt; } |
| 6 |
code { white-space: pre-wrap; } |
| 7 |
dd { white-space: pre-wrap; } |
| 8 |
</style> |
| 9 |
</head><body bgcolor="#FFFFFF"> |
| 10 |
|
| 11 |
<table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 |
DataModeler: Get coefficient of determination |
| 13 |
</b></font></table></table> |
| 14 |
<p>Get the coefficient of determination (<i>R</i><sup>2</sup>) of the model. The <i>R</i><sup>2</sup> goodness of fit is a number between 0 and 1 that measures how well a model predicts the data. A value of 1 means a perfect fit. If all dependent data, the <i>y</i> values, have the same variance the <i>R</i><sup>2</sup> is simply 1 - <i>SS</i><sub>model</sub>/<i>SS</i><sub>total</sub>, where <i>SS</i><sub>model</sub> is the sum of the squared differences between <i>y</i>'s predicted by the model and the actual <i>y</i> values from the data, and <i>SS</i><sub>total</sub> the sum of the squared differences between the actual data <i>y</i> values and the mean of the data.</p> |
| 15 |
<p>Because our data points can have different weights we use adapted formula from <a href="Buse__1973_.html">Buse (1973)</a>.</p> |
| 16 |
<hr> |
| 17 |
<address> |
| 18 |
<p>© David Weenink, 2024</p> |
| 19 |
</address> |
| 20 |
</body> |
| 21 |
</html> |