10 defines some macros 11 proc sort data=main 12 data scf;set main; 13 proc freq 14 data newunits;set scf; 15 data scf;set scf newunits; 16 proc freq; 17 data scf;setscf; 18 data temp npeu; set scf(where(taxunit in (0 1) & x7950>=1)) 19 data npeu;set npue; 20 proc freq; 21 proc freq; 22 proc means; 23 data scf; set scf npeu; 24 proc means; 25 proc freq; 26 proc freq; 27 data scf; set scf; 28 proc freq; 29 proc freq; 30 proc means; 31 proc means; 32 proc means; 33 proc sort data=scf; by taxunitid; 34 data taxsim;set scf; 35 data taxsim; set taxsim; 36 proc export data=taxsim outfile=scftax 37 if htaxfile yes proc import datafile=taxsim 38 data ftaxscfi; set ftaxscfi; 39 proc sort data=ftaxscfi; 40 proc sort by taxunitid; 41 data taxscf;merge scf ftaxscfi 42 data taxscf;set taxscf; 43 if htaxfile yes proc means; 44 data out.ftax;set taxscf... 45 proc contents 46 proc sort data=taxscf out=taxscfhlnp; 47 data taxscfhlnp;set taxscfhlnp 48 proc freq 49 proc means 50 data wgt 51 data staxscfhlnp 52 data out.ftax... 53 proc contents 54 data taxscfhl; set taxscfhlnp 55 proc freq 56 proc means 57 data staxscfhl 58 data out.ftax... 59 proc contents 60 proc means 61 proc means 62 proc means 63 proc print; 64 calls