Docsity

Regression Analysis for Concurrent Measurements in Hydrology: Correlation Coefficients, Assignments of Statistics

Toggle sidebar
bg1
1
Notes on Hydrological Statistics
1. Estimating the Missing Hydrological Data
Due to the fragmentary and short record lengths available in the majority of gauging
stations used in the hydrologic analysis in the river basins, data extension and filling
in missing data should be performed. The concurrent measurements at two or more
complete gauging stations can be used to fill in missing data or to extend short
records for other flow measuring stations based on the recorded data.
Thus the extended or completed records can be used to estimate the new set of
statistical parameters as the mean, variance, skewness coefficient, etc. However, the
extension or completion of records does not always give satisfactory results. It is
necessary that the lengthened or completed sequence gives better parameter
estimates than the short or incomplete sequence, whether or not this is fulfilled
depends on the degree of association between the concurrent records.
The analysis of short and missing records is a complicated process. It can go from
the very simple case of filling in missing data using a nearby station, to the case of
multiple series with missing values and with some of the series being short in
extend. The techniques used for transferring information from nearby measuring
station with complete or longer records to stations with missing values or short
records are based on regression analysis. Simple or multiple linear regression
models could be used for this purpose.
2. Correlation and Regression
2.1. Correlation analysis
Statistical correlation methods are generally used to measure the degree of
association between random variables like the measured flow at one station and
another station downstream. If such association is between two variables the
correlation is called "simple correlation" while if the association is between one
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Regression Analysis for Concurrent Measurements in Hydrology: Correlation Coefficients and more Assignments Statistics in PDF only on Docsity!

Notes on Hydrological Statistics

1. Estimating the Missing Hydrological Data

Due to the fragmentary and short record lengths available in the majority of gauging stations used in the hydrologic analysis in the river basins, data extension and filling in missing data should be performed. The concurrent measurements at two or more complete gauging stations can be used to fill in missing data or to extend short records for other flow measuring stations based on the recorded data.

Thus the extended or completed records can be used to estimate the new set of statistical parameters as the mean, variance, skewness coefficient, etc. However, the extension or completion of records does not always give satisfactory results. It is necessary that the lengthened or completed sequence gives better parameter estimates than the short or incomplete sequence, whether or not this is fulfilled depends on the degree of association between the concurrent records. The analysis of short and missing records is a complicated process. It can go from the very simple case of filling in missing data using a nearby station, to the case of multiple series with missing values and with some of the series being short in extend. The techniques used for transferring information from nearby measuring station with complete or longer records to stations with missing values or short records are based on regression analysis. Simple or multiple linear regression models could be used for this purpose.

2. Correlation and Regression 2.1. Correlation analysis Statistical correlation methods are generally used to measure the degree of association between random variables like the measured flow at one station and another station downstream. If such association is between two variables the correlation is called "simple correlation" while if the association is between one

variable and a set of variables the correlation is called "multiple correlation". On the other hand, the association between two variables while keeping other variables constant is called "partial correlation". Another form of association in which the correlation is defined in relation to time is called autocorrelation. That is, if the outcomes of a given random variable are considered as a time sequence and the values of the said variable at a given time are associated with those at another time, the resulting correlation is called "autocorrelation". In addition, if the hydrologic data at hand is seasonal such autocorrelation may be periodic.

2.2. Simple Correlation The simple correlation (coefficient) measures the degree of association between two variables. If X is a random variable with mean (^)  x and variance  x^2 , and Y is a random variable with mean  y and variance ^2 y , the simple correlation coefficient of X and Y is defined by, ( 10 ) as:   ^ ^ ^  x y

x y xy x y X Y E X^ Y  

      Cov ,    ........................... (1)

Where Cov ( X,Y ) is the covariance of X and Y. This correlation coefficient  xy is a dimensionless number, which lies between – 1 and +1. Positive values of  xy indicate that large (small) values of one variable are associated with large (small) values of the other variable, while negative values of  xy indicate that large values of one variable are associated with small values of the other. On the other hand,  xy  0 means that X and Y are not associated or there is no correlation between them.

Given the samples of size N , x 1 ,............, xN and y 1 ,......... ....., yN ,an estimator of the correlation coefficient ^ ˆ xy is given by:

2.4. Simple Linear Regression When only two variables are involved in the problem, say Y and X , the linear model is used to relate the dependent variable Y with the independent variable X for the available records. The simple regression model is commonly used to correlate the annual flows of the independent complete record stations and the other dependent stations needed to be completed with estimated data. This relation or model can be written as:

Y   0  1 X  ................................... ( 6 )

The values  0 ,  1 and  are unknown parameters of the model. As a matter of fact  would be difficult to discover since it changes for each observation Y. However,  0 and  1 remain fixed and, whereas we cannot find them exactly without examining all possible occurrences of Y and X , we can use the available records to give us estimates b 0 and b 1 of (^)  0 and (^)  1. For any value of X the predicted value Y ˆ is given by:

