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)
Problem with interpreting coefficients interaction termsDear all, I currently am stuck with a theoretical question, and was wondering whether any of you ma…
Multiple fixed effects for Binary outcomes model with Cross Sectional DataHello Statalist, I'm currently analyzing cross-section data of individual loans originated by 2 ban…
Equal slope t-testHello, I ran two seperate regressions on two portfolios. The regressors are the Fama/French Factors…
Methodological advice - obtaining panel data from census data: is it possible and how?I'd like to ask members of Statalist for methodological advice. I have found data on the spending w…
event analysis using percentiles in stataHi All, I have a dataset for event study and I am trying to normalize the median by setting t-1=1 so…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with similar equation (gen)
Post a Comment