47 double p = (x<0.0)?
ndtr(x) :
ndtr(-x);
227 2.46196981473530512524E-10,
228 5.64189564831068821977E-1,
229 7.46321056442269912687E0,
230 4.86371970985681366614E1,
231 1.96520832956077098242E2,
232 5.26445194995477358631E2,
233 9.34528527171957607540E2,
234 1.02755188689515710272E3,
235 5.57535335369399327526E2
239 1.32281951154744992508E1,
240 8.67072140885989742329E1,
241 3.54937778887819891062E2,
242 9.75708501743205489753E2,
243 1.82390916687909736289E3,
244 2.24633760818710981792E3,
245 1.65666309194161350182E3,
246 5.57535340817727675546E2
249 5.64189583547755073984E-1,
250 1.27536670759978104416E0,
251 5.01905042251180477414E0,
252 6.16021097993053585195E0,
253 7.40974269950448939160E0,
254 2.97886665372100240670E0
258 2.26052863220117276590E0,
259 9.39603524938001434673E0,
260 1.20489539808096656605E1,
261 1.70814450747565897222E1,
262 9.60896809063285878198E0,
263 3.36907645100081516050E0
266 9.60497373987051638749E0,
267 9.00260197203842689217E1,
268 2.23200534594684319226E3,
269 7.00332514112805075473E3,
270 5.55923013010394962768E4
274 3.35617141647503099647E1,
275 5.21357949780152679795E2,
276 4.59432382970980127987E3,
277 2.26290000613890934246E4,
278 4.92673942608635921086E4
281#define UTHRESH 37.519379347
284double cumulativeNormal(
double x) {
285 return(0.5*erfc(-x*M_SQRT1_2));
302 y = 0.5 + 0.5 * cephes_erf(x);
312 y = 0.5 * cephes_erfc(z);
325static double cephes_erfc (
329 double p, q, x, y, z;
338 return 1.0 - cephes_erf(a);
345 fprintf(stderr,
"Error: Underflow\n");
388static double erfce (
double x)
405static double cephes_erf (
412 return 1.0 - cephes_erfc(x);
416 y = x * polevl(z, T, 4) / p1evl(z, U, 5);
Header file for libtpcmodel.
double normal_pvalue_1(double x)
double normal_pvalue_2(double x)