Greetings Stata community,

Am using Stata version 13. I would like to perform a chi-square test for the variables v024 and v013 - both of which are categorical. I want to have the results weighted. When i entered this command ( ta v024 v013, chi2 row [iweight=wt] ) the message returned by Stata was option [ not allowed. Kindly help me with the right command to use. Thank you.

Vincent