Commit Graph

5028 Commits

Author SHA1 Message Date
Paul A. Bristow
7139c91d9b Added [h4 Statistical distributions] * Student's t Perhaps switch to normal distribution as a better approximation for very large degrees of freedom?
[SVN r3188]
2006-09-03 09:59:21 +00:00
John Maddock
e3e83796f1 Editorial and typo fixes.
[SVN r3187]
2006-09-03 09:26:39 +00:00
John Maddock
6c3c521a3c More linux fixes: finally got AMD64 machines to behave correctly.
[SVN r3186]
2006-09-02 17:56:22 +00:00
John Maddock
53a66a80de Typo fix.
[SVN r3185]
2006-09-02 16:16:25 +00:00
John Maddock
c7507da33d Fixed header block, re-added lanczos section.
[SVN r3184]
2006-09-02 16:07:07 +00:00
John Maddock
84829f74e3 Numerous minor patches to get tests passing on Linux x86 (32-bit) and HP-UX / itanium.
[SVN r3183]
2006-09-02 15:05:43 +00:00
Paul A. Bristow
0e4e5f14a6 editorial work on all files and some links to Mathworld and Wiki added.
[SVN r3182]
2006-09-02 14:02:34 +00:00
Paul A. Bristow
4ab7fd5a36 edtorial work on these qbk files - the rest still to do.
Mainly spelling & punctuation.


[SVN r3179]
2006-09-01 17:19:51 +00:00
Paul A. Bristow
008349025e editorial changes only except for text changed about significance & confidence level.
[SVN r3178]
2006-09-01 16:21:12 +00:00
Paul A. Bristow
0fe135e268 after JM correction to check_df comfirmed is OK, and added output from test.
[SVN r3177]
2006-09-01 13:20:40 +00:00
John Maddock
567dc1bd7d Updated error checks.
Removed dead code from error-handling test.


[SVN r3176]
2006-09-01 09:19:24 +00:00
Paul A. Bristow
aa5fca355c added newline at end of last line #endif // BOOST_MATH_DISTRIBUTIONS_CHI_SQUARED_HPP
to avoid fatal compile error.

Noted failure to throw 12 expected exceptions - will investigate why.


[SVN r3175]
2006-08-31 17:41:19 +00:00
Paul A. Bristow
5577b49a33 Spelling and a few comments & refs.
[SVN r3174]
2006-08-31 16:56:28 +00:00
John Maddock
dc70a06809 Added F distribution.
[SVN r3173]
2006-08-31 16:21:17 +00:00
Paul A. Bristow
fb79977d70 Spelling corrections and re-compile & run OK and add output.
[SVN r3172]
2006-08-31 15:19:32 +00:00
Paul A. Bristow
3f5d624b05 Comment added about big df and df = +infinity needing normal distribution.
[SVN r3171]
2006-08-31 14:32:05 +00:00
John Maddock
065b831b27 Test update
[SVN r3170]
2006-08-31 12:36:59 +00:00
John Maddock
4636c32fed Test corner cases and parameter estimator.
[SVN r3168]
2006-08-30 15:49:07 +00:00
John Maddock
a151830ed4 Fixed corner cases.
Implemented parameter estimator.


[SVN r3167]
2006-08-30 15:48:21 +00:00
John Maddock
fe2ae410b9 chi squared update.
[SVN r3166]
2006-08-30 15:45:46 +00:00
John Maddock
00a347bee0 Removed remaining old style distribution code (we can get it back from cvs if necessary).
Updated error handling.
Added better chi-squared tests.


[SVN r3165]
2006-08-29 16:41:07 +00:00
John Maddock
9a3ade1320 Refactored error handling a little more.
Added chi-squared distribution and tests.


[SVN r3164]
2006-08-28 12:52:08 +00:00
John Maddock
3f52d4029b Spellings !
[SVN r3163]
2006-08-27 09:32:00 +00:00
John Maddock
fa86c0c490 Updated docs.
Rewritten students-t parameter estimator.
Added binomial examples.


[SVN r3162]
2006-08-26 18:33:46 +00:00
John Maddock
9d7123eecf More or less completed normal/binomial/students-t distributions.
Updated docs and tests.


[SVN r3160]
2006-08-25 18:03:48 +00:00
John Maddock
99929b1023 Fixed binomial quantile, added complements, various subtle changes to corner cases, tidied up and removed dead code.
Fixed error messages in beta and gamma inverses.
Updated binomial test program, refacted cdf test cases to test cdf, quantile and complements in one hit.
Added accuracy tests for ibeta_inva and ibeta_invb.
Added more docs.


