X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Flinreg%2Fsweep.h;h=bfb181c1a150dc60ec821faa9495ead5376d1caf;hb=f5c108becd49d78f4898cab11352291f5689d24e;hp=c931d1b10a204c7cebec9f3119db1d7d3839690d;hpb=7eee0554f378481faf447e2d2e940f389d6b05ec;p=pspp-builds.git diff --git a/lib/linreg/sweep.h b/lib/linreg/sweep.h index c931d1b1..bfb181c1 100644 --- a/lib/linreg/sweep.h +++ b/lib/linreg/sweep.h @@ -26,7 +26,7 @@ Y = Xb + Z - where Y is an n-by-1 column vector, X is an n-by-p matrix of + where Y is an n-by-1 column vector, X is an n-by-p matrix of independent variables, b is a p-by-1 vector of regression coefficients, and Z is an n-by-1 normally-distributed random vector with independent identically distributed components with mean 0. @@ -59,7 +59,7 @@ -- -- X refers to the design matrix and Y to the vector of dependent - observations. reg_sweep sweeps on the diagonal elements of + observations. reg_sweep sweeps on the diagonal elements of X'X. The matrix A is assumed to be symmetric, so the sweep operation is