GR5360 2-R代写
时间:2023-04-29
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 2
Is There an Order in Constant π?
• π is a mathematical constant equal to the ratio of a circle’s
circumference to its diameter, approximately (as a double) equal to
3.141592653589793.
• π is an irrational number: cannot be expressed exactly as a common
fraction. Therefore, π decimal representation is infinitely long and never
settles into a permanent repeating pattern.
• “Feynman point” is a sequence of decimal digits of π that starts at spot
762 and contains six 9’s in a row.
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 3
Is There an Order in Constant π?
• π digits seem to be randomly distributed, although up until now no
rigorous proof of this was discovered.
• π is a transcendental number, that is not a root of any non-zero
polynomial having rational coefficients – it is impossible to square the
circle with a compass and straight-edge.
• Currently over 1013 digits of π were computed. For all practical scientific
applications 40 digits of π or less are sufficient. Humans were able to
memorize up to 67,000 digits.
• Digits of π do not seem to have any apparent order or pattern. A
number of infinite length is called normal when all possible sequences
of digits of any given length appear equally often.
• Multiple series and integral representations of π are known.
( )
. :integralGaussian
...
9
1
7
1
5
1
3
114
12
14 :series Leibniz-Gregory
2
0
2








=






−+−+−⋅=
+

⋅=


∞+
∞−

