Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_rwalk.wasp
Title produced by softwareLaw of Averages
Date of computationSun, 30 Nov 2008 08:42:20 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Nov/30/t1228059881yfncnqugsj1aua7.htm/, Retrieved Sun, 19 May 2024 10:45:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=26569, Retrieved Sun, 19 May 2024 10:45:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact263
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Law of Averages] [Random Walk Simul...] [2008-11-25 17:50:19] [b98453cac15ba1066b407e146608df68]
F         [Law of Averages] [Q1 taak 7] [2008-11-30 15:42:20] [6912578025c824de531bc660dd61b996] [Current]
-           [Law of Averages] [2 Q1 taak 7] [2008-11-30 15:49:45] [4300be8b33fd3dcdacd2aa9800ceba23]
-             [Law of Averages] [3 Q1 Taak7] [2008-11-30 15:51:31] [4300be8b33fd3dcdacd2aa9800ceba23]
-               [Law of Averages] [] [2008-12-01 17:16:20] [29747f79f5beb5b2516e1271770ecb47]
F               [Law of Averages] [] [2008-12-01 17:19:21] [4ddbf81f78ea7c738951638c7e93f6ee]
-               [Law of Averages] [3 q1 taak7] [2008-12-01 17:23:55] [7506b5e9e41ec66c6657f4234f97306e]
-               [Law of Averages] [3Q1 Taak 7] [2008-12-01 17:30:36] [491a70d26f8c977398d8a0c1c87d3dd4]
-               [Law of Averages] [Q1] [2008-12-01 18:27:12] [b47fceb71c9525e79a89b5fc6d023d0e]
F               [Law of Averages] [] [2008-12-01 18:48:58] [c5e27150943bc3d623392efb0d98f8d3]
-               [Law of Averages] [] [2008-12-01 22:33:13] [fad8a251ac01c156a8ae23a83577546f]
-             [Law of Averages] [] [2008-12-01 17:14:36] [29747f79f5beb5b2516e1271770ecb47]
-             [Law of Averages] [] [2008-12-01 17:18:08] [4ddbf81f78ea7c738951638c7e93f6ee]
-             [Law of Averages] [2 q1 taak 7] [2008-12-01 17:22:40] [7506b5e9e41ec66c6657f4234f97306e]
-             [Law of Averages] [2Q1 Taak 7] [2008-12-01 17:28:55] [491a70d26f8c977398d8a0c1c87d3dd4]
-             [Law of Averages] [Q1] [2008-12-01 18:25:27] [b47fceb71c9525e79a89b5fc6d023d0e]
-             [Law of Averages] [] [2008-12-01 18:47:32] [c5e27150943bc3d623392efb0d98f8d3]
-             [Law of Averages] [] [2008-12-01 22:29:44] [fad8a251ac01c156a8ae23a83577546f]
F           [Law of Averages] [] [2008-12-01 17:11:26] [29747f79f5beb5b2516e1271770ecb47]
F           [Law of Averages] [] [2008-12-01 17:15:53] [4ddbf81f78ea7c738951638c7e93f6ee]
F           [Law of Averages] [q1 taak 7] [2008-12-01 17:21:13] [7506b5e9e41ec66c6657f4234f97306e]
-           [Law of Averages] [Q1 Taak 7] [2008-12-01 17:26:27] [491a70d26f8c977398d8a0c1c87d3dd4]
F           [Law of Averages] [Non Stationary Ti...] [2008-12-01 18:09:55] [79c17183721a40a589db5f9f561947d8]
-           [Law of Averages] [Non Stationary Ti...] [2008-12-01 18:12:22] [79c17183721a40a589db5f9f561947d8]
-           [Law of Averages] [Non Stationary Ti...] [2008-12-01 18:15:23] [755c89765aa71ee1639476565f085e49]
-           [Law of Averages] [Q1] [2008-12-01 18:23:34] [b47fceb71c9525e79a89b5fc6d023d0e]
-           [Law of Averages] [] [2008-12-01 18:45:24] [c5e27150943bc3d623392efb0d98f8d3]
F           [Law of Averages] [Q1] [2008-12-01 22:25:29] [fad8a251ac01c156a8ae23a83577546f]
Feedback Forum
2008-12-08 16:26:22 [Lindsay Heyndrickx] [reply
Dit is correct. Als we tossen met een muntstuk hebben we 50% kans dat het kop is en 50% kans dat het munt is. Daarom weet je niet hoe de bovenste grafiek zal verlopen. De beste voorstpelling die we kunnen doen is de lijn doortrekken naar het midden.
Hier zien we geen seizonaliteit maar er is wel een trend.
2008-12-08 18:19:56 [Jan Cavents] [reply
inderdaad correct, ik kan niets meer toevoegen op de eerdere comment van Lindsay.

Post a new message




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

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=26569&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=26569&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=26569&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

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



Parameters (Session):
par1 = 500 ; par2 = 0.5 ;
Parameters (R input):
par1 = 500 ; par2 = 0.5 ;
R code (references can be found in the software module):
n <- as.numeric(par1)
p <- as.numeric(par2)
heads=rbinom(n-1,1,p)
a=2*(heads)-1
b=diffinv(a,xi=0)
c=1:n
pheads=(diffinv(heads,xi=.5))/c
bitmap(file='test1.png')
op=par(mfrow=c(2,1))
plot(c,b,type='n',main='Law of Averages',xlab='Toss Number',ylab='Excess of Heads',lwd=2,cex.lab=1.5,cex.main=2)
lines(c,b,col='red')
lines(c,rep(0,n),col='black')
plot(c,pheads,type='n',xlab='Toss Number',ylab='Proportion of Heads',lwd=2,cex.lab=1.5)
lines(c,pheads,col='blue')
lines(c,rep(.5,n),col='black')
par(op)
dev.off()