File restructure #2

This commit is contained in:
2024-04-19 16:48:36 +02:00
parent ecac05b9c4
commit 0e9e01eca8
702 changed files with 272561 additions and 1 deletions

View File

@ -0,0 +1,12 @@
program define whist, rclass
version 9 /* si chgt version*/
syntax varname [aweight iweight fweight pweight/] [,title(string)] /*pond posssibles*/
di "varname :`varlist'"
tempname varpond
qui su `exp' if `varlist'!=.
qui gen `varpond'=`exp'/r(sum)*100
label variable `varpond' "fr<66>quence"
label variable `varlist' "`varlist'"
graph bar (sum) `varpond', over(`varlist') blabel(bar, format (%4.1f)) title(`title') ytitle(pourcentage) b1title(`varlist')
end