Hello everyone!
I am new in this forum. I face a problem with the following:
When I write
gen Demp = log10( numberofemployees/L. numberofemployees)
stata produce results
(718 missing values generated)
However, when I write a similar equation
gen Dincome = log10( operatingrevenue/L. operatingrevenue)
it gives me back
type mismatch r(109).
I have tested the data with "destring, replace" and I am sure that all data are numeric.
Any ideas for my issue?
Thank you in advance!
Related Posts with Problem with similar equation (gen)
creating new variables for duplicates observationsHi All, Please I would like to ask you help. I have an unbalanced panel with id, months, years, cour…
Converting String Variables QuestionsHello everyone,
I am hoping that you all may be able to help with a question that I have been unsucc…
Fixed effects vs random effect (NBM) and stata commandI am investigating the effect of Human Development Index (country level Independant variable) on Neg…
Problem Regarding Ommited Variable in Fixed Effects ModelHello everyone, I am currently in my thesis about Sustainability Reporting Quality. Basically i want…
gen with differences between observationsDear all,
I have the following dataset.
I am trying to create a variable that generates 1 when the …
Subscribe to:
Post Comments (Atom)
0 Response to Problem with similar equation (gen)
Post a Comment