Y^ ˆ^  b 0  b 1 X .................................................... ( 7 )

Where (^) b 0 and b 1 are estimates of  0 and  1. These parameters are estimated from the method of least squares. The slope, b 1 , of the fitted straight line, is:

     (^1) ( ) 2 ( )( ) X X b X X Y Y i

i i ................................................................. ( 8 )

Where all summations are from i = 1 to N. The intercept, b 0 , at X = 0 of the fitted straight line, is: b (^) 0  Yb 1 X .................................... ( 9 )

Substituting Eq. ( 9 ) into Eq. ( 7 ) gives the estimated regression equation as: Y ˆ^  Yb 1 ( XX ) .............................................................................. ( 10 )

We can estimate the 95% confidence interval for any regression estimate Y ˆ i corresponding to Xi from:

   (^) ˆ  ^22 ( ) ˆ (^). 1 ( ) Y Y

X X Y t s n i i Y i^ (^11 )

Proportion Variation Explained- This term is usually called the coefficient of determination and can be expressed as:

    ( )

2 (^ ˆ )^2 Y Y R Y Y i^ (^12 ) Where all summations are from i = 1 to N (recorded data).

This coefficient provides a measure of how well future outcomes are likely to be predicted by the model. There are several different definitions of R^2 which are only sometimes equivalent. One class of such cases includes that of linear regression. In this case, R^2 is simply the square of the sample correlation coefficient between the outcomes and their predicted values, or in the case of simple linear regression, between the outcome and the values being used for prediction. In such cases, the values vary from 0 to 1.

The coefficient of correlation rXY can be given by the relation:

( )^2 ( )^2

( )( ) X X Y Y r X X Y Y i i XY i i      

 ( 13 )

The correlation coefficient will vary from - 1 to +1. A - 1 indicates perfect negative correlation, and +1 indicates perfect positive correlation.

2.5. Multiple Linear Regression

Multiple linear regression (MLR) is a method used to model the linear relationship between a dependent variable and one or more independent variables. The dependent variable is sometimes also called the predictand, and the independent

The error term in equation ( 14 ) is unknown because the true model is unknown. Once the model has been estimated, the regression residuals are defined as:

( 16 ) = observed value of predictand in year i = predicted value of predictand in year i

The residuals measure the closeness of fit of the predicted values and actual predictand in the calibration period. The algorithm for estimating the regression equation (solution of the normal equations) guarantees that the residuals have a mean of zero for the calibration period. The variance of the residuals measures the “size” of the error, and is small if the model fits the data well.

After being built on available recorded data, the model can be used for estimating the missing data for any measuring flow station considered in the present study.

3. Regression Types

When establishing a linear regression equation between a dependent variable Y in terms of a set of independent variables X (^1 ), X (^2 ), X (^3 ),......., X ( m ), the question that one may ask is: Is there a subset of independent variables that is "best" or "adequate" in some sense for predicting the dependent variable? Perhaps there is a subset of the m independent variables that can be used as a predictor of the dependent variable Y with the same results as if all the variables were included in the model. The following sections will present the procedures that will allow the determination of this subset of independent variables.

Two criteria for selecting the "best" subset of independent variables are usually involved:

e ˆ i (^)  yiy ˆ i yi y ˆ i

(i) In general, it is desirable to include as many independent variables as possible in order to get the best possible fit. (ii) On the other hand, for model parsimony and cost, it is desirable to include as few independent variables as possible.

To compromise on these two opposing criteria, four different methodologies are presented in this section in order to select the best set of independent variables for the prediction of the dependent variable Y.

All Regression Method This method is theoretically simple but may involve many computations. It is based on the fact that the best combination of independent variables for the prediction of the dependent variable must have a high multiple correlation coefficient. It should be noted that the addition of a variable to the best set of independent variables will increase (including zero increase) the value of the multiple correlation coefficient, and the higher value will be obtained when all the variables are included.

It is up to the analyst to decide at which point the inclusion of a new variable in the linear model does not significantly increase the value of the multiple correlation coefficient. When this decision is made, the best set of independent variables for the prediction of the dependent variable has been selected.

The method consists then in the computation of the multiple correlation coefficients of all combinations of the independent variables X (^1 ), X (^2 ), X (^3 ),......., X ( m ) with the dependent variable Y. This results in the computation of 2 m ^1 multiple correlation coefficients. Then, based on the computed correlation coefficients and on the knowledge of the analyst it is decided what independent variables are best for predicting the dependent variable. Once this decision is made, the regression equation is computed.

the regression model a re-examination of all the variables already in the model is performed.

It is possible that a variable which was included at a certain stage, because it was the best one to be included, at a later stage may not be significant in the regression model due to its relationship with other variables currently included in the model.

In other words, at each stage of the forward selection procedure, the significance of the independent variables included in the model is reviewed in terms of predicting the dependent variable. The criterion used in deciding which variable is better that other variable is the multiple correlation coefficient.