51.0 EXPAND The EXPAND command builds a dataset from a weighted dataset. This allows weighted data to be used with all other B34S procedures. This command can shrink data as well as expand it. If a weight value is LT 1.0, the observation is dropped. If the weight variable is coded 0, 1 all the observatioins with a 0 are dropped. If the weight valiable is 2, then that observation is duplicated. Form of Command. B34SEXEC EXPAND$ b34seend$ Pamameters on EXPAND sentence. WEIGHT = var The WEIGHT variable is required and must contain an integer variable. Example # 1 The following dataset from SCA was originally studied by D. V. Glass "Social Mobility in Britain" Gencoe, IL: Free Press 1954 b34sexec data heading('Weighted Data fron Glass(1954)')$ input father son count income$ datacards$ 1 1 50 361 1 2 45 512 1 3 8 634 1 4 18 684 1 5 8 718 2 1 28 431 2 2 174 631 2 3 84 652 2 4 154 793 2 5 55 815 3 1 11 492 3 2 78 670 3 3 110 732 3 4 223 831 3 5 96 842 4 1 14 496 4 2 150 683 4 3 185 763 4 4 714 852 4 5 447 852 5 1 3 582 5 2 42 696 5 3 72 762 5 4 320 864 5 5 411 875 b34sreturn$ b34seend$ b34sexec expand weight=count$ b34srun$ The final dataset will contain 3500 observations on three variables.