File:Stationarycomparison.png

From testwiki
Jump to navigation Jump to search
    Original file (640 × 640 pixels, file size: 59 KB, MIME type: image/png)

    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: Comparison of two simulated processes, one stationary, one nonstationary
    Date (UTC)
    Source Own work (Original text: I (Protonk (talk)) created this work entirely by myself.)
    Author Protonk (talk)
    set.seed(42)
    y<- w<- rnorm(1000)
    for (t in 2:1000) {
    y[t]<- 0.9*y[t-1]+w[t]
    }
    #Vector for line segments. 
    xy.mat<- cbind(c(0,450,225,750,600,1000),c(6.5,6.5,7.5,7.5,8.5,8.5))
    ##Plot the series, with annotations for means and the Dicky-Fuller Test##
    plot(1:length(y),y,xlab="t",ylab=expression(y[t]),type="l",ylim=c(-8,10),main="Stationary Time Series")
    text(125,-6.5,labels=expression(ADF == -6.128));
    
    set.seed(42)
    yns<- wns<- rnorm(1000)
    for (t in 3:1000) {
    yns[t]<-1.5*yns[t-1]-0.5*yns[t-2]+wns[t]
    }
    plot(1:length(yns),yns,xlab="t",ylab=expression(y[t]),type="l",ylim=c(-100,20),main="Non-stationary Time Series")
    text(125,-60,labels=expression(ADF == -2.0251));
    


    Licensing

    Protonk at English Wikipedia, the copyright holder of this work, hereby publishes it under the following license:
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
    Attribution:
    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.

    Original upload log

    The original description page was here. All following user names refer to en.wikipedia.
    Date/Time Dimensions User Comment
    2011-02-10 04:34 640×640× (60279 bytes) Protonk {{Information |Description = Comparison of two simulated processes, one stationary, one nonstationary |Source = I (~~~) created this work entirely by myself. |Date = ~~~~~ |Author = ~~~ |other_versions = }}

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    10 February 2011

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current09:06, 15 July 2015Thumbnail for version as of 09:06, 15 July 2015640 × 640 (59 KB)wikimediacommons>DarooooTransferred from en.wikipedia

    There are no pages that use this file.