Announcement

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

  • Three way tables using svyset

    Hello,

    I am using Stata 13 and I have a question regarding three way tables while using complex survey data. My dataset is weighted and stratified and I would like to make a three way table. Unfortunately, the table command doesn't work for svy.

    I have tried:

    Code:
     svy: prop var1, over(var2 var3)
    However, the proportions this command provides me with are the proportions of a given group within a group of var1, and I would like to know the proportion of this given group over all observations. Would this be possible?

    Thank you!

  • #2
    Have you tried the user-written command -tabout- with the survey option?
    Jorge Eduardo Pérez Pérez
    www.jorgeperezperez.com

    Comment


    • #3
      Tabout (SSC install tabout) has settings specifically for survey tables.
      For examples of tabout tables visit the official on-line gallery and consult the User Guide (skip down to chapter 3; chap 6 has survey tables). A similar Tabout user guide is available at ResearchGate (you may need to register to download it). But it has a number of really nice tables / crosstabs of survey data (& the Stata code to create them). Link

      Comment

      Working...
      X