File:ItoIntegralWienerProcess.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 720 × 540 pixels, file size: 15.27 MB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description
    English: Ito Integral (blue) of a Brownian motion (red).
    Date
    Source Own work
    Author Shiyu Ji
    SVG development
    InfoField
     The SVG code is valid.
     This oversized plot was created with Matplotlib.

    Python/Matplotlib Code

    # A simulation of Ito Integral of a Wiener process with time step dt = .0001
    import matplotlib.pyplot as pl
    import numpy as np
    
    t0 = 0.0
    dt = 0.0001
    t_final = 3.9
    T = np.arange(t0, t_final, dt)
    ax = pl.figure().add_subplot(111)
    ax.set_xlabel('X')
    ax.set_ylabel('Y')
    
    x = 0.0
    sigma = 100.0
    # Ito Integral
    np.random.seed(2)
    for t in T:
        new_x = x + sigma * np.random.normal(0, dt)
        ax.plot([t, t+dt], [(x*x-t)/2, (new_x*new_x-t-dt)/2], 'b-', linewidth=0.5)
        x = new_x
    
    # sigma * dW process
    x = 0.0
    np.random.seed(2)
    for t in T:
        new_x = x + sigma * np.random.normal(0, dt)
        ax.plot([t, t+dt], [x, new_x], 'r-', linewidth=0.5)
        x = new_x
    
    pl.show()
    

    Licensing

    I, the copyright holder of this work, hereby publish it under the following license:
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

    Captions

    Интеграл Ито (голубой) броуновского движения (красный).

    Items portrayed in this file

    depicts

    11 November 2016

    16,009,656 byte

    image/svg+xml

    49b37e383f3b7d6ab1d0a79b41c0f70f8b9dffb2

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current23:13, 11 November 2016Thumbnail for version as of 23:13, 11 November 2016720 × 540 (15.27 MB)wikimediacommons>Shiyu JiUser created page with UploadWizard

    There are no pages that use this file.