projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tolerate the inability to convert character encodings
[pspp-builds.git]
/
src
/
math
/
linreg.c
diff --git
a/src/math/linreg.c
b/src/math/linreg.c
index a50aa7d8f105aaff4a6921ee84a88539956d3122..811f9d23a5f709877a55c6b535e0b61938e1ce1d 100644
(file)
--- a/
src/math/linreg.c
+++ b/
src/math/linreg.c
@@
-737,3
+737,8
@@
pspp_linreg_with_cov (const struct covariance_matrix *full_cov,
design_matrix_destroy (cov);
}
+double pspp_linreg_mse (const pspp_linreg_cache *c)
+{
+ assert (c != NULL);
+ return (c->sse / c->dfe);
+}