Announcement

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

  • Summary statistics with pweights

    Hello is it possible to get summary statistics using pweights? Currently, I get an error term when I try to add weights. Is there a command I can install that would give me the same results as summ but with weights.

    Here is an example code:


    estpost summ self_employ asian black ///
    hisp white education1 education2 education3 education4 education5 immigrant age child homeowner high_ind* region_*

  • #2
    I don't know anything about estpost, but you can certainly -svyset- the data and then use the -mean- command; see
    Code:
    h svyset
    h mean

    Comment


    • #3
      This is unhelpful.

      You don't show the precise error Stata issued, or give any example data to with (emphasis on the data, not just the code). We ask for these things for the specific reason that we can help you.
      Last edited by Jared Greathouse; 10 Jun 2022, 20:21.

      Comment


      • #4
        See this FAQ
        https://www.stata.com/support/faqs/s...ry-statistics/

        Comment

        Working...
        X