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
Related Posts with More mathematical functions like sigma & integral
How to compare regression models for survey data?Usually, we use the AIC value (estat ic) to compare regression models. But estat ic command doesn't …
Having Two Margin Plots on One GraphHi everyone. I am struggling with a presentation issue. I have run a probit regression and I am coll…
Split a string into numbers and graphHi everyone, I have a string variable in Stata called runningdays. It denotes all of the days in wh…
Compute standard errors with command xtregHi everyone! When we have panel data, we have to take into account that the observations are not in…
Row MedianHello, I have daily panel data over several years and for several stocks. For each day and for each…
Subscribe to:
Post Comments (Atom)
0 Response to More mathematical functions like sigma & integral
Post a Comment