Announcement

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

  • Creating pweight

    Dear Forum members,
    This may be a basic task, but I can't seem to manage and it's giving me a massive headache. I want to create a pweight for my dataset. My co-author has created the code on SPSS and the values for the three variables are:
    gender 1 = .49 2 = .51
    ethnicity 1 = .63 2 = .12 3 = .06 4 = .11 5 = .08
    age 1= .12 2= .17 3= .17 4= .16 5= .38

    This is also in the SPSS code: ITERATIONS=20 CONVERGENCE=.0001 DELTA=.5 SHOW=NO

    Would anyone know how to create a Stata pweight? Any help would be immensely appreciated.
    Tom



  • #2
    That sounds more like the options to the command than the command itself. Remember that in SP'SS a command typically ends with a ;
    ---------------------------------
    Maarten L. Buis
    University of Konstanz
    Department of history and sociology
    box 40
    78457 Konstanz
    Germany
    http://www.maartenbuis.nl
    ---------------------------------

    Comment


    • #3
      Reporting iterations sounds more like raking existing weights than creating them. See

      Code:
      help svyset
      Depending on context, and who you ask, raking probability weights is a debatable issue.

      Comment


      • #4
        Thanks all - very kind of you. I'll continue my investigations...

        Comment

        Working...
        X