Hi
How can I add CI's to the dtable command for both continues and factor variables?
Here is what I'm doing:
dtable, svy ///
factor(gender, stat(fvfrequency fvpercent)) /// I want to have a third column of CI for gender
cont(age , stat(count mean) ) // and same for age
collect levels result
collect composite define col1 = count fvfrequency
collect composite define col2 = mean fvpercent
collect label levels result ///
col1 "N_wt/count" ///
col2 "Pcnt_wt/avg" ///
, modify
collect style autolevels result col1 col2 _dtable_test, clear
collect style header result[col1 col2], title(hide) level(label)
How can I add CI's to the dtable command for both continues and factor variables?
Here is what I'm doing:
dtable, svy ///
factor(gender, stat(fvfrequency fvpercent)) /// I want to have a third column of CI for gender
cont(age , stat(count mean) ) // and same for age
collect levels result
collect composite define col1 = count fvfrequency
collect composite define col2 = mean fvpercent
collect label levels result ///
col1 "N_wt/count" ///
col2 "Pcnt_wt/avg" ///
, modify
collect style autolevels result col1 col2 _dtable_test, clear
collect style header result[col1 col2], title(hide) level(label)
Comment