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
Count number of distinct cases by groupHi Stata Users, I am using Stata version 15 to calculate the number of distinct cases (firm) by a gr…
Two-way graph of longitudinal dataI have the following data below with pre-treatment data (denoted with the negative times) and post-t…
Can marginal effects at the mean be likely greater than one?Dear friends, I am confused if marginal effects at means be likely greater than one? Code: sysuse …
Structural break for time series dataHello everyone, I have a question on structural break based on this. After having tested my time ser…
Missing variables in panel dataDear all, I am currently working on a panel data with a dataset from 1999, 2008 and 2017 In my lin…
Subscribe to:
Post Comments (Atom)
0 Response to converting string variables to numeric
Post a Comment