# -*- coding: utf-8 -*-
"""
Created on Mon Dec 21 01:10:49 2020

@author: Harshit
"""

#Mean
import numpy
speed = [99,86,87,88,111,86,103,87,94,78,77,85,86]
x = numpy.mean(speed)
print(x)

#mode
from scipy import stats
speed = [99,86,87,88,111,86,103,87,94,78,77,85,86]
x = stats.mode(speed)
print(x)

#median
import numpy
speed = [99,86,87,88,111,86,103,87,94,78,77,85,86]
x = numpy.median(speed)
print(x)

#standard deviation
import numpy
speed = [32,111,138,28,59,77,97]
x = numpy.std(speed)
print(x)

#variance
import numpy
speed = [32,111,138,28,59,77,97]
x = numpy.var(speed)
print(x)

#percentile
import numpy
ages = [5,31,43,48,50,41,7,11,15,39,80,82,32,2,8,6,25,36,27,61,31]
x = numpy.percentile(ages, 75)
print(x)
