Computing ordinary least-squares parameter estimates for the National Descriptive Model of Mercury in Fish
A specialized technique is used to compute weighted ordinary least-squares (OLS) estimates of the parameters of the National Descriptive Model of Mercury in Fish (NDMMF) in less time using less computer memory than general methods. The characteristics of the NDMMF allow the two products X'X and X'y in the normal equations to be filled out in a second or two of computer time during a single pass through the N data observations. As a result, the matrix X does not have to be stored in computer memory and the computationally expensive matrix multiplications generally required to produce X'X and X'y do not have to be carried out. The normal equations may then be solved to determine the best-fit parameters in the OLS sense. The computational solution based on this specialized technique requires O(8p2+16p) bytes of computer memory for p parameters on a machine with 8-byte double-precision numbers. This publication includes a reference implementation of this technique and a Gaussian-elimination solver in preliminary custom software.
Citation Information
Publication Year | 2013 |
---|---|
Title | Computing ordinary least-squares parameter estimates for the National Descriptive Model of Mercury in Fish |
DOI | 10.3133/tm7C10 |
Authors | David I. Donato |
Publication Type | Report |
Publication Subtype | USGS Numbered Series |
Series Title | Techniques and Methods |
Series Number | 7-C10 |
Index ID | tm7C10 |
Record Source | USGS Publications Warehouse |
USGS Organization | Eastern Geographic Science Center |