Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Calculating the sample size needed for population proportion estimation

    Dear users,
    I am new to Stata, and my question is: what is the correct procedure for calculating the sample size needed for population proportion estimation, given that p0 is the attended proportion and e the margin of error (alpha and beta may vary)? I did not find the procedure in the graphical interface of power and sample size analysis neither in the manual for executing commands from the prompt.
    Thank you in advance.

  • #2
    Hi Marco,

    I use a user-written package called svysampsi. To install, run this code in Stata
    Code:
     ssc install svysampsi
    After installation, type
    Code:
     help svysampsi

    Comment


    • #3
      for the built-in procedures, a general starting place is
      Code:
      help power

      Comment


      • #4
        For measuring a single simple proportion (no survey design effects etc.), you can just decide what precision is "sufficient" to answer your research/policy question, and iterate using cii. Then add say 5-10% for non-response, or missing data, and you should be all set.

        Code:
        cii proportion 100 20
        might be sufficient for some studies, but not for others.
        __________________________________________________ __
        Assistant Professor, Department of Biostatistics and Epidemiology
        School of Public Health and Health Sciences
        University of Massachusetts- Amherst

        Comment


        • #5
          Done. Thank you all!

          Comment

          Working...
          X