:: Simulated Regression - 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 program is one that an instructor could use to introduce simple linear regression. This R module uses a simple simulated data set and allows a sequence of graphs which show what regression is trying to do, how you can use it for prediction, and shows the residual plot. The last part uses a quadratic data set to show what the residual plot looks like in this case.
You can replace the default x and y by changing the underlying R code - for example: x=1:20 and y=1:20+rgamma(20,2,1)
|Cite this software as:|
|Weldon Larry, (2017), Simulated Regression (v1.0.3) in Free Statistics Software (v1.2.1), Office for Research Development and Education, URL https://www.wessa.net/rwasp_regr.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|
To cite Wessa.net in publications use:
Wessa, P. (2022), 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.
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 : www.wessa.net