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)
Portfolio analysis, measuring re-occurence and making panel data from repeated time values within panel (r451)Hello, First post, here goes: I have data as follow: Firm_ID Year SICCode EquityAmount Invested…
How to plot multilevel coefficients from mixed ? Can you use coefplot? If not a loop? macro?Hello Statalist & happy holidays! I need to plot the curves from my mixed analysis. But I'm not…
Local holding list of model specificationsHi, I was hoping someone might have a more elegant solution for the following issue. I'm running a …
Correlation between two matricesHi, I have 4 variables called x, y, x1, and y1. I define two matrices called A and B as A=[x y] and…
Splitting sample by dependent variableDoes it ever make sense for one to split their sample by values of the dependent variable and then r…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with similar equation (gen)
Post a Comment