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
Problem with ado update: host not foundI just got the following Mata error message when running ado update: Code: . ado update note: ado u…
estimates of variances in esttab for all the levelsI'm running a multilevel mixed model with: eststo: xtmixed y x1 x2 || country: || household:, reml e…
Function HandlesIs there something similar to MATLAB's function handles in MATA? It seems like it would be similar t…
How to fix error "outcome does not vary" for OR and logistic regressionDear all, I have been struggling to solve this. I imported data from excel file. And have a variabl…
stack data?Dear All, I have this data set. Code: clear input int A str12 B str9(C D) str18 E str9 F str15 G st…
Subscribe to:
Post Comments (Atom)
0 Response to More mathematical functions like sigma & integral
Post a Comment