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
GMM with multi-level moment conditonsHi all, I want to do a two-step GMM estimation with multi-level moment conditons (the objective fun…
can we order the variables after -egen- ? Code: egen progsvness=rowmean(techAdvt prodAdvt) order progsvness,a(prodAdvt) the cod…
I am shocked that Stata may not understand variable names literallyI have this simplest dataset. var new 0 1 Then I type tab va then it should throw me an error sa…
Log transform a variableIf we try to log transform a variable in STATA, why does the result(logX value) obtained differ from…
Bar charts: Percent on y-axis, absolute count over each bar?Hi, I'm making a bunch of barcharts, some using graph, some using catplot, like this: Code: grap…
Subscribe to:
Post Comments (Atom)
0 Response to Non-numeric String variable
Post a Comment