Hello all,
I have a list of 250+ schools and want to create a variable that takes the first letter from each word in the school name string.
For example:
If a school is named Lady Irwin School, I'd want to keep just LIS. If a school is named Cama Road English Primary School, I'd want to keep CREPS.
How should I go about doing this?
Thank you in advance!
Related Posts with Creating new variable keeping just the first letter of each word in a string
Values of a variable as label of values of other variableI have 2 variables, X1 and X2 and I want to use the values of X2 as label for the values of X1: X…
Applying Arellano-BondHello everyone, My regression looks in the following way: yit=a0 + a1xit + a2Dit +a3Lit + a4mit + …
sort with xtabond2Hello all, What's wrong with command ? by COUNTR (BANK YEAR), sort: xtabond2 ROA L.ROA GRTH MIX EFFI…
A question about "mi estimate: xtlogit"I tried to use multiple imputation to deal with missing values in a panel data and, then, do logisti…
observations deleted after extracting part of a string variableHi, I am working with the National Longitudinal Study of Youth 1997. The set of variables yempid den…
Subscribe to:
Post Comments (Atom)
0 Response to Creating new variable keeping just the first letter of each word in a string
Post a Comment