I have a string variable that I want to change to numeric but I can't. Can you help me please
storage display value
variable name type format label variable label
----------------------------------------------------------------------------------------------------------------
d1 str18 %18s type de culture
destring d1, replace
d1 contains nonnumeric characters; no replace
Related Posts with converting string variables to numeric
Graph bar axis and labels issuesI am trying to create a graphbar using Code: graph bar (percent) if account_formal==1, /// over(fe…
Plotting coefficients using marginsplotHello Statalist users, I run the following code to produce this figure: Code: eststo: reghdfe…
Matching loan data with firms dataDear Stata community readers, I’m matching firms loan data with firms accounting data in an internat…
SFTFE command errorHi, I am trying to run the command "SFTFE" for the stochastic frontier function with heteroscedastic…
Calculating average of observationsconditional to Id and yearHello I have a fairly tricky question which might either have a very simple solution I fail to see o…
Subscribe to:
Post Comments (Atom)
0 Response to converting string variables to numeric
Post a Comment