[SVN r3159]
2006-08-20 09:28:27 +00:00
John Maddock
0d03447123 Added overflow check.
[SVN r3157]
2006-08-18 09:39:30 +00:00
Paul A. Bristow
b95e6b469a 1st test pdf and cdf probably OK, but others not.
[SVN r3156]
2006-08-17 17:42:54 +00:00
Paul A. Bristow
a23806eb61 1st draft - pdf and cdf probably OK, but quantile etc are not.
[SVN r3155]
2006-08-17 17:40:55 +00:00
John Maddock
d40fa2fb99 Changed students-t quantile to be free from cancellation error.
Added ibeta_inv overloads that return both x and y.
Updated docs to match.


[SVN r3154]
2006-08-16 17:33:24 +00:00
John Maddock
a147f2aa58 Fixed typo in test result message.
Added ibeta inverse tests.


[SVN r3153]
2006-08-16 12:06:10 +00:00
John Maddock
ef43e16e47 Adjusted termination conditions to cope with very large first derivatives in some regions.
[SVN r3152]
2006-08-16 12:05:08 +00:00
John Maddock
f965af9da3 Updated incomplete beta code to calculate power terms in a more reliable way. Added explanatory comments describing what's going on.
[SVN r3151]
2006-08-16 11:40:38 +00:00
Paul A. Bristow
d66b96d4d6 Added #include <boost/cstdint.hpp> for uintmax_t
[SVN r3150]
2006-08-16 11:40:11 +00:00
John Maddock
2befb07120 Adjusted limits to avoid asserts.
[SVN r3149]
2006-08-16 11:39:11 +00:00
John Maddock
a7c3186b5a Added fix for cdf when degrees of freedom parameter is large.
[SVN r3148]
2006-08-16 11:38:07 +00:00
John Maddock
4ff84d85ab Added sample programs that generate test data for incomplete beta and gamma inverses.
Added asin to ntl.hpp: needed for incomplete beta inverse.
Fixed limits on table size in the incomplete beta.


[SVN r3146]
2006-08-14 17:29:59 +00:00
John Maddock
7e902a680e Added root-2 constant.
Fixed complement code so that constructors are used now.
Adjusted pre-formatted parts of tutorial.
Added normal distribution plus tests.


[SVN r3145]
2006-08-14 12:33:49 +00:00
Paul A. Bristow
24b13c2981 Comments & Quieted warnings and added test output
[SVN r3144]
2006-08-14 11:39:28 +00:00
Paul A. Bristow
463715c9e4 quieted warmings & added test output.
[SVN r3143]
2006-08-14 11:38:17 +00:00
Paul A. Bristow
eacc0ceb7c quieted warnings on unreachable code..
[SVN r3142]
2006-08-14 11:36:38 +00:00
Paul A. Bristow
c6e4a1aabc Quieted warning unreachable code.
[SVN r3141]
2006-08-14 11:35:20 +00:00
Paul A. Bristow
ee24bfd3ee comments and quieted of warnings unreachable code.
[SVN r3140]
2006-08-14 11:34:15 +00:00
John Maddock
4e98273785 Added upper cap on the number of iterations permitted in series evaluation.
Fixed beta function so it's better behaved with very large arguments.
Updated tests.


[SVN r3139]
2006-08-13 17:42:17 +00:00
Paul A. Bristow
8cc9b6d50d commented out distributions now obselete. Need to redo all these with the distribution classes.
[SVN r3138]
2006-08-13 11:39:58 +00:00
John Maddock
a436522863 Disable long double tests where not supported.
[SVN r3137]
2006-08-12 18:03:54 +00:00
John Maddock
9b1798b830 Updated and proof-read docs.
[SVN r3136]
2006-08-12 18:01:44 +00:00
John Maddock
3ce59eaed5 Fixed gcc errors (duplicate definitions of default parameters).
[SVN r3135]
2006-08-12 18:00:54 +00:00
Paul A. Bristow
ed7804629d Updated to use distributions & cosmetic, & removals of warnings at level 4.
[SVN r3134]
2006-08-12 16:09:46 +00:00
Paul A. Bristow
9ec09012c3 Added disable warnings for MSVC and output.
[SVN r3133]
2006-08-12 15:50:29 +00:00