~ubuntu-branches/ubuntu/oneiric/commons-math/oneiric

« back to all changes in this revision

Viewing changes to src/test/resources/org/apache/commons/math/stat/data/Lew.txt

  • Committer: Bazaar Package Importer
  • Author(s): Damien Raude-Morvan
  • Date: 2009-08-22 01:13:25 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090822011325-hi4peq1ua5weguwn
Tags: 2.0-1
* New upstream release.
* Set Maintainer field to Debian Java Team
* Add myself as Uploaders
* Switch to Quilt patch system:
  - Refresh all patchs
  - Remove B-D on dpatch, Add B-D on quilt
  - Include patchsys-quilt.mk in debian/rules
* Bump Standards-Version to 3.8.3:
  - Add a README.source to describe patch system
* Maven POMs:
  - Add a Build-Depends-Indep dependency on maven-repo-helper
  - Use mh_installpom and mh_installjar to install the POM and the jar to the
    Maven repository
* Use default-jdk/jre:
  - Depends on java5-runtime-headless
  - Build-Depends on default-jdk
  - Use /usr/lib/jvm/default-java as JAVA_HOME
* Move api documentation to /usr/share/doc/libcommons-math-java/api
* Build-Depends on junit4 instead of junit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#####################################################################
 
2
# Dataset Name:  Lew (Beam Deflection Data)
 
3
#
 
4
# Description:   This is an observed/"real world" data set
 
5
#               consisting of 200 deflections of a steel-concrete
 
6
#               beam while subjected to periodic pressure.
 
7
#               The experimenter was H. S. Lew of the
 
8
#               Center for Building Technology at NIST.
 
9
#               We here use this data to test accuracy
 
10
#               in summary statistics calculations.
 
11
#
 
12
# Stat Category: Univariate: Summary Statistics
 
13
#
 
14
# Reference:     http://www.itl.nist.gov/div898/strd/univ/lew.html
 
15
#
 
16
# Data:         "Real World"
 
17
#               1    Response          : y = beam deflection
 
18
#               0    Predictors
 
19
#               200  Observations
 
20
#
 
21
# Model:        Lower Level of Difficulty
 
22
#               2    Parameters        : mu, sigma
 
23
#               1    Response Variable : y
 
24
#               0    Predictor Variables
 
25
#               y    = mu + e
 
26
#####################################################################
 
27
 
 
28
#####################################################################
 
29
#
 
30
# Certified Values
 
31
#
 
32
#####################################################################
 
33
n                          =  200
 
34
mean                       = -177.435000000000
 
35
standardDeviation          =  277.332168044316
 
36
autocorrelationCoefficient = -0.307304800605679
 
37
 
 
38
#####################################################################
 
39
#
 
40
# R Generated Values
 
41
#
 
42
#####################################################################
 
43
variance =  76913.13143
 
44
max      =  300
 
45
min      = -579
 
46
sum      = -35487
 
47
 
 
48
#####################################################################
 
49
#
 
50
# Data
 
51
#
 
52
#####################################################################
 
53
    -213
 
54
    -564
 
55
     -35
 
56
     -15
 
57
     141
 
58
     115
 
59
    -420
 
60
    -360
 
61
     203
 
62
    -338
 
63
    -431
 
64
     194
 
65
    -220
 
66
    -513
 
67
     154
 
68
    -125
 
69
    -559
 
70
      92
 
71
     -21
 
72
    -579
 
73
     -52
 
74
      99
 
75
    -543
 
76
    -175
 
77
     162
 
78
    -457
 
79
    -346
 
80
     204
 
81
    -300
 
82
    -474
 
83
     164
 
84
    -107
 
85
    -572
 
86
      -8
 
87
      83
 
88
    -541
 
89
    -224
 
90
     180
 
91
    -420
 
92
    -374
 
93
     201
 
94
    -236
 
95
    -531
 
96
      83
 
97
      27
 
98
    -564
 
99
    -112
 
100
     131
 
101
    -507
 
102
    -254
 
103
     199
 
104
    -311
 
105
    -495
 
106
     143
 
107
     -46
 
108
    -579
 
109
     -90
 
110
     136
 
111
    -472
 
112
    -338
 
113
     202
 
114
    -287
 
115
    -477
 
116
     169
 
117
    -124
 
118
    -568
 
119
      17
 
120
      48
 
121
    -568
 
122
    -135
 
123
     162
 
124
    -430
 
125
    -422
 
126
     172
 
127
     -74
 
128
    -577
 
129
     -13
 
130
      92
 
131
    -534
 
132
    -243
 
133
     194
 
134
    -355
 
135
    -465
 
136
     156
 
137
     -81
 
138
    -578
 
139
     -64
 
140
     139
 
141
    -449
 
142
    -384
 
143
     193
 
144
    -198
 
145
    -538
 
146
     110
 
147
     -44
 
148
    -577
 
149
      -6
 
150
      66
 
151
    -552
 
152
    -164
 
153
     161
 
154
    -460
 
155
    -344
 
156
     205
 
157
    -281
 
158
    -504
 
159
     134
 
160
     -28
 
161
    -576
 
162
    -118
 
163
     156
 
164
    -437
 
165
    -381
 
166
     200
 
167
    -220
 
168
    -540
 
169
      83
 
170
      11
 
171
    -568
 
172
    -160
 
173
     172
 
174
    -414
 
175
    -408
 
176
     188
 
177
    -125
 
178
    -572
 
179
     -32
 
180
     139
 
181
    -492
 
182
    -321
 
183
     205
 
184
    -262
 
185
    -504
 
186
     142
 
187
     -83
 
188
    -574
 
189
       0
 
190
      48
 
191
    -571
 
192
    -106
 
193
     137
 
194
    -501
 
195
    -266
 
196
     190
 
197
    -391
 
198
    -406
 
199
     194
 
200
    -186
 
201
    -553
 
202
      83
 
203
     -13
 
204
    -577
 
205
     -49
 
206
     103
 
207
    -515
 
208
    -280
 
209
     201
 
210
     300
 
211
    -506
 
212
     131
 
213
     -45
 
214
    -578
 
215
     -80
 
216
     138
 
217
    -462
 
218
    -361
 
219
     201
 
220
    -211
 
221
    -554
 
222
      32
 
223
      74
 
224
    -533
 
225
    -235
 
226
     187
 
227
    -372
 
228
    -442
 
229
     182
 
230
    -147
 
231
    -566
 
232
      25
 
233
      68
 
234
    -535
 
235
    -244
 
236
     194
 
237
    -351
 
238
    -463
 
239
     174
 
240
    -125
 
241
    -570
 
242
      15
 
243
      72
 
244
    -550
 
245
    -190
 
246
     172
 
247
    -424
 
248
    -385
 
249
     198
 
250
    -218
 
251
    -536
 
252
      96