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
How to run a good analysis of estimators for panel data model?Good morning the community. I am investigating the relationship between intangible asset (dependent…
Panal data regression with vce robustHi, I'm want run a regression analysis on panel data from a time period 1997-2015. I ran the follow…
Why would using the log of a variable as a dependent variable solve statistical problems?. …
How to count the number of the multiple observations into the same group onceHi all, I just a beginner using STATA and I need an help to solve a problem that probably seems simp…
Difference between vce(robust) and vce(cluster ind) in cross-sectional modelDear Statalisters, I have a question regarding the use of vce(robust) or vce(cluster ind) for my cr…
Subscribe to:
Post Comments (Atom)
0 Response to Euler's Number in Stata
Post a Comment