Hi Statalists!
This will be my first posts, but I have been lurking around this forum for a while looking at answers provided to questions similar to ones I have had about Stata.
Currently I am working with a dataset with a large number of stock trading observations. After having cleaned up part of the data I now wish to extract all the unique cusip id's (= a string variable). Using: levelsof cusip, clean Stata shows the unique values I wish to export. However when trying to get Stata to export this into an excel file via putexcel (A1) = (levelsof cusip, clean) is gives an error saying levelsof not found. I suspect that this means that it it not possible to export the results of levelsof via this method but am not sure as I am still quite new to Stata. I hope someone here is able to help me export the unique id's and enlarge my understanding of Stata.
Kind regards,
Pim
Related Posts with Export output of levelsof
HGLM - Model 2 level variables not siginificant but postestimation plot shows variationGood day, I am using a two level HGLM model model 1 - Level 1 variables have significant effect on …
convert hexadecimal to binaryI have variables whose values come as hexadecimal strings 32 characters long as a rusult of an md5 h…
Combinations of binary variablesHello, I have a dataset with 10 variables and 5 binary variables (A, B, C,D,E). I'm trying to get a…
Happy birthday to statalist.orgStatalist re-invented itself as a forum on March 31, 2014. That doesn't sound that long ago, but in …
Robustness checksDear statalist, I am running a bootstrap on an OLS model with the dependent variable being log(maxi…
Subscribe to:
Post Comments (Atom)
0 Response to Export output of levelsof
Post a Comment