Is it possible to destring/encode a variable from string to numeric without changing the variable name? And if so, how to do that?
I have tried this: destring coil_use, replace ignore("chars")
coil_use: contains characters not specified in ignore(); no replace
Related Posts with Need help with destring/encode variable without changing name of the variable
Counting values in long datasetHello, I have a long dataset wherein each observation represents either a hospitalization or ED vis…
Comparing the regression Coefficients in a Fama-Macbeth Regression- t-statisticDear Stata Community: I am trying to estimate the Fama-Macbeth regression. sort year egen nogap=grou…
GLM model with Gamma distribution and log link - residualsDear all, I am new to running the GLM model in Stata. I have healthcare data which is positively ske…
Web scraping / string parsing helpHello, I'm trying to scrape a webpage, and have imported html code as one variable and am trying to…
Fitting the basic AIDS model using nlsurHi, I wrote a program to estimate almost ideal demand system with demographic variables. I modifie…
Subscribe to:
Post Comments (Atom)
0 Response to Need help with destring/encode variable without changing name of the variable
Post a Comment