Methods for Reconstructing Dependencies
[43/5%]The linear regression model has the following special form:
where are independent centered random variables. Find an explicit analytical expression for the OLS estimate of the vector .
Prove relation (10.7):
where .
Let , where . Prove that if and are partitioned into blocks in the form
then the OLS estimate of has the form: .
From the two observations with , construct a realization of the OLS estimate of the unknown parameters in the simple linear regression model. Compute the coefficient of determination.
In the setting of Example 10.4, use Fisher's test to test the hypothesis at the significance level , assuming that the observation errors have the distribution .
The observation model has the form
where are independent Gaussian random variables, . Using the OLS estimate of the parameter , construct a confidence interval for it with confidence level .
In the setting of Example 10.4, test at the significance level the parametric hypothesis , assuming that the observation errors are independent and have the distribution .
Using the data of Example 10.6, construct the dependence , assuming that:
;
.
In both cases, estimate the error of the obtained realization of the estimate and compute the coefficient of determination.
Estimate the unknown parameters in the model of a person's consumption of some product , where is the expenditure on the consumer product, is the weekly income (Table 10.4).
Table 10.4
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
|---|---|---|---|---|---|---|---|
| 0,8 | 1,2 | 1,5 | 2,2 | 2,3 | 3,6 | 3,1 | |
| 1,7 | 2,7 | 3,6 | 5,7 | 6,7 | 8,1 | 12,0 |
Estimate the elasticity coefficient . Assuming that the observation errors have the distribution , use Fisher's test to test the hypothesis at the significance level 0,05.
Find the GLS estimate and the variance of its components in the case where the error covariance matrix is diagonal.
Obtain a matrix of the form (11.12).
Let , where the error vector has expectation , and ,
the numbers and are unknown, . Show that the GLS estimate of the vector has the form
where . Find values of for which the regression line lies entirely below all the observed values, and values for which it lies entirely above them.
Let , where , and and are independent. For two vectors find the GLS estimate and its variance for the two vectors .
Let the regression model have the form
where are independent centered random variables with variances . From the observations given in Table 11.5, find the realizations of the OLS estimate and the GLS estimate of the unknown parameters . For each estimate, compute the covariance matrix of its error.
Table 11.5
| 1 | 2 | 3 | 4 | 5 | |
|---|---|---|---|---|---|
| 1 | 2 | 2 | 3 | 4 |
Show that applying GLS to the simple linear regression model with error variances equal to is equivalent to applying ordinary least squares to the observation model of the form
where are independent random variables with variances for .
Consider the regression model
where the errors satisfy the first-order autoregression equation
where is a sequence of independent normally distributed random variables with zero mean and variance . Find the realization of the GLS estimate of the vector of unknown parameters from the observations given in Table 11.6.
Table 11.6
| 5,0 | 2,5 | 1,8 | 6,8 | 9,0 | 3,8 | 6,5 | 9,0 | 1,0 | 3,5 | |
|---|---|---|---|---|---|---|---|---|---|---|
| 5,0 | 4,8 | 3,1 | 8,2 | 8,6 | 5,5 | 6,5 | 11,1 | 2,1 | 4,5 |
Compare the obtained vector with the realization of the OLS estimate constructed under the assumption that the errors are uncorrelated.
Consider the model relating the number of vacancies and the unemployment rate
where . Using the data from Table 11.7, find the OLS estimates of the parameters and . Use the Durbin-Watson test to test the hypothesis that the observation errors are uncorrelated, at the significance level . If the hypothesis is rejected, assume that the sequence of random errors satisfies the first-order autoregression equation
where are centered Gaussian random variables with variance . Find an estimate of the unknown coefficient in the autoregression equation.
Investigate the consumption function of Japan over the period 1951-1962 for correlation of the observation errors. If the observation errors are correlated, find the realization of the GLS estimate of the vector of unknown parameters. Find an estimate of the covariance matrix of the error vector . The data for the computations are given in Table 11.8 (data taken from: U. N. Yearbook of National Accounts Statistics, 1963). Here is aggregate individual consumption (trillion yen), and is aggregate personal income (trillion yen).
Table 11.8
| 1 | 2,86 | 3,52 | 7 | 5,89 | 7,00 |
| 2 | 3,51 | 4,26 | 8 | 6,20 | 7,32 |
| 3 | 4,22 | 4,77 | 9 | 6,70 | 8,24 |
| 4 | 4,67 | 5,25 | 10 | 7,51 | 9,46 |
| 5 | 4,97 | 5,73 | 11 | 8,58 | 11,10 |
| 6 | 5,43 | 6,35 | 12 | 9,96 | 12,69 |
Table 12.4 gives data on investment (), government expenditure , gross domestic product () and population for 28 countries in 1997. The quantities and are given in billions of US dollars, and in millions of people. Construct a dependence of the volume of investment on the volume of government expenditure and GDP of the form
where are unknown parameters and . Test the hypothesis using the Goldfeld-Quandt test at the significance level 0,05.
Table 12.4
| Country | Country | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Australia | 94 | 76 | 408 | 18 | Netherlands | 73 | 50 | 361 | 16 |
| Austria | 46 | 39 | 206 | 8,1 | Philippines | 20 | 11 | 82 | 79 |
| Canada | 119 | 125 | 631 | 30 | Switzerland | 50 | 39 | 256 | 7 |
| Czech Republic | 16 | 10 | 52 | 10 | South Korea | 155 | 49 | 442 | 46 |
| Denmark | 34 | 43 | 169 | 5,3 | |||||
| France | 256 | 347 | 1409 | 57 | Germany | 422 | 407 | 2103 | 82 |
| Greece | 24 | 18 | 120 | 10 | Iceland | 1,4 | 1,5 | 7,5 | 0,3 |
| Italy | 191 | 190 | 1145 | 57 | Ireland | 14 | 10 | 73 | 3,7 |
| Japan | 1106 | 376 | 3901 | 126 | Malaysia | 42 | 11 | 97 | 21 |
| Norway | 35 | 31 | 153 | 4,4 | Singapore | 36 | 9,0 | 96 | 3,7 |
| Poland | 29 | 23 | 136 | 39 | Spain | 109 | 86 | 532 | 39 |
| Russia | 85 | 94 | 436 | 147 | Thailand | 48 | 15 | 154 | 61 |
| Sweden | 31 | 59 | 228 | 8,9 | Portugal | 20 | 10 | 82 | 78 |
| USA | 1518 | 1244 | 8111 | 268 | Finland | 20 | 25 | 122 | 5,1 |
| Turkey | 50 | 23 | 189 | 62 |
Apply Bartlett's test to the data of Problem 1.
For the data of Problem 1, construct the dependence of investment on government expenditure and gross domestic product, dividing the values of all variables by the corresponding population value. Apply the Goldfeld-Quandt test to the new set of observations.
Investigate the dependence between manufacturing value added () and gross domestic product () on a sample of 28 countries for 1994 that includes both small and large countries (UNIDO Yearbook 1997). Table 12.5 gives the values of and in millions of US dollars, the population in millions of people, and the data in the last two columns in US dollars per person. Construct the OLS estimate of the parameters and for the model
Check for heteroscedasticity using one of the tests, assuming that the observation errors are uncorrelated and Gaussian. If heteroscedasticity is detected, eliminate it by dividing each observation by the population value. For this, the data from the last two columns of Table 12.5 can be used.
Table 12.5
Using a sample of 15 countries, estimate the parameters of the model , where is per capita income; is the percentage of the labor force employed in agriculture; is the average level of education of persons over 25 years of age (the number of years spent in educational institutions). Test for the presence or absence of heteroscedasticity under the assumption that the observation errors are uncorrelated and have a Gaussian distribution; if it is detected, try to eliminate it.
Table 12.6
| 1 | 7 | 8 | 9 | 6 | 14 | 4 | 16 | 11 | 11 | 6 | 11 |
| 2 | 9 | 9 | 13 | 7 | 9 | 5 | 11 | 12 | 12 | 4 | 15 |
| 3 | 9 | 7 | 11 | 8 | 8 | 5 | 11 | 13 | 9 | 8 | 15 |
| 4 | 8 | 6 | 11 | 9 | 10 | 6 | 12 | 14 | 10 | 5 | 10 |
| 5 | 8 | 10 | 12 | 10 | 11 | 7 | 14 | 15 | 12 | 8 | 13 |
Derive formulas (13.11) - (13.13) for computing the mean-square error of an arbitrary estimate of the vector .
Show that for an arbitrary ridge estimate the quantities and are determined by relations (13.16) and (13.17), respectively.
Show that for we have .
Consider the limiting values of the ridge estimate and its characteristics and as . What is the consequence of using too large values of the regularization parameter in the ridge estimation algorithm?
Table 13.1 gives the results of observations in a model with two parameters and :
where , , and the errors and are independent for ; the fourth column of Table 13.1 gives the exact values of the measured dependence , where and are the true (unknown) values of the parameters and .
Table 13.1
| 1 | 0 | 0,01 | 0,01 | 0,561 | 0,571 |
| 2 | 0,5 | 0,26 | 0,040 | ||
| 3 | 1 | 0,51 | 0,646 | 1,156 | |
| 4 | 1,5 | 0,74 | 0,76 | 0,271 | 1,031 |
| 5 | 2 | 1,01 | 0,179 | ||
| 6 | 2,5 | 1,26 | 0,151 | ||
| 7 | 3 | 1,51 | 1,182 | ||
| 8 | 3,5 | 1,76 | 0,521 | 2,281 | |
| 9 | 4 | 2,01 | 1,560 | ||
| 10 | 4,5 | 2,26 | 1,703 |
Using the data of Table 13.1, construct and for , and . Choose the best of these estimates by the criterion of minimum mean-square error .
Table 13.1 gives the results of observations in a model with two parameters and :
where , , and the errors and are independent for ; the fourth column of Table 13.1 gives the exact values of the measured dependence , where and are the true (unknown) values of the parameters and .
Table 13.1
| 1 | 0 | 0,01 | 0,01 | 0,561 | 0,571 |
| 2 | 0,5 | 0,26 | 0,040 | ||
| 3 | 1 | 0,51 | 0,646 | 1,156 | |
| 4 | 1,5 | 0,74 | 0,76 | 0,271 | 1,031 |
| 5 | 2 | 1,01 | 0,179 | ||
| 6 | 2,5 | 1,26 | 0,151 | ||
| 7 | 3 | 1,51 | 1,182 | ||
| 8 | 3,5 | 1,76 | 0,521 | 2,281 | |
| 9 | 4 | 2,01 | 1,560 | ||
| 10 | 4,5 | 2,26 | 1,703 |
Let equal or be the corresponding estimate of the exact value of the measured dependence , . Let also . For which of the estimates will the quantity be smaller? Does the quantity change significantly when passing from the OLS estimate to the ridge estimate ? Is the following statement true: least squares does not make it possible to construct ``good'' estimates of the parameters , but does make it possible to estimate quite accurately the measured dependence ?
Using the data from Table 13.3, find estimates of the parameters of the production function model if:
, i.e., without taking technical progress into account;
, i.e., taking technical progress into account.
Table 13.3
| Year | Year | ||||||
|---|---|---|---|---|---|---|---|
| 1899 | 100 | 100 | 100 | 1911 | 153 | 216 | 145 |
| 1900 | 101 | 107 | 105 | 1912 | 177 | 226 | 152 |
| 1901 | 112 | 114 | 110 | 1913 | 184 | 236 | 154 |
| 1902 | 122 | 122 | 118 | 1914 | 169 | 244 | 149 |
| 1903 | 124 | 131 | 123 | 1915 | 189 | 266 | 154 |
| 1904 | 122 | 138 | 116 | 1916 | 225 | 298 | 182 |
| 1905 | 143 | 149 | 125 | 1917 | 227 | 335 | 196 |
| 1906 | 152 | 163 | 133 | 1918 | 223 | 366 | 200 |
| 1907 | 151 | 176 | 138 | 1919 | 218 | 387 | 193 |
| 1908 | 126 | 185 | 121 | 1920 | 231 | 407 | 193 |
| 1909 | 155 | 198 | 140 | 1921 | 179 | 417 | 147 |
| 1910 | 159 | 208 | 144 | 1922 | 240 | 431 | 161 |
These data were used by C. Cobb and P. Douglas in constructing the Cobb-Douglas production function [6] for the US manufacturing industry over the period 1899-1922 (the 1899 data are taken as ).
Is either of these models multicollinear? If so, apply the reduction method to estimate the parameters and analyze the results obtained.
Using the data given in Table 14.1, estimate the average accrued wage in the Central Federal District by the methods of least squares and least absolute deviations. Analyze the data for anomalous values and reject them.
Consider the linear regression model
where is the per capita income in the -th region of the Central Federal District, and is the average accrued wage in the same region (Table 14.2). Find estimates of the parameters and using the OLS and LAD algorithms.
Under the conditions of Example 14.3, analyze the data for outliers using the algorithm for rejecting anomalous data.
Using the data of Example 14.6, plot the estimates of the dependence for various types of parameter estimates. Construct forecast values of at the points and compare them with the exact values at these points. Analyze the effect of outliers on the accuracy of the obtained forecasts.
Table 14.4 gives the indices of output , capital inputs and labor inputs for years (USA, 1913-1922).
Table 14.4
| 1 | 184 | 236 | 154 | 6 | 223 | 366 | 200 |
| 2 | 169 | 244 | 149 | 7 | 218 | 387 | 193 |
| 3 | 189 | 266 | 154 | 8 | 231 | 407 | 193 |
| 4 | 225 | 298 | 182 | 9 | 179 | 417 | 147 |
| 5 | 227 | 335 | 196 | 10 | 240 | 431 | 161 |
The relationship between these variables is assumed to have the form
Find estimates of the parameters and by OLS and LAD. Find a robust estimate of the parameter . Analyze the data for outliers and reject them.
Using the data of Table 15.4, estimate the parameters of the Cobb-Douglas production model [6] by the method of reducing the model to a linear one:
Table 15.4 (the data are given as percentages of the base year 1960, )
| 1 | 33,15 | 33,77 | 79,92 | 11 | 100,00 | 100,00 | 100,00 |
| 2 | 38,20 | 37,59 | 84,52 | 12 | 109,56 | 111,59 | 99,54 |
| 3 | 42,56 | 42,35 | 87,60 | 13 | 120,27 | 123,93 | 102,81 |
| 4 | 47,35 | 46,96 | 91,41 | 14 | 131,21 | 138,10 | 106,44 |
| 5 | 53,46 | 52,18 | 95,83 | 15 | 141,78 | 154,31 | 110,91 |
| 6 | 60,34 | 58,64 | 97,61 | 16 | 153,41 | 170,42 | 115,65 |
| 7 | 66,33 | 65,64 | 96,32 | 17 | 167,09 | 186,13 | 118,66 |
| 8 | 73,01 | 72,50 | 96,60 | 18 | 183,65 | 201,73 | 122,55 |
| 9 | 81,29 | 80,45 | 99,14 | 19 | 199,91 | 217,68 | 126,62 |
| 10 | 90,56 | 89,67 | 100,66 | 20 | 215,20 | 235,10 | 130,61 |
;
.
Using the data of Table 15.1, estimate the parameters of the model
Table 15.1
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | |
|---|---|---|---|---|---|---|---|---|---|---|
| 4 | 5 | 5 | 6 | 8 | 10 | 8 | 7 | 11 | 6 | |
| 1,5 | 2,0 | 1,4 | 2,3 | 2,7 | 4,0 | 2,3 | 2,5 | 6,6 | 1,7 |
by the Gauss-Newton method. Compare with the results of Example 15.1.
Under the conditions of Example 15.2, find exact expressions for the components of the vector .
The dependence of the variable on has the form of a rational function
Develop an algorithm for estimating the parameters from the observations
by the Gauss-Newton method.
Let , where . Show that is a convex function of .
For the linear regression model , consider the quantile regression problem , where and . Show that the solutions of the problems in Examples 14.5 and 14.6 obtained by the variationally weighted least squares (VWLS) method coincide with the solutions of this quantile regression problem for constructed from the same observations.
For the simple regression model
where are independent centered random variables with equal variance, solve the quantile regression problem (where ) from the three observations for various values of . Analyze the results obtained, using Theorem 16.2.
For the observations described by the linear regression equation , , where , given in Table 11.3, construct a plot showing the observations and the solution of the quantile regression problem (where ) for .
Table 11.3
| 0,10 | 0,15 | 0,20 | 0,25 | 0,3 | 0,35 | 0,4 | 0,45 | 0,5 | |
|---|---|---|---|---|---|---|---|---|---|
| 0,019 | 0,019 | 0,027 | 0,051 | 0,093 | 0,136 | 0,171 | 0,198 | 0,267 | |
| 0,55 | 0,6 | 0,65 | 0,7 | 0,75 | 0,8 | 0,85 | 0,9 | 0,95 | |
| 0,314 | 0,365 | 0,396 | 0,482 | 0,569 | 0,627 | 0,710 | 0,835 | 0,913 |