Announcement

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

  • including weights in crosstab with percentages

    I want to crosstab two variables, using the weighted results and show the column percentages. Ideally, I'd also like to see the chi2. I've tried the following and it is not working... please advise?
    tab RwC_behav_rwc_at_home_3_1 gender_cl_1_3,col [iweight=weights]

  • #2
    Weights must always be specified before options, so before the comma. You won't get a chi-square test result unless your weights are integer frequencies and specified as frequency weights. The test isn't properly defined if that isn't true.

    Comment

    Working...
    X