Professional Documents
Culture Documents
7 5.2
y=mx + c
c=y' - mx' 2.4
0.4
Xi Yi
(Week) (Sales in thousands) x^2 x*y
1 1.2 1 1.2
2 1.8 4 3.6
3 2.6 9 7.8
4 3.2 16 12.8
5 3.8 25 19 c=y' - mx'
Sum 15 12.6 y=mx + c
Mean 3 2.52 11 8.88
Y(7) 5.16
Y(12) 8.46
0.66
0.54
Hourly Pass (1)
Study Fail (0) Assume model z=log(odds)=-64 + 2*hours
29 0 We use Sigmoid function S(X)= 1/(1+e^-z)
15 0 assume the model suggested by the optimizer for odds of passing a course
33 1
28 1
39 1
Prob(33)
Calc z 2
Calc p 0.88
How many HRS the student should study to pass with prob >95%
0.95=1/(1+e^-z)
z 2.940 0.880797077977882
z 2.94 =-64+2*hours
hours= 32.0055
dds of passing a course