Jump to content

File:First order hsked.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file(SVG file, nominally 630 × 630 pixels, file size: 142 KB)

Summary

 
W3C-validity not checked.
Description
English: Simple plot of random data with w:Heteroscedasticity, including a naive linear regression
Date 19:03, 29 July 2010 (UTC)
Source I (Protonk (talk)) created this work entirely by myself.
Author Protonk (talk)

Reproducible in R using the following code:

#simple hsked plot
set.seed(127)
x<-seq(1,200,1)
y<-3.8*x+25+err
err<-NULL
for(i in c(1:200)) {
	err[i]<-rnorm(1,0,i)
	}
y<-3.8*x+25+err;
plot(y~x,pch=20,main="Random Data with First-Order Heteroskedastic Errors")
abline(coef=lm(y~x)$coefficients,col=3)
legend(15,900,col=c(1,3),legend=c("Data Points","Linear Regression"),fill=c(1,3));
text(100,991,labels="Adj.",col=3)
text(110,1000,labels=expression(R^2),col=3)
text(116,995,labels="=",col=3)
text(128,995,labels=signif(summary(naivelm)$adj.r.squared,digits=4),col=3);

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported 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.
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

image/svg+xml

File history

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

Date/TimeThumbnailDimensionsUserComment
current19:03, 29 July 2010Thumbnail for version as of 19:03, 29 July 2010630 × 630 (142 KB)Protonk{{Information |Description = Simple plot of random data with Heteroscedasticity, including a naive linear regression |Source = I (~~~) created this work entirely by myself. |Date = ~~~~~ |Author = ~~~ |other_versions
No pages on the English Wikipedia use this file (pages on other projects are not listed).

Metadata