Hi
in my dataset, I have a variable called AllAvailableHoldersOwned which states the ownership data of a company. It is already sorted on every line from highest to lowest. All observations look like this:
The Vanguard Group, Inc. (6.88); BlackRock, Inc. (NYSE:BLK) (6.36); Steven M. Rales (6.06); ........
I want to separate the highest ownership percentage from each observation. so for this observation, I would like to generate a variable which states that for this observation the highest ownership is 6.88:
sorry for not including a dataex example. My stata said that the observation has too many characters in them to use the command.
Thanks in advance
Related Posts with splitting a string into a new variable
Fixing X-axis on dotplotHi, I am having some trouble with the X-axis on my dot plot. The Y-axis is the different patients …
Interpretation of triple DDD results and margins commandsI'm trying to test and interpret the triple DDD results, but I'm not so sure whether I'm doing it co…
Stata 16 file open does not show filesDear All, I have encountered that the file open dialog of the do-editor does not show some files in…
Creating new VCE matrixHello, I am runnning the following model Code: sem(M<-T C1 C2 C3)(Y<- T M C1 C2 C3) and I g…
how to create histogram for sub-samples by year averages?Dear all, I use Stata16 and will appreciate any help with creating comparative histogram by the 5-y…
Subscribe to:
Post Comments (Atom)
0 Response to splitting a string into a new variable
Post a Comment