Hi All,
I am new to Stata and getting hands on it by using the data. I have cross sectional data for around 90 countries, I want to create dummies for the Countries, but I am getting error that "string variables may not be used as factor variables"
how can I address this problem.
Thanks in advance if any one can help me with this.
Related Posts with Non-numeric String variable
Importing problem BRFSS SAS file post 2014I'm working with BRFSS data 2010-2015. Before 2014, I could open it by clicking the import option an…
Generating squared difference within group variableHello, I have the following stylized dataset: Code: * Example generated by -dataex-. To install: …
How to rename around 200 rows of a matrix simultaneously or in iterationHi, I'm very new to Stata and I've searched and tried answers for this question for three hours. I'm…
Generating date variables based on ID and yearDear Statalist community, I am working with a panel data set on armed conflict (UCDP/PRIO Armed Con…
Interpreting margins command for log transformed IV and DVHi, I am using panel data for US companies for the period 2000-2019. My research involves studying …
Subscribe to:
Post Comments (Atom)
0 Response to Non-numeric String variable
Post a Comment