'''Data for Fig. 8.7, Fig. 18.1 and Example 18.1:
x = body height, y = body weight
of 70 (male) students attending the course "Analysis for Computer Scientists"
at the University of Innsbruck, summer term 2002
'''

import numpy as np

def students():

    '''height'''
    x = np.array([[185, 183, 183, 182, 193, 185, 180, 180, 176, 190, 183, 175, 
                   192, 190, 186, 180, 180, 191.5, 185, 180, 173, 196, 172, 186, 
                   183, 190, 178, 186, 175, 184, 180, 191, 179, 185, 183, 186, 
                   188, 178, 184, 185, 190, 174, 182, 192, 178, 190, 180, 182, 
                   175, 186, 196, 191, 178, 187, 189, 174, 180, 183, 178, 188, 
                   183, 174, 173, 186, 188, 184, 183, 174, 169, 170]]).T
    '''weight'''
    y = np.array([[100, 71, 75, 70, 77, 79, 76, 78, 75, 76, 132, 67, 71, 80, 
                   86, 70, 74, 83, 82, 71, 64, 102, 82, 82, 78, 83, 83, 64, 55,
                   90, 80, 81, 71, 72, 110, 75, 75, 78, 70, 73, 76, 61, 64, 86,
                   70, 76, 68, 65, 60, 69, 73, 77, 74, 79, 76.5, 54, 72, 70, 
                   78, 73, 87, 72, 70, 87, 84, 80, 77, 75, 61, 62]]).T
    
    return x, y