-
Notifications
You must be signed in to change notification settings - Fork 0
/
asurv.etc
389 lines (287 loc) · 9.48 KB
/
asurv.etc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
*****************************************************************************
*********************************** asurv.lst *******************************
*****************************************************************************
f77 -f -o asurv asurv.f \
aarray.f \
agauss.f \
akrank.f\
arisk.f \
bhk.f \
bin.f \
bivar.f \
bj.f \
buckly.f \
cens.f \
chol.f \
coeff.f \
coxreg.f \
data1.f \
data2.f \
datain.f \
datreg.f \
em.f \
emalgo.f \
factor.f \
gamma.f \
gehan.f\
grdprb.f \
kmadj.f\
kmdif.f\
kmestm.f \
kmprnt.f\
lrank.f \
matinv.f \
mulvar.f \
pchisq.f \
peto.f \
plestm.f \
pwlcxn.f \
r3.f \
r4.f \
r5.f \
r6.f \
ran1.f \
rearrn.f \
regres.f \
rmills.f \
schmit.f \
sort1.f \
sort2.f \
spearho.f \
sprman.f \
stat.f \
sumry.f \
syminv.f \
tie.f \
twokm.f \
twost.f \
univar.f \
unpack.f \
wlcxn.f \
xdata.f \
xvar.f \
****************************************************************************
******************************** gal1.dat **********************************
****************************************************************************
0 28.5
0 26.9
-1 29.7
-1 28.1
0 30.1
-1 27.6
****************************************************************************
******************************** gal1.com **********************************
****************************************************************************
gal1.dat
IR Luminosities of Galaxies
1
1
IR
1
1
25.0
5
2.0
1
gal1.out
****************************************************************************
********************************* gal1.out *********************************
****************************************************************************
KAPLAN-MEIER ESTIMATOR
TITLE : IR Luminosities of Galaxies
DATA FILE : gal1.dat
VARIABLE : IR
# OF DATA POINTS : 6 # OF UPPER LIMITS : 3
VARIABLE RANGE KM ESTIMATOR ERROR
FROM 0.000 TO 26.900 1.000
FROM 26.900 TO 28.500 0.375 0.213
27.600 C
28.100 C
FROM 28.500 TO 30.100 0.167 0.152
29.700 C
FROM 30.100 ONWARDS 0.000 0.000
SINCE THERE ARE LESS THAN 4 UNCENSORED POINTS,
NO PERCENTILES WERE COMPUTED.
MEAN= 27.767 +/- 0.515
DIFFERENTIAL KM ESTIMATOR
BIN CENTER D
26.000 3.750
28.000 1.250
30.000 1.000
32.000 0.000
34.000 0.000
-------
SUM = 6.000
(D GIVES THE ESTIMATED DATA POINTS IN EACH BIN)
INPUT DATA FILE: gal1.dat
CENSORSHIP X
0 28.500
0 26.900
-1 29.700
-1 28.100
0 30.100
-1 27.600
******************************************************************************
********************************** gal2.dat **********************************
******************************************************************************
0 0 28.5
0 0 26.9
0 -1 29.7
0 -1 28.1
0 0 30.1
0 -1 27.6
1 -1 29.0
1 0 29.0
1 0 30.2
1 -1 32.4
1 0 28.5
1 0 31.1
2 0 31.9
2 -1 32.3
2 0 30.4
2 0 31.8
******************************************************************************
********************************** gal2.com **********************************
******************************************************************************
gal2.dat
IR Luminosities of Galaxies
1
1
IR
3
0 1 2
0 1 0 1
0
0
Normal
Starburst
gal2.out
******************************************************************************
******************************** gal2.out ************************************
******************************************************************************
******* TWO SAMPLE TEST ******
TITLE : IR Luminosities of Galaxies
DATA SET : gal2.dat
VARIABLE : IR
TESTED GROUPS ARE Normal AND Starburst
# OF DATA POINTS : 12, # OF UPPER LIMITS : 5
# OF DATA POINTS IN GROUP I : 6
# OF DATA POINTS IN GROUP II : 6
GEHAN`S GENERALIZED WILCOXON TEST -- PERMUTATION VARIANCE
TEST STATISTIC = 1.652
PROBABILITY = 0.0986
GEHAN`S GENERALIZED WILCOXON TEST -- HYPERGEOMETRIC VARIANCE
TEST STATISTIC = 1.687
PROBABILITY = 0.0917
LOGRANK TEST
TEST STATISTIC = 1.814
PROBABILITY = 0.0696
PETO & PETO GENERALIZED WILCOXON TEST
TEST STATISTIC = 1.730
PROBABILITY = 0.0837
PETO & PRENTICE GENERALIZED WILCOXON TEST
TEST STATISTIC = 1.706
PROBABILITY = 0.0881
KAPLAN-MEIER ESTIMATOR
DATA FILE : gal2.dat
VARIABLE : Normal
# OF DATA POINTS : 6 # OF UPPER LIMITS : 3
VARIABLE RANGE KM ESTIMATOR ERROR
FROM 0.000 TO 26.900 1.000
FROM 26.900 TO 28.500 0.375 0.213
27.600 C
28.100 C
FROM 28.500 TO 30.100 0.167 0.152
29.700 C
FROM 30.100 ONWARDS 0.000 0.000
SINCE THERE ARE LESS THAN 4 UNCENSORED POINTS,
NO PERCENTILES WERE COMPUTED.
MEAN= 27.767 +/- 0.515
KAPLAN-MEIER ESTIMATOR
DATA FILE : gal2.dat
VARIABLE : Starburst
# OF DATA POINTS : 6 # OF UPPER LIMITS : 2
VARIABLE RANGE KM ESTIMATOR ERROR
FROM 0.000 TO 28.500 1.000
FROM 28.500 TO 29.000 0.600 0.219
29.000 C
FROM 29.000 TO 30.200 0.400 0.219
FROM 30.200 TO 31.100 0.200 0.179
FROM 31.100 ONWARDS 0.000 0.000
32.400 C
PERCENTILES
75 TH 50 TH 25 TH
17.812 28.750 29.900
MEAN= 29.460 +/- 0.460
******************************************************************************
********************************* gal3.dat ***********************************
******************************************************************************
0 27.2 28.5
0 25.4 26.9
-1 27.2 29.7
-1 25.9 28.1
0 28.8 30.1
-1 25.3 27.6
-1 26.5 29.0
0 27.1 29.0
0 28.9 30.2
-1 29.9 32.4
0 27.0 28.5
0 29.8 31.1
0 30.1 31.9
-1 29.7 32.3
0 28.4 30.4
0 29.3 31.8
******************************************************************************
******************************** gal3.com ************************************
******************************************************************************
Optical-Infrared Relation
gal3.dat
1 1 2
1 4
Optical Infrared
0
gal3.out
1.0E-5
0.0 0.0 0.0 0.0
50
******************************************************************************
******************************* gal3.out *************************************
******************************************************************************
CORRELATION AND REGRESSION PROBLEM
TITLE IS Optical-Infrared Relation
DATA FILE IS gal3.dat
INDEPENDENT DEPENDENT
Optical AND Infrared
NUMBER OF DATA POINTS : 16
UPPER LIMITS IN Y X BOTH MIX
6 0 0 0
CORRELATION TEST BY COX PROPORTIONAL HAZARD MODEL
GLOBAL CHI SQUARE = 18.458 WITH
1 DEGREES OF FREEDOM
PROBABILITY = 0.0000
LINEAR REGRESSION BY PARAMETRIC EM ALGORITHM
INTERCEPT COEFF : 0.1703 +/- 2.2356
SLOPE COEFF 1 : 1.0519 +/- 0.0793
STANDARD DEVIATION : 0.3687
ITERATIONS : 27
*****************************************************************************
****************************** Bug Report ***********************************
*****************************************************************************
We strongly encourage users to fill out and send us the attached
report following significant use of the package. This is especially
important if specific bugs or problems are found.
Name and Address:
Programs Used:
General Comments:
Specific Questions, Suggestions, or Bugs:
Would you like to see the package expanded?
___ Expand Cox proportional hazard model, and add test of its applicability.
___ Add Type I censoring (all upper limits = constant) methods.
___ Add tests specific to Gaussian distributed data (mean and sigma,
chi-squared and K-S goodness-of-fit tests, etc.).
___ Add tests relating to truncation (e.g. data missing due to
flux limits) as well as censoring (e.g. upper limits due to
flux limits).
___ Other ideas?
Please email to : [email protected]