I am trying to calculate value $x in a number series based on an array of numbers (as $numbers).
Ex:
$numbers = array(1=>1000,2=>600,3=>500,4=>450,5=>425,6=>405,7=>400,8=>396);
function estimateNumber($x) {
// function to estimate number $x in $numbers data set
}
What would be the most statistically accurate method?