Hello,
I'm working with a dataset and I want to destring a variable. This variable is a string but with blank spaces. For context, when i type in codebook I get the following result.
Type: String (str15)
Unique values: 3,972 Missing "": 0/5,949
Examples: "78176 6"
"159120 2"
"239 4 2"
"321139 2"
I tried to destring it but it doesn't work and I get the message 'contains nonnumeric characters; no replace'. I'm not too sure how to proceed with this. Would really appreciate some help!
Related Posts with Help with destringing a variable
Statistically significant coefficient of zero in Poisson panel regressionHello Statalist members, i am analysing a firm panel where I am regressing the number of high skill…
I suppose something wronf with my codeI am running multiple regression with one categorical independent and six other variables. The datas…
Interpreting Dummy variable and constantHi everyone, I want to study the effect of private universities systems with high tuition fees on i…
using egen's max function with a localHello! I am Nithya. This is my first post, and i've tried to follow the advice on posting. But plea…
Replicating Spatial Regression (with Spatially correllated disturbances) on MataHey guys, So I am trying to solve the following model in Mata: y = x + u u = rho*u + e This regr…
Subscribe to:
Post Comments (Atom)
0 Response to Help with destringing a variable
Post a Comment