Hello, I have not been able to figure out a solution and was hoping that someone on this forum could help.
I have long data where j is a %td variable that starts prior to 1960. Specifically, my j variable is called mcaldt and it includes 31dec1925, 30jan1926, ... 31dec2013.
When I try:
reshape wide tmtotout tmpubout, i(kytreasno) j(dm)
I get a message:
(note: j = -12419 -12389 -12361 -12329 .... 19662 19691 19723)
tmtotout-12419 invalid variable name
Is this because in SIF format, dates before 1960 are negative values, and variable names cannot contain a "-" ?
Please advise how to get around this problem.
I have long data where j is a %td variable that starts prior to 1960. Specifically, my j variable is called mcaldt and it includes 31dec1925, 30jan1926, ... 31dec2013.
When I try:
reshape wide tmtotout tmpubout, i(kytreasno) j(dm)
I get a message:
(note: j = -12419 -12389 -12361 -12329 .... 19662 19691 19723)
tmtotout-12419 invalid variable name
Is this because in SIF format, dates before 1960 are negative values, and variable names cannot contain a "-" ?
Please advise how to get around this problem.
Comment