proc surveyreg data=XXX varmethod=brr(fay);
model score_m=ESCS ST004D01T IMMIG ;
weight w_fstuwt;
repweights w_fsturwt;
run;
I have used the PROC SURVEYREG
in SAS with the BRR (Fay) method for my analysis of the PISA 2022 survey data. I am now uncertain whether it estimates using OLS or GLS. In my thesis, I have stated that the estimation is conducted using the OLS estimator. I am concerned that this might be incorrect. Could anyone clarify whether the estimation method is indeed OLS or if it is GLS?
xx
PROC SURVEYREG uses elementwise regression to compute the regression coefficient estimators by generalized least squares estimation. The procedure assumes that the regression coefficients are the same across strata and primary sampling units (PSUs). To estimate the variance-covariance matrix for the regression coefficients, PROC SURVEYREG uses either the Taylor series (linearization) method or replication (like BRR) methods to estimate sampling errors of estimators, based on complex sample designs.
Weighted least squares, to be exact. Because of the fact that weighted least squares is a special kind of generalized least squares, it is not wrong to say that the regression coefficients are estimated by generalized least squares in the SURVEYREG procedure.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.