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
Intuition on why Fixed-effects models depend on there being variation within the unit of analysis.I am new to econometrics and tried to find the answer on google, but couldn't find any. I've learned…
how to calculate the moving average for a variableDear all I am trying to calculate the average bond maturity over the preceding three months as an i…
Ask experts for help:how to set the prior of regression coefficients that follow dirichlet distribution in bayes modelHello, statistics experts, I have a question that troubles me for long time. My purpose to estimate …
EFA-Factor AnalysisHello, I have survey data where five main factors and each factor has a set of questions. As we kno…
Doubt with daily dates and x-axisGreetings, I am working with a database and I have two doubts: 1) is there any way that in the x-a…
Subscribe to:
Post Comments (Atom)
0 Response to changing string to float
Post a Comment