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
Randomly select contents from one variable in listHello, For each observation, I have up to six variables that describe a potential location (x1-x6).…
Does a dofile have meta-data (like a word document) that says something about it's creator?I will upload a dofile for an anonymous submission to a journal. However, I cannot seem to find out …
How to know the fractional polynomial used in twoway fpfitciGreetings Stata Users & experts, I'm currently reviewing some of the methods to graph relations…
How to do the calculation of matrix mutiplying databaseHi Stata users, I have some problems with the calculation of matrix with database. For example, I h…
Replacing missing values within a variable with true value based on an ID - Seeking efficient solution.Apologies in advance for a somewhat convoluted title for the post. I have already solved the problem…
Subscribe to:
Post Comments (Atom)
0 Response to Reshape wide to long variable not found
Post a Comment