I get an error message that my j variable is not present but it is.
. reshape wide *, i(quest_number) j(year)
(note: j = 14 15)
variable year not found
r(111);
. describe year
storage display value
variable name type format label variable label
---------------------------------------------------------------------------------------------
year byte %9.0g year
. tab year, missing
year | Freq. Percent Cum.
------------+-----------------------------------
14 | 774 50.00 50.00
15 | 774 50.00 100.00
------------+-----------------------------------
Total | 1,548 100.00
Can someone tell me why?
Related Posts with reshape wide not recognizing j variable
How can I access, and refer to the panel and time variable in a dataset that has been -xtset- ?Good morning, I am writing some program that is working on data that is -xtset-. In the program I n…
Publishing Regression Coefficients and Elasticity in the same reportHi Statalisters! Beginner here. I ran several regular (OLS) regressions and calculated the elastici…
reghdfe - difference between robust and cluster errorI ran a regression with reghdfe on multiple imputation datasets, The data includes 500 organizations…
twoway by group titlesHi there Does anyone know how to rename the titles of each graph when using the by() option? For e…
Comparing coefficients from two ivregress models from two different samplesThis is similar to a question that has been asked before previously: Testing for significant differe…
Subscribe to:
Post Comments (Atom)
0 Response to reshape wide not recognizing j variable
Post a Comment