Announcement

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

  • OLS on survey data

    Dear All,

    I have run an ols model on survey data. Is it possible to perform a robustness check.

    svy: reg y x1 x2, robust is not working. Would anyone suggested another command?

    Thanks

  • #2
    You'll increase your chances of a useful answer by following the FAQ on asking questions - provide Stata code in code delimiters, readable Stata output, and sample data using dataex. Being able to replicate your problem can be essential to helping you. Also, being absolutely sure about what you entered and what Stata returned are likewise helpful.

    The regress documentation says you use vce(robust) not just robust.

    Comment


    • #3
      I'm fairly certain vce(robust) as an option for -regress- does not work with -svyset- data using the -svy:- prefix. The reason is because the declaration of -svyset- will specify it's own method of variance estimation, such as the Taylor series linearized method.

      Comment


      • #4
        Thank you Leonardo, you are right it did not work. Many thanks

        Comment

        Working...
        X