Maarten,

Yes, I was referring to the user written command for "sizefx." Thanks for the suggestion on viewsource sizefx.ado!

Best,

Eric

>>> Maarten buis <

[hidden email]> 10/29/2010 11:33 AM >>>

--- On Fri, 29/10/10, Eric Howard wrote:

> I would like to calculate an effect size (Cohen's d) myself

> using an Excel file instead of using the sizefx command and

> was wondering how I can get n sizes, mean outcomes, and

> standard deviations from OLS (using reg command) regression

> output for my treated and comparison groups.

I assume you are refering to the user written command -sizefx-

that can be downloaded from SSC. Remember that the Statalist

FAQ asks everybody to report where they got user written

software from. This is in your own interest, as the answer

often depends on that information (i.e. which version of the

user written program you are using).

You can see how the computation is done if you type in Stata

-viewsource sizefx.ado-. This is a very short program and

well documented with comments, so reading it should not pose

a problem.

Hope this helps,

Maarten

--------------------------

Maarten L. Buis

Institut fuer Soziologie

Universitaet Tuebingen

Wilhelmstrasse 36

72074 Tuebingen

Germany

http://www.maartenbuis.nl
--------------------------

*

* For searches and help try:

*

http://www.stata.com/help.cgi?search
*

http://www.stata.com/support/statalist/faq
*

http://www.ats.ucla.edu/stat/stata/*

* For searches and help try:

*

http://www.stata.com/help.cgi?search*

http://www.stata.com/support/statalist/faq*

http://www.ats.ucla.edu/stat/stata/