+∞
=
dxe
k
x
k
k
pi
pi
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 4
Is There an Order in Constant π?
• Using the file “Pi1.25Million.txt” of the first 1.25 Million digits of π we will
count sequences of same digits of different lengths (1,2,3,4,5) and
compare those frequencies to those generate totally randomly.
• At first look, we seem to see signs of “order” in π.
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 5
Is There an Order in Constant π?
• A more careful analysis shows that this seeming “order” is nothing more
than statistical sample noise.
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 6
Elements of Statistics Relevant to Price Analysis*
• Two-point Probability Density Function
* - with some changes from “Statistical Hydrodynamics” by Monin and Yaglom, ref. B6.
( )
( )
overlap.not do and valued
-real all coveringdensly are intervals-emi targets/sfinal
possible all that meanssimply ;,;,
:conditionion normalizat The .;,;, :be to
2
,
2
interval-mi target/se thehitting
ies trajectorofnumber thecalculate and times
"experiment"such run can we sizetarget
theand timeending, timestartingany For
ns.realizatio generate tous allowing thusnecessary,
as many times as seed""different slightly a from
"experiment" repeat thecan that weassume will
weand process price random a be )(Let
1
p
1100
1100
11
10
1
p
NdptptpN
dptptpN
dppdpp
Ndp
tt
tpp
=





+−
=

Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 7
Elements of Statistics Relevant to Price Analysis
( )
( )
( )
( )
( )
( )
( ) (PDF).fucntion density y probabilitpoint - twoa called is ,;,
.1,;,:iscondition
ionnormalizat thelimit, continuous In the .
2
,
2
interval-semi e within thending ,at starting trajectory
price a find y toprobabilit,;, s,other wordIn
.,;,
namely ,for limit finite1;,;,
: thereforelarger,ately proportion be will
;,;, thes'larger for clear thaty intuitevel isIt
1100
11100
11
00
1100
1100
1100
1100
tptpP
dptptpP
dppdpp
tp
dptptpP
tptpP
N
dpN
dptptpN
dptptpNdp

∞+
∞−
=





+−
=⋅
=
=+∞→→⋅
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 8
Elements of Statistics Relevant to Price Analysis
( ) ( ) ( )
.)()()(
:is )( process stationary afor function n correlatio-Auto
.),(2),(
:function structureor moment
order th - toleads ),(),( symmetric afor
orders valued)-(real positive all tion toGeneraliza
function. structure
or moment order -2nd theis ),(
function, structure
or moment order -1st or themean theis ),(
:get we, change timeand
nsfluctuatioor changes pricemean -zero gintroducin
and ,~,~,;,
:process stationary aFor
0
22
01011100
ττ
ττ
νττ
τ
τ
τ
ννν
+⋅≡
⋅⋅⋅=⋅⋅=
−=
⋅⋅=
⋅⋅=
∆=∆−∆=
∆∆≡−−≡



∞+∞+
∞−
∞+
∞−
∞+
∞−
txtxC
tx
dxxPxdxxPxx
xPxP
dxxPxx
dxxPxx
tppx
tpPttppPtptpP
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 9
Elements of Statistics Relevant to Price Analysis
( )? R :functions response lconditiona theare What 4.
?)(function n correlatio-auto theis What 3.
? x)( ns,fluctuatio of variance theiswhat
,particularin ,x)( :functions structure theare What 2.
?),( : xof PDF theof) shape (the is What 1.
:questions following
theasweringally experimentleast at by
nsfluctuatio itsstudy lly statistica mean to willBy that we
?")( process price financial astudy to"
mean,it does what course,current theofcontext In the
2
2
conditionp
C
S
S
xP
ppx
tp
∆=
=
=
∆−∆=
τ
τ
τ
τ
ν
ν
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 10
Push-Response Functions( )
( ) .)()(
response"" average lconditiona a findcan we),( series-time
financial agiven ,)()( xpush""every for example),for 1,(
shift timeof choice particular aFor function. Response-Push a
is R function response lConditiona of case particularA
)()( xtptp
condition
tptpy
tp
tptp
p
=−−
−+=
−−==
∆=
τ
τ
τ
τ
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 11
More on Push-Response Functions*
.)()(
:responsemean lconditiona for the have Then we
.
2
),(),(),( and
2
),(),(),(
: where,),(),(),( :parts
asymmetric and symmetric a into PDF variate-bi compose-decan One
.)(
),()(
:pushgiven afor response of shape ticprobabilis following thehave we
minutes), say, in, (measured of case particular aWith
PDF. variate-bi a is ),( then intervals,- timejoined
goverlappin-non twoare and where,over response""
change price a -y ,over push"" change price a be -Let
21
212
1

∞+
∞−
∞+
∞−
⋅⋅=⋅⋅=
−−
=
−+
=
+=
=
=∆=∆
∆∆∆

dyyxPydyyxPyy
yxPyxPyxPyxPyxPyxP
yxPyxPyxP
xP
yxPyxP
tt
yxP
ttt
tx
a
x
as
as
τ
* - from papers by V. Trainin et. al., refs. A43-46.
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 12
More on Push-Response Functions*
Walk).(Random litiespredictabi no havemay
series-price theas wellas possible, are shapescomplex more Naturally,
reversion-mean term-long and following- trendterm-short 4.
following- trendterm-long andreversion -mean term-short 3.
following- trend2.
reversion-mean 1.
:diagrams
response-push of shapes basicfour following heidentify tcan we
litiespredictabi with series-price afor n,compositio-de thisUsing
* - from papers by V. Trainin et. al., refs. A43-46.
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 13
Fourier Expansion and Fourier Transform*
).)()()( define-re
can we(otherwise 0)( with process random stationary a be )(Let
periodic.not are and
at 0 decay tonot do ,definition be which,process random stationary
any for possible isexpansion Fourier a functions randomFor
;at enough"fast "
0 decay to which functionsfor possibleonly is integralsFourier by
tion representa functions periodic-non random)-(nonordinary For
functions; periodicfor possibleonly is series
Fourier by tion representa functions, random)-(nonordinary For
:physics almathematicin used widely is integralsor
seriesFourier by functions oftion representaor analysis, Harmonic
tututu
tutu
−→
=
∞±

∞±


* - from Monin & Yaglom, vol. II, ref. B6.
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 14
Fourier Expansion and Fourier Transform*
.conditions general very someunder possible is tscoefficien eduncorrelat
mutually and random with form functionalgiven a of components of
ion superposit a as process random stationary oftion representaA
. allfor 0 ,0
:such that variablesrandom
complex are ,..., and numbersgiven are ,...,set a where
,)(
:follows as drepresente
be to)(function complex random a ,generalityfor Consider,
11
1
lkZZZ
ZZ
eZtu
tu
lkk
nn
n
k
ti
k
k
≠==
⋅=

=

ωω
ω
* - from Monin & Yaglom, vol. II, ref. B6.
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 15
Fourier Expansion and Fourier Transform*
( ) ( )( )
. ,2 ),( ,
where,)cos(sincos)(
and 2even is termsofnumber the)( processes valued-realFor
).(on only dependonly
also will)(for on distrubutiy probabilit and moments all
ons,distributiy probabilitGaussian having are Zly,additional If,
process. random stationary afor shouldit as
)(on only dependsfunction n correlatio that thesee We
.0 defined-re we
where,)()(),(
:functionn correlatio for theget weabove, theUsing
1
2
k
21
11
21
12
k
12
2
1
)(
2121
12






==−=+=
−⋅=+=
=


≥=
⋅=⋅=
∗∗
==
=
−∗


k
k
kkkkkkkk
m
k
kkk
m
k
kkkk
kk
n
k
tti
k
Z
Z
arctgZWZZiZZZZ
tWtZtZtu
mntu
tt
tu
tt
ZF
eFtututtB k
ϕ
ϕωωω
ω
* - from Monin & Yaglom, vol. II, ref. B6.
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 16
Fourier Expansion and Fourier Transform*
. phases of sticscharacteri lstatistica on the depend
not does and aplitudes of squaresmean on the dependsIt
).cos()(
:bygiven isfunction n correlatio Its
phases. and amplitudes randomwith
nsoscillatio harmonic eduncorrelat ofion superposit a is
process random valued-real a clear that isit Therefore,
.
2
,
:have also We
k
1
2
ϕ
τωτ
δδ
k
m
k
kk
k
kkklij
j
l
i
k
W
EB
WEEZZ

=
⋅=
==
* - from Monin & Yaglom, vol. II, ref. B6.
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 17
Fourier Expansion and Fourier Transform*
[ ][ ]
. when )()(
:as form aldifferenti in thewritten -re becan This
before. described of properties of because
0)()()()(
:for and 0)(
such thatfunction complex random a ,)( denote weIf
finite. remains
amplitudes of sum thesuch that limit,out other witheach approach
can ,..., sfrequencie that assume toneed willeFor that w
. oflimit continuous in the above similar totion representa
spectral a has also )( process random stationaryarbitrary An
11
3412
4321
1
ωωωω
ωωωω
ωωωωω
ω
ωω
ωω
≠⋅
=−−
<≤<=
=
+∞→

∗∗
<

dZdZ
Z
ZZZZ
Z
ZZ
Z
n
tu
k
k
k
n
k
* - from Monin & Yaglom, vol. II, ref. B6.
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 18
Fourier Expansion and Fourier Transform*
[ ]
.Kolmogorovby derivedfirst )( process stationary
a oftion representa integralFourier general theiswhich
,)()(
:aswritten
ly symbolical integrals Stieltesimproper are limitsSuch
.0lim if lim
:limits square-mean as understood are limits theand
and ... :where
,)()(limlim)(
:intoexpansion
seriesFourier the transform willlimit such Taking
2
n
1
'
10
1
0
10
'
1
tu
dZetu
WWWW
eZZtu
n
ti
nn
n
kkkn
ti
n
k
kk
k
kk



∞−
+∞→+∞→
+

=
+
+→−+∞→Ω
⋅=
=−=
<<Ω=<<<=Ω−






⋅−=
+∞→
+
ω
ωωωωωω
ωω
ω
ω
ωω
* - from Monin & Yaglom, vol. II, ref. B6.
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 19
Fourier Expansion and Fourier Transform*
. intervalfrequency the toingcorrespond
)( process theofcomponent spectral thegives expression This
.)(Re2)()(),(
:filterschosen properly of meansby
ally experiment isolated becan ranges spectralshort individualthat
fact in the is ansformFourier tr the tocesignifican physical real The
ansform.Fourier tr valued-realrough written th-re
becan tion representa spectral then theprocess, valued-real is )( if
Gaussian, be will)( then Gaussian, is )( if : thatfollows thisFrom
.)(
2
1lim]),([)()(
: thatso
,)(1
2
1lim)(
:obtained becan ansformFourier tr inverse following the that,From
1
2
2
1
12
2112
ω
ωωωω
ω
pi
ωωωω
pi
ω
ω
ω
ω
ω
ω
ω
ω
ω
ωω
ω







⋅=+=∆


==−
+


=







−−
+∞→


+∞→
tu
dZedZedZetu
tu
Ztu
dttu
it
eeZZZ
constdttu
it
eZ
tititi
T
T
titi
T
T
T
ti
T
* - from Monin & Yaglom, vol. II, ref. B6.
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 20
Fourier Expansion and Fourier Transform*
[ ]
).()(]),([)( where
,)(2)()(t),u(
:bygiven is ],[ range in the sfrequenciewith
nsoscillatio harmonic the toingcorrespondenergy mean theThen,
energy.mean theof role a plays )()0(quantity the
),( process random stationary afor that,follows that From
energy).
(kinetic )( toalproportionusually is (velocity) )(
process a ofenergy thens,applicatio physics simpleIn
).( process theofenergy (mean) theofon distributi
frequency the tocesignifican real givesally experiment
isolated becan ),(component spectralfact that The
1221
2222
21
2
2
ωωωωω
ωωωω
ωωω
ω
ZZZZ
ZZZ
tuB
tu
tutu
tu
tu
−==∆
∆⋅=∆−+∆=∆
=∆
=

* - from Monin & Yaglom, vol. II, ref. B6.
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 21
Fourier Expansion and Fourier Transform*
function. delta Dirac a is where,)()(
2
1
)()(
:correct be shouldequation symbolic following the true,be toabove For the
.)(
2
1)()(
:0for usedoften is )(2)( spectrumenergy The
.)()(
:)( process theof
)( (spectrum)function density spectral theintroducecan We
spectrum. frequency the
over )( process theofenergy theofon distributi thedescribes
)(function negative-non random-non that see thusWe
11
111
2
2
2
δωωωωωδ
ωωωωωδωω
ωωωωω
ωωω
ωωω
ω
ω
ω
ω
ddE
ddF)dZ()(dZ
dEdFdZ
FE
dFZ
tu
F
tu
Z
⋅⋅⋅−=
=⋅⋅⋅−=⋅
==
+∞<≤⋅=
=∆




* - from Monin & Yaglom, vol. II, ref. B6.
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 22
Fourier Expansion and Fourier Transform*
.components spectrum
individual theof energies theof sum theis )( process theofenergy
total that theshowsit :nexplanatio physical simplely particular a has
)()()0(
:0 toingcorrespond case special The
.)()cos(2)( ,)(
2
1)(
and ,)()cos()()(
:density spectral ingcorrespond theof
ansformFourier tr theis )()()(function n correlatio The
:(1934) theorem
Khinchin asknown result important following theshow now
can weabove theand intagralFourier of definition theusing Lastly,
0
0
0
tu
dEdFB
dBEdBeF
dEdFeB
tutuB
i
ti


 
∞∞
∞−
∞∞
∞−

∞−


==
=
==
==
+=
ωωωω
τ
ττωτ
pi
ωττ
pi
ω
ωωωτωωτ
ττ
ωτ
ω
* - from Monin & Yaglom, vol. II, ref. B6.
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 23
Fourier Expansion and Fourier Transform
( )
( )
( )
.
)2/(sin4)(
,)(
,
2)(
:ansformsFourier tr following thehavethat
,
1
when ,0
,
1
when ,1
)(
,)(
,)(
:functionsn correlatio theof examples notable Some
negative.-non always isit ifestablish and ansformFourier tr
its findmust weprocess, random stationary a offunction n correlatio
theisfunction given aether verify whorder toin Therefore, process.
random stationary some offunction n correlatio theis ansformFourier tr
negative-non a hashich function weach that showed alsoKhinchin
functions.n correlatio ofexpansion Fourier on the heoremKhinchin t
esconstiutut This function. negative-non a be should process stationary
a offunction n correlatio theof ansformFourier tr theclear that isIt
2
2
)4/(
22
2
2
ω
αω
pi
α
ω
αpi
ω
ωαpi
α
ω
α
τ
α
ττα
τ
τ
τ
αω
ατ
τα
CE
e
CE
CE
C
B
eCB
eCB
=
=
+
=






>
≤−⋅
=
⋅=
⋅=



Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 24
Algebraic Scaling Laws
scale. sticcharacteri no haveThey similar.-self
called are processesSuch . "microscope out the andin zooms"
only laws, lstatistica governing theofany changenot does
tt
:ations transformscaling-re ofset a processessuch For
.)(
:ansformFourier tr following thehas
,20 and ,0for ,)(
:laws scaling algebraic of case theis spectrumenergy ingcorrespond
their and functionsn correlatio of classimportant A very
functions.n correlatio ofexpansion Fourier on the heoremKhinchin t
esconstiutut This function. negative-non a be should process stationary
a offunction n correlatio theof ansformFourier tr theclear that isIt
1



⋅→
⋅→
=
<<>⋅=
+
uUu
T
CE
AAB
γ
γ
ω
ω
γττ
Math Meth-Financial
Price Analys, Lecture 2
Mathematics GR5360 25
A Reminder on Gaussian Distribution Properties
Gaussian"." are on distributi theand function sticcharacteriboth ,0 if and,
,),;(ˆ(q)
:function sticcharacteri Its
.
!)!12(
,0
;
;
:moments Its
). is variance(itsdeviation standard its is parameter
mode), andmedian its (alsoon distributi theofmean theis parameter where
,
2
1),;(
:isdensity y probabiliton distributi normalA
on.distributi original theofvely irrespecti
normally,ely approximat ddistribute ison distributi same thefromdrawn tly independen
variablesrandommany ofmean the,conditions mild someunder that,stateswhich
Theorem,Limit Central torelated is importance Its science.in everywherealmost used
are they asimportant very is propertieson distributi (Normal)Gaussian ingUnderstand
2
22
12
22
2
2
)(
22
2
2
Pm
emxP
kx
x
x
x
mx
m
emxP
imqq
kk
k
n
mx
χ
σχ
σ
σ
σσ
piσ
σ
σ
σ
=
==




⋅−=
=
=
=
=
⋅=
+−
+


essay、essay代写