Announcement

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

  • Reshape Wide Long Command giving error 498

    Hi

    I am trying to convert a wide-format data set into a long-format. The data are organized as shown below. When I type in the following command "reshape long sch, i(Period) j(school)" I receive this message:

    variable _j contains all missing values
    r(498);

    Any thoughts on how to correct?



    Click image for larger version

Name:	Screen Shot 2018-07-04 at 7.53.27 AM.png
Views:	1
Size:	151.6 KB
ID:	1451856

  • #2
    You need the string option. See

    Code:
    help reshape
    In future please do not show screenshots! https://www.statalist.org/forums/help#stata

    Comment

    Working...
    X