Hi,
I would need your help to retrieve numerical values from a tabulate, with weights (svy function). I already success to get percentage (from my binary variable, coded 1 and 0), but I can't get the confidence intervals back. I would like to put them in a matrix since I have a large number of variables (60-80).
For percentage value I success with this command :
"
svy : tab DurHebdBaseballBin, ci perc
ereturn display
matrix a = r(table)
"
But for confidence intervals values are differents from my original table (because of mean calculation while I have percentage for IC).
So my question is is it possible to get the data from a table with weights?
Table where I would like to retrieve the data :

I would like to export percentage value, lb and ub values in a matrix.
Thanks a lot for your help,
Jérôme
I would need your help to retrieve numerical values from a tabulate, with weights (svy function). I already success to get percentage (from my binary variable, coded 1 and 0), but I can't get the confidence intervals back. I would like to put them in a matrix since I have a large number of variables (60-80).
For percentage value I success with this command :
"
svy : tab DurHebdBaseballBin, ci perc
ereturn display
matrix a = r(table)
"
But for confidence intervals values are differents from my original table (because of mean calculation while I have percentage for IC).
So my question is is it possible to get the data from a table with weights?
Table where I would like to retrieve the data :
I would like to export percentage value, lb and ub values in a matrix.
Thanks a lot for your help,
Jérôme
Comment