Chapter Contents |
Previous |
Next |
The SURVEYREG Procedure |
In this sample, a linear model between the Swedish populations in 1975 and in 1985 is established.
Assuming that the total population in 1975 is known to be 8200 (in thousands), you can use the ESTIMATE statement to predict the 1985 total population using the following statements.
title1 'Regression Analysis for Swedish Municipalities'; title2 'Estimate Total Population'; proc surveyreg data=Municipalities total=50; cluster Cluster; model Population85=Population75; estimate '1985 population' Intercept 284 Population75 8200; run;
Since each observation in the sample is a municipality, and there is a total of 284 municipalities in Sweden, the coefficient for Intercept () in the ESTIMATE statement is 284, and the coefficient for Population75 () is the total population in 1975 (8.2 million).
Output 62.3.1: Use the Regression Estimator to Estimate the Population Total
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.