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
Cross sectional dependenceGood Morning, What is the difference between xtpcse and xtscc? My data: - N>T; - Problems: cro…
Multiple catplot graphs in oneDear all, I have two categorical variables, which have exactly the same categories. I want to graph…
Interpretation of variables in panel data set.I'm conducting some research for my dissertation on the relationship between military spending, arms…
Calculate cumulative abnormal announcement return (CAR)Dear all, I am a Stata learner and have some problems related to the calculation of CAR. My data in…
Pooled Panel or Cross Sectional DataGood Morning I have a query regarding a data set I am handling. I am trying to see the out migration…
Subscribe to:
Post Comments (Atom)
0 Response to Euler's Number in Stata
Post a Comment