Skip to content

k1729p/Study19

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Study19 README Contents

Research mathematics and statistics

The sections of this project:

  1. Compact Number Format
  2. Remapping Functions With Logical Operators
  3. Even & Odd Numbers
  4. Golden Ratio
  5. Fibonacci Numbers
  6. Least Common Multiple
  7. Cubes & Roots
  8. Big Decimals Multiplication
  9. Big Integer Raising
  10. Big Integer Randomly Generating
  11. Clamp Numbers & Compare Big Decimals
  12. Means: Harmonic, Geometric, Arithmetic, Quadratic
  13. Summary Statistics
  14. Bayes' Theorem: Randomized Trials Launcher
  15. Bayes' Theorem: Statistical Measures

Java source code:

package kp


Java API Documentation


Action:

1. With the batch file '01 MVN clean install + Run Application.bat' launch the 'Application'.

Back to the top of the page

1. The compact number format. The method 'kp.math.NumberInCompactForm::format'.


Console log from 'NumberInCompactForm::format' method.

Back to the top of the page

2. The remapping functions with logical operators. The method 'kp.math.Logic::mergeMap'.


Console log from 'Logic::mergeMap' method.

Back to the top of the page

3. Segregating with the method 'Collectors::partitioningBy'.
The method 'kp.math.EvenAndOddNumbers::segregate'.


Console log from 'EvenAndOddNumbers::segregate' method.

Back to the top of the page

4. Computing the golden ratio with different scales. The method 'kp.math.GoldenRatio::compute'.


Console log from 'GoldenRatio::compute' method.

Back to the top of the page

5. Computing the Fibonacci numbers with different algorithms.
The method 'kp.math.FibonacciNumbers::compute'.


Console log from 'FibonacciNumbers::compute' method.

Back to the top of the page

6. Computing the least common multiple. The method 'kp.math.LeastCommonMultiple::compute'.


Console log from 'LeastCommonMultiple::compute' method.

Back to the top of the page

7. Computing the cubes and the roots.

The method 'kp.math.CubesAndRoots::compute'.


Console log from 'CubesAndRoots::compute' method.

Back to the top of the page

8. Multiplicating the 'BigDecimal'. The method 'kp.math.BigDecimalsFromStringRepresentation::multiply'.


Console log from 'BigDecimalsFromStringRepresentation::multiply' method.

Back to the top of the page

9. Raising the 'BigInteger' with the specified value to the specified exponent value.
The method 'kp.math.VeryBigIntegerRaised::compute'.

The screenshot of the console log from 'VeryBigIntegerRaised::compute' method.

Back to the top of the page

10. Generating the 'BigInteger' with the 'SecureRandom'.
The method 'kp.math.VeryBigIntegerRandomlyGenerated::compute'.


Console log from 'VeryBigIntegerRandomlyGenerated::compute' method.

Back to the top of the page

11. Clamping the numbers and comparing the BigDecimal numbers.

The method 'kp.math.ClampNumbersAndCompareBigDecimals::clampNumbers'.


Console log from 'ClampNumbersAndCompareBigDecimals::clampNumbers' method.

The method 'kp.math.ClampNumbersAndCompareBigDecimals::compareBigDecimals'.


Console log from 'ClampNumbersAndCompareBigDecimals::compareBigDecimals' method.

Back to the top of the page

12. Computing the means with the method 'Collectors::teeing'.
The method 'kp.math.means.Means::computeMeansWithTeeing'.


Console log from 'Means::computeMeansWithTeeing' method.

Back to the top of the page

13. Computing the average with the method 'LongStream::average' and the 'LongSummaryStatistics' with the method 'LongStream::summaryStatistics'.
The method 'kp.math.means.SummaryStatistics::show'.


Console log from 'SummaryStatistics::show' method.

Back to the top of the page

14. Launching the series of randomized trials.
The method 'kp.math.means.bayes.RandomizedTrialsLauncher::launchSeriesOfTrials'.

TNTrue Negative
TPTrue Positive
PGPositive Genuine
PRPositive Received
TPRTrue Positive Rate (Sensitivity)
PPVPositive Predictive Value (Precision)
FNFalse Negative
FPFalse Positive
NGNegative Genuine
NRNegative Received
TNRTrue Negative Rate (Specificity)
NPVNegative Predictive Value


Console log from 'RandomizedTrialsLauncher::launchSeriesOfTrials' method.

Back to the top of the page

15. Measuring the samples for the Bayes Formula.
The method 'kp.math.means.bayes.StatisticalMeasures::measureSamples'.

The screenshot of the console log from 'StatisticalMeasures::measureSamples' method.

Back to the top of the page