Maarten Buis The controls need not be dummies.
-
Login or Register
- Log in with
more: reg y treatment x1-x475, robust
more: reg y treatment x1-x475, robust
*! version 1.0.0 26apr2023
program set_more_on
version 17
gettoken colon zero : 0 , parse(":") quotes
if (`"`colon'"' == ":") local 0 : copy local zero
local more_was `c(more)'
nobreak {
set more on
capture noisily break version `= _caller()' : `0'
local rc = _rc
set more `more_was'
}
exit `rc'
end
set_more_on : reg y treatment x1-x475, robust
Yang DS, Dalton JE. A Unified Approach to Measuring the Effect Size Between Two Groups Using SAS. SAS GlobalWhen I type ssc describe stddiff into the Stata command line, information does appear for me...but not for you?
Forum 2012. Paper 335
This link, found via Google Scholar, worked for me: https://citeseerx.ist.psu.edu/docume...46a391c255581b
Yang DS, Dalton JE. A Unified Approach to Measuring the Effect Size Between Two Groups Using SAS. SAS GlobalWhen I type ssc describe stddiff into the Stata command line, information does appear for me...but not for you?
Forum 2012. Paper 335
This link, found via Google Scholar, worked for me: https://citeseerx.ist.psu.edu/docume...46a391c255581b
. webuse population
. stddiff age, by(sex)
------------------------------------------------------------------------------
| sex=Female | sex=Male |
| Mean or N SD or (%) | Mean or N SD or (%) | Std Diff
-------------+-------------------------+-------------------------+------------
age | 36.37 9.4611 | 36.97 9.5298 | -0.06312
------------------------------------------------------------------------------
. esize twosample age, by(sex)
Effect size based on mean comparison
Obs per group:
Female = 712
Male = 288
---------------------------------------------------------
Effect size | Estimate [95% conf. interval]
--------------------+------------------------------------
Cohen's d | -.0632182 -.2001015 .0736969
Hedges's g | -.0631706 -.1999511 .0736415
---------------------------------------------------------
Comment