USGS - science for a changing world

Water Resources of the United States


Weighted-Multiple-Linear Regression Program

The WREG program can be used to develop a regional estimation equation for streamflow characteristics that can be applied at an ungaged basin, or to improve the corresponding estimate at continuous-record streamflow gages with short records. The regional estimation equation results from a multiple-linear regression that relates observable basin characteristics, such as drainage area, to streamflow characteristics. WREG allows use of three approaches to estimating regression parameters: ordinary-least-squares (OLS), weighted-least-squares (WLS), and generalized-least-squares (GLS). All three approaches are based on the minimization of the sum of squares of differences between the gage values and the line or surface defined by the regression. WREG can also be used to test region of influence (RoI) regression models.

Current Version:

ALERT: This version of WREG is being superceded by a new version written in R.  We will update when there is an official release.  We do not recommend use of versions 1.0-1.05 at this time. 

Release Date: May 8, 2013
Documentation: NOTE: Electronic and/or print versions of many U.S. Geological Survey reports can be found at the Publications Warehouse (
Version History
Eng, Ken, Chen, Yin-Yu, and Kiang, Julie, 2009, Userís guide to the weighted-multiple-linear-regression program (WREG version 1.0): U.S. Geological Survey Techniques and Methods, book 4, chapter A8, 21 p.
(Available at

Distribution Files


Operating System

Download File




Windows 7 README.docx Installation and usage information
1.04/ (177MB) Zip file contents listing



Windows XP README.docx Installation and usage information
1.02/ (177MB) Zip file contents listing



Windows XP readme.txt Installation and usage information
1.0/ (2.51MB) Zip file containing WREG executable
MatLab Component Runtime Installer, files, and license
WREG source code
WREG sample files

USGS Home :: Biology :: Geology :: Geography :: Site Map

Accessibility FOIA Privacy Policies and Notices logo U.S. Department of the Interior | U.S. Geological Survey
[an error occurred while processing this directive] Page Contact Information: (none)
Page Last Modified: Monday, 04-Mar-2019 09:26:17 EST URL:
Page Contact Information: NatWeb Team (
Page Last Modified: Monday, 04-Mar-2019 09:26:17 EST