Computed theoretical power for N=100 and N=200 scenarios

This commit is contained in:
2024-02-19 18:35:26 +01:00
parent ac9189d26a
commit 238852b08b
704 changed files with 261610 additions and 187 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