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
regression of the panel data: dependent variable and independent variable is the same variable in different groupHi, I am now running a panel regression, for example, return in year 2018=c+return in year 2010-2017…
fix effect and clustering residualsHello all, I have a panel of prices of 4 products, in 200 towns, posted by 20 compnies for 12 month…
Sts graph truncateCiao, I am conduct survival analysis and need to truncate x-axis. The survival time data I have obta…
3SLS with non-continuous endogenous variablesHello Everyone, Much thanks for the opportunity provided for clarification of doubts and guidance on…
Interpretation of Interaction termsDear Statalisters I run following regression for panel data of children: PPVT being a test score, a…
Subscribe to:
Post Comments (Atom)
0 Response to Euler's Number in Stata
Post a Comment