File:Reg ls homoc.svg
Original file (SVG file, nominally 630 × 630 pixels, file size: 46 KB)
Captions
Summary edit
DescriptionReg ls homoc.svg |
Català: Regressió lineal simple amb violació de la homocedasticitat |
Date | |
Source | Own work |
Author | Pep Roca |
Exemple de tret del curs Coursera Regression Models de Brian Caffo et al consultat 29-06-2014
R source code edit
# Exemple de tret del curs Coursera Regression Models de Brian Caffo et al consultat 29-06-2014
# <ref name="Caffo-Coursera-R-Models" />
set.seed(123) # El fixa la llavor per generar nombres aleatoris
X = runif(100, 0, 6) # Valors variable independent
Y = X + rnorm(100, mean =0, sd = 0.0001 * X) # Valors variable dependent
svg("gra/reg_ls_homoc.svg") # Desar el diagrama en un fitxer tipus svg
plot(Y ~ X) # Diagrama de dispersió
abline(lm(Y ~ X)) # Línia de la recta de regressió
dev.off() # Tancar i desar el diagrama
Licensing edit
- 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 | 19:55, 29 June 2014 | 630 × 630 (46 KB) | Pep Roca (talk | contribs) | User created page with UploadWizard |
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
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 504pt |
---|---|
Height | 504pt |