Home » date » 2009 » Jan » 29 »

Random numbers for non-fire wx days

*Unverified author*
R Software Module: rwasp_rngnorm.wasp (opens new window with default values)
Title produced by software: Random Number Generator - Normal Distribution
Date of computation: Thu, 29 Jan 2009 15:53:16 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jan/29/t1233269766gfokgvkjv8s1dn2.htm/, Retrieved Thu, 29 Jan 2009 23:56:06 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2009/Jan/29/t1233269766gfokgvkjv8s1dn2.htm/},
    year = {2009},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2009},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
list of random numbers generated to select sample size for for fire weather dates
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
Black Hills, wildland fire, south dakota
 
Output produced by software:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


IndexValue
1159.322800943034
2227.962752965694
3283.478561289010
4350.260287201957
5323.905222154332
6409.353216905618
7345.874733289561
8394.406723623305
9135.424448114720
10369.202577540531
11267.625427281442
12432.548642792259
13455.871835310336
14488.065086312934
15412.001673407936
16456.916362240343
17179.860621913102
18352.153619354341
19508.517165561883
20269.386412408620
21159.913327106362
22557.877659609622
23380.555101140888
24228.106168605840
25463.447902275502
26442.781664298348
27509.370990242217
28499.673680844554
29175.813461334289
3071.7596719972253
31371.198303130187
32424.459099213232
33484.471295486853
34542.829554675415
35117.337888790088
36259.119519198839
37307.254305840554
38574.457669824202
39282.82569576142
40292.176734243565
41654.798165612256
42168.315175603984
43246.861838297455
44234.667967148247
45301.969490242235
46506.900987040791
47385.186852371943
48354.489116294984
49321.344204510963
50162.122615155695
51360.715472688927
52301.011145743492
53167.893547517582
5491.3804191638033
55361.699795929242
56239.741568821999
57379.807183805325
58131.312644273201
5917.1421577199476
60468.010478476514
61342.079407049225
62394.996985000277
63412.877849389
64332.022187239831
65389.606046905928
66248.385349962193
67392.052914242071
68514.656838998007
69313.735490734827
70203.285309040021
71590.269845647012
72608.351047072
73431.942911632162
74389.854811633601
7561.4305206798034
76278.88858057042
77173.681254702784
78414.484416373666
79368.432078109525
80601.421315364545
81286.388162864728
82443.81278727834
83233.810968027992
84250.950107408547
85181.532579532556
86305.280897474029
87521.623590250505
88484.701405972738
8924.9238135841117
90314.514767299237
91163.430063709501
92224.536505881802
93578.149526075108
94373.390718174598
95311.358924300991
96411.98782964202
97339.399341871818
98408.044517743365
99439.431268182859
100532.795856386574
101314.349856951088
102454.334271101298
103421.823255989853
104528.047807701884
105322.870859058898
106646.600565875411
107306.572415401385
108112.067446246828
109242.875442303858
110282.67996248221
11173.786733105293
112188.205724916364
113254.575274573666
114662.453130842771
115588.312528255121
116464.359082354374
117580.368593168836
118108.967196102130
119595.84626989849
120312.681498051236
121138.391290471321
122617.914281482857
123278.845374836949
124494.554412287704
125155.716525203924
126621.527916683733
127340.552956855508
128522.565727851637
129306.770686817322
130218.527623499862
131259.591998973611
132246.912936781765
133206.530498655788
134370.103237377643
135593.021000969393
136268.33310349845
137352.552950145344
138352.891020825585
139149.062169243496
140645.266672082242
141368.658086431778
142378.00017813529
143317.592246039203
144130.805898859023
145629.926425795562
146221.528927888558
147287.314948468623
148311.022730886413
149460.380747883704
150332.85791497969
151308.241551131821
152293.227612321753
153519.321288068604
154371.900620173165
155349.930883871823
156313.756134439800
157161.792535840839
158399.948522463103
159552.398666301931
160160.127569911156
161409.572595116937
16266.1461340509009
163345.952336444433
164209.781195156153
165191.292981979054
166557.509646593916
167632.981329880676
168666.693460106479
169247.855389850250
170649.415868631635
171511.406722954797
172252.825716981559
173590.513860848052
174365.502437408925
175653.274711069877
176408.511451659377
177486.155103190651
178412.484423708308
179282.414505447763
180318.015592772021
181347.755450227957
182201.918102320559
183191.053760562012
184398.076928360303
185142.531967811967
186523.729314653028
187573.372374600837
188141.525739975092
189445.273407931293
190474.841619135041
191333.719515015549
192532.405070467085
193248.728517344997
194330.393487079917
195511.218119670814
196302.217338115455
197139.582746361390
198404.493674584327
199474.465317219544
200554.464851325817
201244.711788766216
202295.248994569199
20360.1180470419145
204561.215446955356
205204.187831938739
206121.986891677344
207590.707696258454
208248.519093343588
209346.853991674544
210479.726571173132
211244.463099695452
212337.738967899384
213150.699818167344
214262.367536370112
215292.95662344244
21697.1740008081465
217565.749108637744
218473.612666675935
219168.019614222530
220421.005690658938
221372.626083353621
222549.442747119969
223595.344907328772
224589.188748739759
225580.138513473205
226243.511536030527
227485.283550901824
228460.615446704621
229445.346666154801
230303.647197631404
231273.437958126062
232443.135613918877
233194.083163490741
234182.303622655531
235516.575075783126
236253.341717585043
237300.851643999145
238363.616794073683
239480.752133238821
240183.884016558817
241453.089280617536
242494.920242870961
243376.030337155017
244376.280916499994
245593.406034137658
246301.68275435602
247204.260030506886
248313.437822065467
249134.817654923797
250307.183166726674
251652.459583200075
252586.744049512882
253149.275602566052
254365.979176253346
255616.547047035344
256620.316571431386
257251.524311630087
258172.548571576488
259455.789371219518
260324.010502879453
261105.432587880183
262213.834715016146
263186.077236964122
264498.200360600026
265404.91920033425
266459.672904262708
267184.866973526883
268437.504812548769
269351.647029083142
270363.537393134914
271262.772729967332
27249.1003152278599
273508.490980310423
274642.656047188531
275453.426741891114
27676.2265753914801
277470.089180398151
27846.0539897038093
279472.998719039939
280461.519264720434
281378.130002313026
282100.902681662885
283111.674691239128
284220.423077711940
285418.852063248131
286247.533304838187
287315.625764671470
288306.901558944047
289147.471210785532
290370.914176826049
291289.461944280329
292503.805904392913
293321.908912638201
294449.417605216742
295464.057577991832
296285.595570114313
297395.991334117123
298345.494301851742
299270.024730399544
300622.620774192549
301298.984307348072
302475.438611038824
303220.629648058678
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/29/t1233269766gfokgvkjv8s1dn2/1g2we1233269589.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/29/t1233269766gfokgvkjv8s1dn2/1g2we1233269589.ps (open in new window)


 
Parameters (Session):
par1 = 303 ; par2 = 346 ; par3 = 212 ; par4 = 2 ; par5 = Y ; par6 = 0 ; par7 = 1 ; par8 = 671 ;
 
