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
Interpretation of multiple interaction model (diff-in-diff)Hi, I have made a diff-in-diff model for the returns of high rated ESG firms vs. low. This model in…
Merging long format or longitudinal datasetsDear All, Trying to merge two longitudinal datasets is repeatedly giving following errors: 1) varia…
Fixed Effects and Dummy VariableHi, I have a question related to using dummy variable in fixed effects model. The data set I used i…
Wild cluster bootstrap problemHi everyone, I am estimating an instrumental variable model with time fixed effects and region fixe…
Wild cluster bootstrap problemHi everyone, I am estimating an instrumental variable model with time fixed effects and region fixe…
Subscribe to:
Post Comments (Atom)
0 Response to splitting a string into a new variable
Post a Comment