Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: power calculation graphs


From   Roger Newson <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: power calculation graphs
Date   Fri, 20 Aug 2010 12:24:00 +0100

An alternative to -sampsi- would be to use the -powercal- package, downloadable from SSC. The -powercal- package has a .pdf manual (distributed as an ancillary file) to explain the methods and formulas. See Newson (2004), which you can download from
http://www.stata-journal.com/article.html?article=st0074

I hope this helps.

Best wishes

Roger

References

Newson R. Generalized power calculations for generalized linear models and more. The Stata Journal 2004; 4(4): 379-401.


Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton Campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/

Opinions expressed are those of the author, not of the institution.

On 20/08/2010 12:06, Neil Shephard wrote:
On Fri, Aug 20, 2010 at 11:01 AM, Nikolaos Pandis<[email protected]>  wrote:

I am aware of the sampsi family of commands, I just did not know how to write the do file in order to calculate all the different values from the -sampsi- to use for the graph.

You might benefit from taking a Stata Net Course then.

I'd start with 101, see http://www.stata.com/netcourse/nc101.html

Or some of the resources at UCLA http://www.ats.ucla.edu/stat/stata/
as the use of loops is fairly common in programming Stata

Neil
*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index