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: sampsi for repeated measure t test


From   "Seed, Paul" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: : st: sampsi for repeated measure t test
Date   Wed, 2 Apr 2014 18:00:02 +0000

Dear Francesca, 


If I understand correctly, you have carried out a paired t-test,
and noted the actual means and standard deviations.

Something like 
	ttest x1 = x0

If so, you will also have the mean and SD of the difference.
This is all you need. 
Call them m_ and sd_

You can now carry out your post-hoc power calculation using 
	sampsi m_ 0, sd(sd_) onesample

However, I have to say it is a fairly pointless procedure.

My favourite quotation on this is getting a bit old now, but it is very much to the point.
And the article is worth reading.

"Although there is a growing understanding of the importance of statistical power considerations when designing studies and of the value of confidence intervals when interpreting data, confusion exists about the reverse arrangement: the role of confidence intervals in study design and of power in interpretation. Confidence intervals should play an important role when setting sample size, and power should play no role once the data have been collected, but exactly the opposite procedure is widely practiced. In this commentary, we present the reasons why the calculation of power after a study is over is inappropriate and how confidence intervals can be used during both study design and study interpretation."


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