# st: Re: Power calculation for regression

 From Roger Newson <[email protected]> To [email protected] Subject st: Re: Power calculation for regression Date Thu, 26 Feb 2004 15:41:52 +0000

```At 20:38 25/02/04 -0600, Scott Merryman wrote (in reply to John Wallace):
```
```There is a FAQ and a Stata Journal article on calculating power, both by Alan
Feiveson, which may be use.

Stata FAQ "How can I use Stata to calculate power by simulation?"
(http://www.stata.com/support/faqs/stat/power.html ) by Alan Feiveson

and

Stata Journal(2-2) "Power by simulation" by Alan Feiveson.

```
Another package that might help is my own -powercal-, which is downloadable from SSC and comes with a .pdf manual explaining the Methods and Formulas.

I hope this helps.

Roger

----- Original Message -----
From: "Wallace, John" <[email protected]>
To: <[email protected]>
Sent: Monday, February 23, 2004 12:36 PM
Subject: st: Power calculation for regression

> Dear Statalisters
>
> I'm putting together a prospective protocol for a long term stability study
> (26 months) that will ultimately yield a series of 17 data points over time.
> Each data point will be an average of 5 replicates from a test. I
> anticipate plotting a regression of average intensity (the test result)over
> time, to yield a linear equation. Is there a common test for inferring an
> effect due to time, such as rejecting a null hypothesis of slope=0? Can I
> calculate power? Are five replicates at each point sufficient?
>
> Thanks for any guidance - even if its RTFM (though a pointer to a specific
> section would be appreciated - the help file for -regress- is dizzyingly
> large)
>
>
> John Wallace | Research Associate | Test Method Development
> AFFYMETRIX, INC. | 3380 Central Expressway | Santa Clara, CA 95051 | Tel:
> 408-731-5574 | Fax: 408-481-0435
> *

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
```
--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://www.kcl-phs.org.uk/rogernewson

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

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```