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
(Two-Way) Fixed Effects Model: (Too) Many Post-Treatment Waves & Violated Constant Effect Assumption?Hi, I would be really very grateful for any suggestion on the following topic. I already searched q…
Converting Date formatGreetings. I'm having a challenge converting the date formats with slashes "2/9/2016 14:06" (m/d/yyy…
How to create dummy variable with condition that it needs to have 3 observation in 5 years?I have a question how to create a dummy variable with certain conditions. I know how to create a dum…
Estimate GARCH Model from Time SeriesHallo, I am a student and new to Stata. For a university course I have to model a GARCH model from …
One-sided t test regressionHello everyone, I don't have much experience with STATA and I'm working on my master's thesis. I wo…
Subscribe to:
Post Comments (Atom)
0 Response to More mathematical functions like sigma & integral
Post a Comment