Hi all, greetings! I have a variable named "pcgdp" stored as string. Observations are numeric values. Some observations are missing and indicated by double dot "..". I want to convert it to numeric form. Executing the command "destring pcgdp, replace" returns the following: "pcgdp contains nonnumeric characters; no replace". Any help will be greatly appreciated.
Related Posts with changing string to float
couple id, family panel dataDear stata users, In my data I have children, mother and father. There is one record for the child, …
Free Causal Data Science MeetingThis might be of interest to the Stata community: Free causal data science meeting November 15th &a…
Fgls/gls/wlsHi Experts If we don't assign weights to FGLS/WLS/GLS model then ; Are those results correct? (with…
Intercept / pseudo r-squared after mimrgnsHello everyone I do have a question about how to get the intercept in a mixed logistic modell with…
Individual trend instead of individual fixed effects?Dear All, I have a more general question, that I would like to discuss with you: In a pooled model …
Subscribe to:
Post Comments (Atom)
0 Response to changing string to float
Post a Comment