I have been trying to reshape my data from wide to long
This is an example of how it looks like:
IdentifierRIC Cash0 Cash1 Cash2 Assets0 Assets1 Assets2 id
AGRO.BA 999 8888 999 000 999 1336661 1
ALUA.BA 7007 77042 5827 7376 6368 5510 2
AUSO.BA 3498616.1 7850334.5 3237908.4 5679970.5 3
BIOX.BA 2119 1256700 58430 2249700 18160 4
BOLT.BA 81237.113 98389.677 55871.863 70212.498 75644 5
I am using:
reshape long id Cash Assets, i(Cash Assets) j(year)
but I keep on getting:
Cash variable not found.
Please help. Thank you.
Related Posts with Reshape wide to long variable not found
Bootstrapping in parallelUsing Stata, is there any convenient way to bootstrap in parallel? Although Stata/MP does some thing…
Repeated time values within panel when trying to create new variableHi, I am trying to create a variable called "fempstat" which measures an individual's employment sta…
Date format using month and yearHi, I am trying to make a new variable called "date" using the month and year in my dataset. The var…
Asking for the explanation of the result of DDD ?I am following Stata package to run the did_imputation of Borusyak,2021 in using the DiD imputation …
Syntax QuestionDear all, I have the following data merged (industry level data and trade at the industry level at …
Subscribe to:
Post Comments (Atom)
0 Response to Reshape wide to long variable not found
Post a Comment