File:Reg ls parabolica.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 600 × 600 pixels. Other resolutions: 240 × 240 pixels | 480 × 480 pixels | 768 × 768 pixels | 1,024 × 1,024 pixels | 2,048 × 2,048 pixels | 630 × 630 pixels.
Original file (SVG file, nominally 630 × 630 pixels, file size: 67 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionReg ls parabolica.svg |
Català: Regressió lineal simple amb dades parabòliques |
Date | |
Source | Own work |
Author | Pep Roca |
R source code
[edit]# Les dades tenen una distribució parabòlica
# Codi original: Vincent Zoonekynd (http://zoonek2.free.fr/UNIX/48_R/09.html#3)
N = 100
X = runif(N,-1,1)
Y = rnorm(N, X * X, .1)
DADES_RLS_PAR = data.frame(Y, X) # Es crea una taula de dades
save(DADES_RLS_PAR, file="dades/dades_rls_par.RData") # Se desa la taula de dades anàlisi posteriors
load("dades/dades_rls_par.RData") # Es carregen les dades (no cal)
svg("gra/reg_ls_par.svg")
plot(Y ~ X, data = DADES_RLS_PAR, main = "Relació parabòlica", xlab="X", ylab="Y")
abline(lm(Y ~ X, data = DADES_RLS_PAR), col="red")
mtext("La recta de regressió (en vermell) és de la Y sobre la X") # Subtítol
dev.off()
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following license:
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.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 13:01, 15 August 2012 | 630 × 630 (67 KB) | Pep Roca (talk | contribs) | Les dades són més realistes | |
16:16, 14 August 2012 | 630 × 630 (63 KB) | Pep Roca (talk | contribs) |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on ca.wikibooks.org