sampsi_rho calculates either the sample size or power for a Pearson correlation. The formula for sample size is ((Za+Zb)/(delta))^2 + 3 where delta is the difference between test value and the null value, Za is the signficance Z-value and Zb is the power Z-value. The correlations are transformed using the Fisher z transformation 1/2ln((1+rho)/(1-rho)) this z is normally distributed with a standard deviation of 1/sqrt(N-3).
Download Info
To download:
If you experience problems downloading a file, check if you have the
proper application to
view it first. Information about this may be contained
in the File-Format links below. In case of further problems read
the IDEAS help
file. Note that these files are not on the IDEAS
site. Please be patient as the files may be large.
Publisher Info
Software component provided by Boston College Department of Economics in its series Statistical Software Components with number
S456774.
Size: Programming language: Stata Requires: Stata version 9.0 Date of creation: 11 Oct 2006 Date of revision: Handle: RePEc:boc:bocode:s456774
Note: This module may be installed from within Stata by typing "ssc install sampsi_rho". Windows users should not attempt to download these files with a web browser. Contact details of provider: Postal: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA Phone: 617-552-3670 Fax: +1-617-552-2308 Email: Web page: http://fmwww.bc.edu/EC/ More information through EDIRC