1reset data
2reset plot control
3reset i/o
4dimension 500 30
5label size 3
6read mpc262.dat run wafer probe mo day op hum y sr
7let df = sr - sr + 5.
8let m3 = y - y
9let ybar = average y subset run 1 subset wafer 138
10let m3 = m3 + ybar subset run 1 subset wafer 138
11let ybar = average y subset run 1 subset wafer 139
12let m3 = m3 + ybar subset run 1 subset wafer 139
13let ybar = average y subset run 1 subset wafer 140
14let m3 = m3 + ybar subset run 1 subset wafer 140
15let ybar = average y subset run 1 subset wafer 141
16let m3 = m3 + ybar subset run 1 subset wafer 141
17let ybar = average y subset run 1 subset wafer 142
18let m3 = m3 + ybar subset run 1 subset wafer 142
19let ybar = average y subset run 2 subset wafer 138
20let m3 = m3 + ybar subset run 2 subset wafer 138
21let ybar = average y subset run 2 subset wafer 139
22let m3 = m3 + ybar subset run 2 subset wafer 139
23let ybar = average y subset run 2 subset wafer 140
24let m3 = m3 + ybar subset run 2 subset wafer 140
25let ybar = average y subset run 2 subset wafer 141
26let m3 = m3 + ybar subset run 2 subset wafer 141
27let ybar = average y subset run 2 subset wafer 142
28let m3 = m3 + ybar subset run 2 subset wafer 142
29let d = y - m3
30let bias1 = average d subset probe 2362 subset run 1
31let bias2 = average d subset probe 2362 subset run 2
32let wafer1=138
33let wafer2=139
34let wafer3=140
35let wafer4=141
36let wafer5=142
37let b11=average d subset probe 2362 subset run 1 subset wafer 138
38let b21=average d subset probe 2362 subset run 1 subset wafer 139
39let b31=average d subset probe 2362 subset run 1 subset wafer 140
40let b41=average d subset probe 2362 subset run 1 subset wafer 141
41let b51=average d subset probe 2362 subset run 1 subset wafer 142
42let b12=average d subset probe 2362 subset run 2 subset wafer 138
43let b22=average d subset probe 2362 subset run 2 subset wafer 139
44let b32=average d subset probe 2362 subset run 2 subset wafer 140
45let b42=average d subset probe 2362 subset run 2 subset wafer 141
46let b52=average d subset probe 2362 subset run 2 subset wafer 142
47. biases for run 1 and run 2 by wafers
48print wafer1 b11 b12
49print wafer2 b21 b22
50print wafer3 b31 b32
51print wafer4 b41 b42
52print wafer5 b51 b52
53. average biases over wafers for run 1 and run 2
54print bias1 bias2
55. end of calculations
56
57