function precision ($value, $place){ $value = $value * pow(10, $place + 1); $value = floor($value); $value = (float) $value/10; (float) $modSquad = ($value - floor($value)); $value = floor($value); if($modSquad > .5){ $value++; } return $value / (pow(10, $place)); } function average($array){ $sum = array_sum($array); $count = count($array); if(!$count) return 0; return $sum/$count; } function deviation($array){ $avg = average($array); foreach ($array as $value) { $variance[] = pow($value-$avg, 2); } $sum = array_sum($variance); $count = count($variance) - 1; $deviation = sqrt($sum/$count); return $deviation; } function median($array){ asort($array); $count = count($array); $kk = array(); $kk = array_keys($array); $rem = $count%2; $count/=2; $count--; if($rem){ $count = round($count); $mk = $kk[$count]; return $array[$mk]; } $mk = $kk[$count]; $ml = $$kk[($count+1)]; $med = $array[$mk] + $array[$ml]; $med/=2; return $med; } function group($array){ $count = count($array); if($count < 30) $group = round($count * 0.20); else if($count < 50) $group = round($count * 0.15); else if($count <100) $group = round($count * 0.11); else $group = round($count * 0.06); if($group>20) $group = 20; return $group; } ?>
Paramap is a national database of supernatural research pertaining to ghosts, spirits, and hauntings. It correlates information on a geographical level allowing researchers to spot patterns and trends in demographics that would otherwise pass unseen.
Each research organization is an equal partner, having full access to the contributed information, data mining tools, and survey maps. A full list of contributing organizations can be found here. Some of the survey information found within our system includes:
Site Contact | Copyright 2016(c) |