-------------------------------------------------------------------------- name: log: /disk/homedirs/nber/taxsim/public_html/to-taxsim/scf27-32/cod > e/example1.log log type: text opened on: 2 Jun 2021, 15:04:57 . set maxvar 8000 . use "../bytaxunit/dta/scftax19" . generate weight=x42001/5 . generate rep = mod(y1,10) . generate taxunit = mod(taxsimid,10)+1 . . taxsim32,replace begin taxsim32.ado on 2 Jun 2021 (version 32.8) Intermediate files: txpydata.raw results.raw ftp.txt (1 real change made) Write 36295 obs to txpydata.raw (note: file txpydata.raw not found) Executing on taxsimssh.nber.org (46 vars, 36,295 obs) 36295 obs received file taxsim_out.dta saved . . # Sum a tax-unit variable by marital status Unknown #command . table mstat [pw=weight],c(sum fiitax) ----------------------- mstat | sum(fiitax) ----------+------------ 1 | 4.64e+11 2 | 1.48e+12 6 | 2.93e+10 ----------------------- . . # Correct standard errors for replicates for a taxunit variable Unknown #command . micombine regress fiitax [pw=weight],obsid(y1) impid(rep) [Note: sample size in imputation 3 is 7259, different from 7258 in imp. 1] [Note: sample size in imputation 4 is 7261, different from 7258 in imp. 1] [Note: sample size in imputation 5 is 7259, different from 7258 in imp. 1] Multiple imputation parameter estimates (5 imputations) -------------------------------------------------------------------------- > ---- | Robust fiitax | Coef. Std. Err. t P>|t| [95% Conf. Inter > val] -------------+------------------------------------------------------------ > ---- _cons | 11823.56 406.3011 29.10 0.000 11027.09 1262 > 0.03 -------------------------------------------------------------------------- > ---- 7258 observations (imputation 1). . . # With a household variable (Total Income) for household heads only Unknown #command . micombine regress x5729 [pw=weight] if taxunit<=1,obsid(y1) impid > (rep) [Note: sample size in imputation 3 is 5188, different from 5189 in imp. 1] [Note: sample size in imputation 4 is 5186, different from 5189 in imp. 1] [Note: sample size in imputation 5 is 5188, different from 5189 in imp. 1] Multiple imputation parameter estimates (5 imputations) -------------------------------------------------------------------------- > ---- | Robust x5729 | Coef. Std. Err. t P>|t| [95% Conf. Inter > val] -------------+------------------------------------------------------------ > ---- _cons | 103544.2 2303.915 44.94 0.000 99027.53 1080 > 60.8 -------------------------------------------------------------------------- > ---- 5189 observations (imputation 1). . micombine regress fiitax x5729 [pw=weight] if taxunit<=1,obsid(y1) impid > (rep) [Note: sample size in imputation 3 is 5188, different from 5189 in imp. 1] [Note: sample size in imputation 4 is 5186, different from 5189 in imp. 1] [Note: sample size in imputation 5 is 5188, different from 5189 in imp. 1] Multiple imputation parameter estimates (5 imputations) -------------------------------------------------------------------------- > ---- | Robust fiitax | Coef. Std. Err. t P>|t| [95% Conf. Inter > val] -------------+------------------------------------------------------------ > ---- x5729 | .30138 .0089131 33.81 0.000 .2839065 .318 > 8535 _cons | -15426.68 875.173 -17.63 0.000 -17142.38 -1371 > 0.97 -------------------------------------------------------------------------- > ---- 5189 observations (imputation 1). . sum fiitax x5729 weight if taxunit<=1 Variable | Obs Mean Std. Dev. Min Max -------------+--------------------------------------------------------- fiitax | 25,940 266329.9 3263074 -9656 2.16e+08 x5729 | 25,940 914302.6 1.03e+07 -9 6.91e+08 weight | 25,940 4398.533 2832.426 1.442477 14827.32 . . # Aggregate the tax results to household level so all taxpayers are Unknown #command . # included in a household level regression. Unknown #command . collapse (mean) x5729 weight rep (sum) fiitax,by(y1) . micombine regress x5729 [pw=weight],obsid(y1) impid(rep) Multiple imputation parameter estimates (5 imputations) -------------------------------------------------------------------------- > ---- | Robust x5729 | Coef. Std. Err. t P>|t| [95% Conf. Inter > val] -------------+------------------------------------------------------------ > ---- _cons | 101966.8 2099.57 48.57 0.000 97850.89 1060 > 82.8 -------------------------------------------------------------------------- > ---- 5777 observations (imputation 1). . micombine regress fiitax x5729 [pw=weight],obsid(y1) impid(rep) Multiple imputation parameter estimates (5 imputations) -------------------------------------------------------------------------- > ---- | Robust fiitax | Coef. Std. Err. t P>|t| [95% Conf. Inter > val] -------------+------------------------------------------------------------ > ---- x5729 | .2979965 .0094125 31.66 0.000 .2795446 .316 > 4485 _cons | -15059.83 924.9885 -16.28 0.000 -16873.16 -1324 > 6.51 -------------------------------------------------------------------------- > ---- 5777 observations (imputation 1). . sum fiitax x5729 weight Variable | Obs Mean Std. Dev. Min Max -------------+--------------------------------------------------------- fiitax | 28,885 279297.9 3176587 -16212.46 2.16e+08 x5729 | 28,885 947911.8 1.00e+07 -9 6.91e+08 weight | 28,885 4453.607 2815.046 1.442477 14827.32 . . end of do-file . exit,clear