Announcement

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

  • Missing variables using reshape wide command

    Hi,

    This is the command I'm using-
    reshape wide day_piece, i(farm) j(day_sales) string

    And this is the error I'm getting -
    variable day_sales contains missing values
    r(498);

    How can I ask stata what the missing values are? And how do I solve this error?

    Thanks.

  • #2
    -browse if missing(day_sales)- will show you the observations where day_sales has missing values. Then you can figure out why there are missing values there and what to do about them.



    Comment


    • #3
      It works - thank you!

      Comment

      Working...
      X