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
Svy mean for calculating averages using nsso dataI am currently working on the 75th round data NSS, where I need to use survey analysis. I wanted to …
Svy mean for calculating averages using nsso dataI am currently working on the 75th round data NSS, where I need to use survey analysis. I wanted to …
How do I obtain _b[] and _se[] at the same time from Bootstrap with panel data ?The structure of my data is a panel, under the command "xtreg", how can I derive _b[] and _se[] at t…
merging two data setsHi, I am trying to merge two data sets using two variables as the unique ID across both to join the …
"Hessian is not negative semidefinite" when using xtmixedHi, I am analyzing several waves of longitudinal dataset to see whether there are significant inter…
Subscribe to:
Post Comments (Atom)
0 Response to splitting a string into a new variable
Post a Comment