02-23-2017 11:48 AM
I have using two macros to analyze some complex survey data, MIXTRAN and DISTRIB macros, and from the user guide in order to generate standard errors I need to incorporate values into "vcontrol=, and start_val2=," if I am running an amount model. I have 16 replicate weight variables and my code for the mixtran and distrib macros are below. The user guide is also attached to this post.
title4 "Output from the DISTRIB macro calculating usual intake PK for FEMALES by edu";
byvar=, /* MIXTRAN was not fit separately for by groups */
cutpoints= 10 12 14 17 22 25 33 38 42 47,
recamt_hi=, /* comparison is not a range */
**** note: The parameters byvar and recamt_hi can be omitted in this call since they will not be used. ***
**** They are in the example only for the sake of documentation. ***;
The macros are able to run successfully, and the output for the DISTRIB macro provides the mean, and various percentiles, I also need the standard error.
Any help will be greatly appreciated.