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
using loop to replaceI am currently using the following code but i have been advice to use shorter codes. I tried using l…
Concatenation ignoring order and repeatsI have 6 categorical variables taking on one response per observation. These variables represent fie…
KHB command for mediation analysis Hello. I am using the user-written command "KHB" (Karlson/Holm/Breen) to run a mediation analysis (…
Time and region fixed effects (When is it appropriate to use c. and i. for the time trends?)I did come to realize that when controlling for time effects and region effects in a regular regress…
Concatenation ignoring order and repeatsI have 6 categorical variables taking on one response per observation. These variables represent fie…
Subscribe to:
Post Comments (Atom)
0 Response to splitting a string into a new variable
Post a Comment