Hello everyone!
I would like to draw more mathematical functions on Stata.
I found following functions are very usefull.
twoway (function normalden(x), range(-4 4))(function normal(x), range(-4 4))
or
range x -4 4 1000
gen ynorm= 1/sqrt(2 * _pi) * exp(-1/2 * x^2)
integ y x, gen(Synorm)
gen ylogit = exp(x)/(1+exp(x))^2
integ ylogit x, gen(Sylogit)
twoway (line ynorm Synorm x) (line ylogit Sylogit x)
However I would like to draw a kind of following functions to understand more mathematically.
twoway (function 1/sqrt(2 * _pi) * exp(-1/2 * x^2), range(-4 4))
So I need more mathematical functions to directly enter Stata including integral, sigma, differential and so on.
Do you have any solutions?
https://en.wikipedia.org/wiki/Integral
https://en.wikipedia.org/wiki/Cumula...ution_function
0 Response to More mathematical functions like sigma & integral
Post a Comment