Datasets for Stata Power and Sample-Size Reference Manual, Release 15

Datasets used in the Stata documentation were selected to demonstrate how to use Stata. Some datasets have been altered to explain a particular feature. Do not use these datasets for analysis.

To download a dataset:

  • Click on a filename to download it to a local folder on your machine.
  • Alternatively, you can first establish an Internet connection, and then, in Stata's Command window, type

      . webuse filename, clear

    to use the file. You could then save the file with Stata's save command.

power onemean

power onemean, cluster

power twomeans, cluster

power pairedmeans

power oneproportion

power oneproportion, cluster

power twoproportions, cluster

power onevariance

power twovariances

power onecorrelation

power twocorrelations

power oneway

power twoway

power repeated

power oneslope

power rsquared

power pcorr

power cmh

power mcc

power trend

power cox

power logrank

power logrank, cluster

StataCorp gratefully acknowledges that some proprietary datasets in the reference manuals have been used in our printed documentation with the express permission of the copyright holders. If any copyright holder believes that by making these datasets available to the public, StataCorp is in violation of the letter or spirit of any such agreement, please contact and any such materials will be removed from this web page.