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
Plot different variables in panel dataDear all I want to plot two different variables in my panel data and merge it in one graph Such as …
Multiple imputation for handling missing data in multiple covariatesDear All, While adapting multiple imputation in longitudinal datasets to handle missing data in mul…
Generating observation in statahey all, Can anyone help me to generate 1000 observation of the F distribution with parameters diffe…
testing for serial correlation in residuals of fixed effects model (xtqptest on reghdfe)I want to test for first order serial correlation in the residuals of this Stata regression model: …
Displaying a Complex TableGood morning everyone! I'm quite new to STATA and try to display a complex table, but even after ho…
Subscribe to:
Post Comments (Atom)
0 Response to changing string to float
Post a Comment