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)
getting result of table command in excelI have given dataset with some viables because all the variables are not possible with dataex comman…
Heckman Model for Selection Bias with Panel DataHello everyone, I am examining the relation between tax planning and firm value. My data is an unba…
Making Tables from Matrices using esttabI am trying to make a 2 rows, 3 columns table using esttab. Every item/observation in this table sho…
Country and years fixed effect vs RandomDear ALL. Thank you so much for you helps Please, I would like to know what my command means in this…
Fitstat in STATA 16Hi, I've just started using STATA, apologies for my very basic question. I'm trying to obtain Odds…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with similar equation (gen)
Post a Comment