Let's say I create two survey objects: dstrata and dstrata_mod where dstrata_mod is created by using filter to make a subpopulation. The printed objects look the same. It'd be nice to have some indicator that the filtering has been done.
proc regress data=temp1 filetype=sas design = jackknife;
weight rakedw0;
jackwgts rakedw1--rakedw80 / adjjack=1;
model ae13 = ae14 racehpra;
subpopn srsex = 1;
subgroup racehpra;
levels 4;
run;
Number of observations read : 55428 Weighted count: 23847415
Observations in subpopulation : 23002 Weighted count: 11631728
Observations used in the analysis : 3744 Weighted count: 2522055
Denominator degrees of freedom : 80
Maximum number of estimable parameters for the model is 5
Weighted mean response is 3.133033
Multiple R-Square for the dependent variable AE13: 0.231226
Variance Estimation Method: Replicate Weight Jackknife
Working Correlations: Independent
Link Function: Identity
Response variable AE13: Number of drinks on the days drinking alcohol
For Subpopulation: SRSEX = 1
Let's say I create two survey objects: dstrata and dstrata_mod where dstrata_mod is created by using filter to make a subpopulation. The printed objects look the same. It'd be nice to have some indicator that the filtering has been done.
Created on 2023-07-15 with reprex v2.0.2
Related SUDAAN example extract below with bold for emphasis for some ideas.