Debian Codegraph @

res/SubstitutionClasses/Heterogeneity/Half Normal

raw
1 global shapeParameterMu = 1;
2 global shapeParameterSigma = .5;
3 shapeParameterSigma:>0.0001;
4
5 sqrt2pi = Sqrt(8*Arctan(1));
6 category categoryPlaceholder = (rateClassCount, EQUAL, MEAN,
7 Exp((_x_-shapeParameterMu)(shapeParameterMu-_x_)/(2*shapeParameterSigma*shapeParameterSigma))/(sqrt2pi__*shapeParameterSigma)/ZCDF(shapeParameterMu/shapeParameterSigma), /* density */
8 (1-ZCDF((shapeParameterMu-_x_)/shapeParameterSigma))/ZCDF(shapeParameterMu/shapeParameterSigma), /*CDF*/
9 0, /*left bound*/
10 1e25, /*right bound*/
11 (shapeParameterMu*(1-ZCDF(-shapeParameterMu/shapeParameterSigma)-ZCDF((shapeParameterMu-_x_)/shapeParameterSigma))+
12 shapeParameterSigma*(Exp(-shapeParameterMu*shapeParameterMu/(2*shapeParameterSigma*shapeParameterSigma))-
13 Exp((_x_-shapeParameterMu)(shapeParameterMu-_x_)/(2*shapeParameterSigma*shapeParameterSigma)))/sqrt2pi__)/ZCDF(shapeParameterMu/shapeParameterSigma)
14 );