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
CPS monthly data coding suggestion for matching indivudual over timeHello stata community, I have been working with CPS ASEC data for over a couple of months but now I…
Interpretation Kleibergen-Paap, Cragg-Donald and Stock-Yogo weak IDDear users, for my thesis I'm working with an IV regression, where I try to see what effect stock o…
Calculate a new variable using values of a country´s region excluding the country being mesuredHello, I would like to create a new variable that is an average (weekly) of the "stringency" (examp…
Help with Estout table showing 3 values vertically, in 3 rowsHi, I am trying to get my table to look like the following in a .tex file, using estout. This shows…
Matching based on propensity score taking care of yearDear statalisters I'm facing with a lot of difficulties to implement matching with propensity scores…
Subscribe to:
Post Comments (Atom)
0 Response to splitting a string into a new variable
Post a Comment