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
how to assess the effects of confounders in an associationHi everyone I am trying to answer a question if there is a causal effect association between two va…
Bar GraphsHello, I need a bar graph, Horizontal bar. Using Categories function, tax 0 is 1st group, taxp5 2nd…
Referencing local variable in nested foreach var of varlistHi, I would like to do something which I believe is fairly simple, but I can't get the syntax corre…
How do I obtain prevalence ratios using the logistic command?I am using the "logistic" command to estimate a binary outcome (yes/no response, cross-sectional sur…
Rounding the coefficientsDear Researchers, I am sorry, my question may sound silly, but I searched for the answer and the an…
Subscribe to:
Post Comments (Atom)
0 Response to changing string to float
Post a Comment