Items tagged with theory theory Tagged Items Feed

No, I'm willing to bet it's about as random as flipping a coin.  You might say, huh?!  I think my theory is interesting but this isn't really a maple question although perhaps we can make it into one, it would be that much more interesting.  I haven't done so yet, but anyone is welcome to.

With practice, I can flip a coin and get 30 heads in a row no problems.  Now say for a roulette wheel operator who uses it constantly, you don't think he's gained...

One thing I have always found interesting is that exponential growth/decay
is not symmetrical hence:

100*(1+0.01)^2+100*(1-0.01)^2-200 = 0.0200

For example:

If you start with 100 and bet 1% and you win and then again bet 1% of your portfolio value
and you win again your portfolio value will be PW=100*(1+0.01)^2.

If you start with 100 and bet 1% and you lose and then again bet 1% of your portfolio value
and you lose again your portfolio value will be PL=100*(1-0.01)^2. ...

restart:
with(LinearAlgebra):
with(ArrayTools):
with(Statistics):
randomize():
with(plots):
with(combinat):

n := 100:
nstock := 7:
corr := .8:

R := Matrix(nstock, nstock, proc (i, j) options operator, arrow; `if`(i = j, 1, corr) end proc):
CD := Matrix(LUDecomposition(evalf(R), 'method' = 'Cholesky'), datatype = float[8]):

ev := [seq((1/5)*(rand(-3 .. 4))(), i = 1 .. nstock)]:
st := [seq((rand(1 .. 2))(), i = 1 .. nstock)]:

Page 1 of 1