Saltar para o conteúdo

Ficheiro:Girsanov.png

O conteúdo da página não é suportado noutras línguas.
Origem: Wikipédia, a enciclopédia livre.

Imagem numa resolução maior(1 212 × 714 píxeis, tamanho: 62 kB, tipo MIME: image/png)

Descrição do ficheiro

Descrição
English: Visualisation of the Girsanov theorem — The left side shows a Wiener process with negative drift under a canonical measure P; on the right side each path of the process is colored according to its likelihood under the martingale measure Q. The density transformation from P to Q is given by the Girsanov theorem.
Data
Origem created with GNU R, see source below
Autor Martin Keller-Ressel (uploaded by Thomas Steiner)
Permissão
(Reutilizar este ficheiro)
Martin Keller-Ressel put it under the GFDL
PNG desenvolvimento
InfoField
 
Este(a) PNG gráfico foi criado com o R
Código fonte
InfoField

R code

set.seed(145)
par("mar"=c(4,2,2,2))
 
npath <- 30
N <- 1000
t  <- seq(0,1,length=N+1)
sigma = 0.5
nu = - 0.7
hue = 0.03
dampen = 0.25
 
BM.norm <- matrix(rnorm(npath*N,sd=1/sqrt(N),mean=0),ncol = npath)
BM.norm <- rbind(0,apply(BM.norm,2,cumsum))
 
tmat <- matrix(rep(t,npath),ncol=npath,byrow=FALSE)

BM <- sigma*BM.norm + tmat*nu

weights.orig <- matrix(1,ncol=npath,nrow=1)
 
png(file="girsanov.png",height=714,width=1212)
par(mfrow=c(1,2))
plot.new()
plot.window(xlim = c(0,1),ylim=range(BM))
col.orig <- hsv(h=hue,s=0.6*weights.orig,v=.95)
for(i in 1:npath) {
   lines(t,BM[,i],cex=1.5,col=col.orig[i])
}
box(col="grey",cex=1.5)
 
title(sub="30 paths of a Brownian motion with negative drift",line=2,col.sub="grey10")
 
girsanov.weights <- exp(dampen * (-nu/sigma*BM.norm[N,] - 0.5*(nu/sigma)^2))
girsanov.weights <- (girsanov.weights - min(girsanov.weights)) / diff(range(girsanov.weights))
col.girsanov <- hsv(h=hue,s=girsanov.weights,v=0.95)
 
plot.new()
plot.window(xlim = c(0,1),ylim=range(BM))
 
for(i in 1:npath) {
   lines(t,BM[,i],cex=1.5,col=col.girsanov[i])
}
title(sub="The same paths reweighted according to the Girsanov formula",line=2,col.sub="grey10")
box(col="grey",cex=1.5)
dev.off()

Licenciamento

GNU head É concedida permissão para copiar, distribuir e/ou modificar este documento nos termos da Licença de Documentação Livre GNU, versão 1.2 ou qualquer versão posterior publicada pela Free Software Foundation; sem Secções Invariantes, sem textos de Capa e sem textos de Contra-Capa. É incluída uma cópia da licença na secção intitulada GNU Free Documentation License.
w:pt:Creative Commons
atribuição partilha nos termos da mesma licença
A utilização deste ficheiro é regulada nos termos da licença Creative Commons - Atribuição-CompartilhaIgual 3.0 Não Adaptada.
Pode:
  • partilhar – copiar, distribuir e transmitir a obra
  • recombinar – criar obras derivadas
De acordo com as seguintes condições:
  • atribuição – Tem de fazer a devida atribuição da autoria, fornecer uma hiperligação para a licença e indicar se foram feitas alterações. Pode fazê-lo de qualquer forma razoável, mas não de forma a sugerir que o licenciador o apoia ou subscreve o seu uso da obra.
  • partilha nos termos da mesma licença – Se remisturar, transformar ou ampliar o conteúdo, tem de distribuir as suas contribuições com a mesma licença ou uma licença compatível com a original.
Esta marca de licenciamento foi adicionada a este ficheiro durante a atualização da licença GFDL.

Legendas

Adicione uma explicação de uma linha do que este ficheiro representa

Elementos retratados neste ficheiro

retrata

Histórico do ficheiro

Clique uma data e hora para ver o ficheiro tal como ele se encontrava nessa altura.

Data e horaMiniaturaDimensõesUtilizadorComentário
atual12h43min de 7 de julho de 2006Miniatura da versão das 12h43min de 7 de julho de 20061 212 × 714 (62 kB)Thire{{Information| |Description = visualisation of the girsanov theorem by a change of measure of a brownian motion which removes the (negiave) drift |Source = chreated with GNU R, see source below |Date = 7. july 2006 |Author = Martin Keller-Ressel (uploaded

A seguinte página usa este ficheiro:

Utilização global do ficheiro

As seguintes wikis usam este ficheiro: