# Bill Qualls
# NW - Stats II - Lab 1 - #2
# This is NW2-1-2.MTB
# 2. Find the areas under the standard Normal ditribution for the following:
# Recall standard normal has mean=0 and stdev=1.
# The cdf instuction gives the area to the left of z.
# To get the area to the right of z, subtract cdf from 1.
# To get the area between two z scores, subtract their cdfs.
# Asign a constant to a variable starting with k: k1, k2, k3, ...
# to the right of z = 1
# Reminder: subtract cdf from 1
cdf 1
let k1 = 1 - 0.8413
print k1
# to the left of z = 2
# Reminder: no other calculation needed
cdf 2
# to the right of z = -0.90
# Reminder: subtract cdf from 1
cdf -0.90
let k1 = 1 - 0.1841
print k1
# between z = 1.05 and z = 2.55
# Reminder: subtract high cdf from low cdf
cdf 1.05
cdf 2.55
let k1 = 0.9946 - 0.9394
print k1
# between z = -2.44 and z = 1.73
# Reminder: subtract high cdf from low cdf
cdf -2.44
cdf 1.73
let k1 = 0.9582 - 0.0073
print k1
stop