::Free Statistics and Forecasting Software::

v1.2.1

 

:: Smoothing Time Series Example - Free Statistics Software (Calculator) ::

All rights reserved. The non-commercial (academic) use of this software is free of charge. The only thing that is asked in return is to cite this software when results are used in publications.

This R module demonstrates with real data that gas consumption as usually measured by drivers is quite variable, and with no apparent trend, until a nonparametric smoother reveals a very distinct seasonal pattern. Ask students if they see anything in the data. The first graph you see is the raw data, and in the next graph the smoothed fit is displayed. The point of the demo is that nonparametric smoothing is easy to understand and useful, and should be taught in intro stats courses. The program can also be used to demonstrate the trial-and-error approach to choosing the degree of smoothing, by varying the parameter 'span'.

Send output to:
Span 
Smooth? 
Chart options
Width:
Height:



Source code of R module
Top | Output | Charts | References



Cite this software as:
Weldon Larry, (2017), Time Series Smoothing Example (v1.0.4) in Free Statistics Software (v1.2.1), Office for Research Development and Education, URL https://www.wessa.net/rwasp_gas.wasp/
The R code is based on :
Weldon Larry, Stat Ed Programs for Demos in R, Simon Fraser University, URL http://www.stat.sfu.ca/~weldon/title.doc
Weldon Larry, R Programs for Statistics Education, Simon Fraser University, URL http://www.stat.sfu.ca/~weldon/Programs
Weldon Larry, Instructions for using R programs for Statistics Education, Simon Fraser University, URL http://www.stat.sfu.ca/~weldon/instructions.doc
Top | Output | Charts | References

To cite Wessa.net in publications use:
Wessa, P. (2017), Free Statistics Software, Office for Research Development and Education,
version 1.2.1, URL https://www.wessa.net/

© All rights reserved. Academic license for non-commercial use only.
The free use of the scientific content, services, and applications in this website is granted for non commercial use only. In any case, the source (url) should always be clearly displayed. Under no circumstances are you allowed to reproduce, copy or redistribute the design, layout, or any content of this website (for commercial use) including any materials contained herein without the express written permission.

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. We make no warranties or representations as to the accuracy or completeness of such information (or software), and it assumes no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.

Software Version : 1.2.1
Algorithms & Software : Patrick Wessa, PhD
Server : wessa.net

About | Comments, Feedback & Errors | Privacy Policy | Statistics Resources | Wessa.net Home

 © Wessa.Net 2002-2017