~ubuntu-branches/ubuntu/maverick/commons-math/maverick

« back to all changes in this revision

Viewing changes to src/test/resources/org/apache/commons/math/stat/data/Lottery.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:  Lottery
 
3
#
 
4
#Description:   This is an observed/"real world" data set
 
5
#               consisting of 218 lottery values
 
6
#               from September 3, 1989 to April 14, 1990 (32 weeks).
 
7
#               One 3-digit random number (from 000 to 999)
 
8
#               is drawn per day, 7 days per week for most
 
9
#               weeks, but fewer days per week for some weeks.
 
10
#               We here use this data to test accuracy
 
11
#               in summary statistics calculations.
 
12
#
 
13
# Stat Category: Univariate: Summary Statistics
 
14
#
 
15
# Reference:     http://www.itl.nist.gov/div898/strd/univ/lottery.html
 
16
#
 
17
# Data:          "Real World"
 
18
#               1    Response          : y = 3-digit random number
 
19
#               0    Predictors
 
20
#               218  Observations
 
21
#
 
22
# Model:         Lower Level of Difficulty
 
23
#               2    Parameters        : mu, sigma
 
24
#               1    Response Variable : y
 
25
#               0    Predictor Variables#
 
26
#               y    = mu + e
 
27
#####################################################################
 
28
 
 
29
#####################################################################
 
30
#
 
31
# Certified Values
 
32
#
 
33
#####################################################################
 
34
mean                       = 518.958715596330
 
35
standardDeviation          = 291.699727470969
 
36
autocorrelationCoefficient =  -0.120948622967393
 
37
n                          = 218
 
38
 
 
39
#####################################################################
 
40
#
 
41
# Data
 
42
#
 
43
#####################################################################
 
44
     162
 
45
     671
 
46
     933
 
47
     414
 
48
     788
 
49
     730
 
50
     817
 
51
      33
 
52
     536
 
53
     875
 
54
     670
 
55
     236
 
56
     473
 
57
     167
 
58
     877
 
59
     980
 
60
     316
 
61
     950
 
62
     456
 
63
      92
 
64
     517
 
65
     557
 
66
     956
 
67
     954
 
68
     104
 
69
     178
 
70
     794
 
71
     278
 
72
     147
 
73
     773
 
74
     437
 
75
     435
 
76
     502
 
77
     610
 
78
     582
 
79
     780
 
80
     689
 
81
     562
 
82
     964
 
83
     791
 
84
      28
 
85
      97
 
86
     848
 
87
     281
 
88
     858
 
89
     538
 
90
     660
 
91
     972
 
92
     671
 
93
     613
 
94
     867
 
95
     448
 
96
     738
 
97
     966
 
98
     139
 
99
     636
 
100
     847
 
101
     659
 
102
     754
 
103
     243
 
104
     122
 
105
     455
 
106
     195
 
107
     968
 
108
     793
 
109
      59
 
110
     730
 
111
     361
 
112
     574
 
113
     522
 
114
      97
 
115
     762
 
116
     431
 
117
     158
 
118
     429
 
119
     414
 
120
      22
 
121
     629
 
122
     788
 
123
     999
 
124
     187
 
125
     215
 
126
     810
 
127
     782
 
128
      47
 
129
      34
 
130
     108
 
131
     986
 
132
      25
 
133
     644
 
134
     829
 
135
     630
 
136
     315
 
137
     567
 
138
     919
 
139
     331
 
140
     207
 
141
     412
 
142
     242
 
143
     607
 
144
     668
 
145
     944
 
146
     749
 
147
     168
 
148
     864
 
149
     442
 
150
     533
 
151
     805
 
152
     372
 
153
      63
 
154
     458
 
155
     777
 
156
     416
 
157
     340
 
158
     436
 
159
     140
 
160
     919
 
161
     350
 
162
     510
 
163
     572
 
164
     905
 
165
     900
 
166
      85
 
167
     389
 
168
     473
 
169
     758
 
170
     444
 
171
     169
 
172
     625
 
173
     692
 
174
     140
 
175
     897
 
176
     672
 
177
     288
 
178
     312
 
179
     860
 
180
     724
 
181
     226
 
182
     884
 
183
     508
 
184
     976
 
185
     741
 
186
     476
 
187
     417
 
188
     831
 
189
      15
 
190
     318
 
191
     432
 
192
     241
 
193
     114
 
194
     799
 
195
     955
 
196
     833
 
197
     358
 
198
     935
 
199
     146
 
200
     630
 
201
     830
 
202
     440
 
203
     642
 
204
     356
 
205
     373
 
206
     271
 
207
     715
 
208
     367
 
209
     393
 
210
     190
 
211
     669
 
212
       8
 
213
     861
 
214
     108
 
215
     795
 
216
     269
 
217
     590
 
218
     326
 
219
     866
 
220
      64
 
221
     523
 
222
     862
 
223
     840
 
224
     219
 
225
     382
 
226
     998
 
227
       4
 
228
     628
 
229
     305
 
230
     747
 
231
     247
 
232
      34
 
233
     747
 
234
     729
 
235
     645
 
236
     856
 
237
     974
 
238
      24
 
239
     568
 
240
      24
 
241
     694
 
242
     608
 
243
     480
 
244
     410
 
245
     729
 
246
     947
 
247
     293
 
248
      53
 
249
     930
 
250
     223
 
251
     203
 
252
     677
 
253
     227
 
254
      62
 
255
     455
 
256
     387
 
257
     318
 
258
     562
 
259
     242
 
260
     428
 
261
     968