package Ġcom . ibm . hb pe Ċ Ċ import Ġorg . apache . commons . math 3 . stat . de scriptive . rank . Percent ile Ċ import Ġorg . apache . commons . math 3 . stat . ranking . NaN Strategy Ċ import Ġorg . apache . commons . math 3 . util . K th Selector Ċ import Ġorg . apache . commons . math 3 . util . Median Of 3 Pivot ing Strategy Ċ Ċ /* Ċ ĠExcel Ġstyle Ġpercent ile . Ċ ĠThere Ġare Ġquite Ġa Ġfew Ġform ulas Ġfor Ġpercent ile Ġcalculation . Ċ ĠThis Ġadjust Ġthe Ġapache Ġimpl Ġto Ġve Ġconsistent Ġwith Ġthe ĠExcel Ġformula Ġ( PERCENT ILE . INC ). Ċ Ġhttps :// en . wikipedia . org / wiki / Percent ile # Second _ variant ,_ ġ '% 2 2 % 6 0 UN IQ -- post Math - 0 0 0 0 0 0 4 7 - Q IN U % 6 0 % 2 2 ' ġ Ċ Ġ*/ Ċ class ĠPercent ile Inclusive Ġ: ĠPercent ile ( ĊĠĠĠĠ 5 0 . 0 , ĊĠĠĠ ĠEst imation Type . R _ 7 , Ġ Ġ// Ġuse Ġexcel Ġstyle Ġinterpolation ĊĠĠĠ ĠNaN Strategy . RE MOVED , ĊĠĠĠ ĠK th Selector ( Median Of 3 Pivot ing Strategy ()) Ċ )