Parameters (R input):
par1 = 303 ; par2 = 346 ; par3 = 212 ; par4 = 2 ; par5 = Y ; par6 = 0 ; par7 = 1 ; par8 = 671 ;
 
R code (references can be found in the software module):
library(MASS)
library(msm)
par1 <- as.numeric(par1)
if (par1 > 10000) par1=10000 #impose restriction on number of random values
par2 <- as.numeric(par2)
par3 <- as.numeric(par3)
par4 <- as.numeric(par4)
if (par6 == '0') par6 = 'Sturges' else {
par6 <- as.numeric(par6)
if (par6 > 50) par6 = 50 #impose restriction on the number of bins
}
if (par7 == '') par7 <- -Inf else par7 <- as.numeric(par7)
if (par8 == '') par8 <- Inf else par8 <- as.numeric(par8)
x <- rtnorm(par1,par2,par3,par7,par8)
x <- as.ts(x) #otherwise the fitdistr function does not work properly
if ((par7 == -Inf) & (par8 == Inf)) (r <- fitdistr(x,'normal'))
bitmap(file='test1.png')
myhist<-hist(x,col=par4,breaks=par6,main=main,ylab=ylab,xlab=xlab,freq=F)
if ((par7 == -Inf) & (par8 == Inf)) {
curve(1/(r$estimate[2]*sqrt(2*pi))*exp(-1/2*((x-r$estimate[1])/r$estimate[2])^2),min(x),max(x),add=T)
}
dev.off()
load(file='createtable')
if (par5 == 'Y')
{
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Index',1,TRUE)
a<-table.element(a,'Value',1,TRUE)
a<-table.row.end(a)
for (i in 1:par1)
{
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,x[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')
}
if ((par7 == -Inf) & (par8 == Inf)) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Parameter',1,TRUE)
a<-table.element(a,'Value',1,TRUE)
a<-table.element(a,'Standard Deviation',1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'# simulated values',header=TRUE)
a<-table.element(a,par1)
a<-table.element(a,'-')
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'true mean',header=TRUE)
a<-table.element(a,par2)
a<-table.element(a,'-')
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'true standard deviation',header=TRUE)
a<-table.element(a,par3)
a<-table.element(a,'-')
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'mean',header=TRUE)
a<-table.element(a,r$estimate[1])
a<-table.element(a,r$sd[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'standard deviation',header=TRUE)
a<-table.element(a,r$estimate[2])
a<-table.element(a,r$sd[2])
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by