Announcement

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

  • Standard deviations

    Hi everyone,

    Can someone provide for me the equation that STATA uses to calculate standard deviations for binary variables?

    Thank you for assistance!

    Patricia

  • #2
    https://www.stata.com/manuals/rsummarize.pdf p.9

    Comment


    • #3
      Thanks Nick. I know the code to get the standard deviation. I am asking for the equation that the software uses to calculate it.

      Comment


      • #4
        Patricia:
        does the Methods section of -summarize- help?
        Kind regards,
        Carlo
        (Stata 19.0)

        Comment


        • #5
          The source in #2 gives the equation. The detail you probably seek is that n - 1 appears in the denominator, not n.

          Comment

          Working...
          X