Hello,
I am trying to define a program with:
program define MC_3, rclass
version 15
clear
drop _all
set obs 200
gen x = runiform(0,5)
gen U = rnormal(0,100)
gen m = e^x - 4*(x^2)
gen Y = m+U
end
e is supposed to be Euler's number but it shows up as 'e not found'. How can I distinguish between e as Euler's number and e as a return command?
Thanks in advance,
Rayne
Related Posts with Euler's Number in Stata
QP/LM not found in xtqptestDear all, I'm trying to apply the "xtqptest" by Born and Breitung in my Panel Data analysis. As sug…
Reshape using j varname string as variable name outputHi Statalists! Currently I am trying to reshape daily returns data for S&P500 listed companies …
scatterplot with text labels for y and x?Dear All, I'd like to have a figure like below (need not to be exactly the same). Array I make up …
Export misstable to LatexHi, What options are available for exporting Stata's misstable to Latex? This was asked six years …
Thesis regressionGoodmorning all, For my masters thesis I have to do some cross-sectional regressions, using the mod…
Subscribe to:
Post Comments (Atom)
0 Response to Euler's Number in Stata
Post a Comment