Hello, I am using Parliamentary Constituency codes (variable name _pcon) in my dataset which begin with either E, S, N, W dependent on if the constituency is in England, Scotland, Northern Ireland or Wales respectively. The variable type is a string. I have made several attempts to destring the variable in the usual way however have been unsuccessful. I suspect this is because of the letter at the start of each observation? I was wondering whether there are possibly any suggestions as to overcome this? Many thanks.
Related Posts with Is it possible to destring a variable which starts with a letter?
Could I winsorise at 1% and 99% levels for a sample of 500 observations?Dear all, I have a sample of 500 observations. I detect some outliers of my dependent variable. …
dyndocI try to export a graph to a html,but i failed.The html could be opened,but the graph is not shown.I…
Should I use Fixed Effect when using data of population?Good Afternoon, everyone. I would like to ask about choosing the right model when we use data of po…
missing valures imputationHi all, I am trying to impute my missing values but i i get an error message i can't figure out what…
Inter rater reliability with missing observationsHi everyone, I am trying to calculate inter rater reliability for my data but am struggling due to …
Subscribe to:
Post Comments (Atom)
0 Response to Is it possible to destring a variable which starts with a letter?
Post a Comment