zajecia13
This commit is contained in:
parent
2b0e1c52ab
commit
4a667af647
@ -121,3 +121,5 @@ mean(pca_3$sdev^2)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
21
zajecia13/.Rhistory
Normal file
21
zajecia13/.Rhistory
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
head(mtcars)
|
||||||
|
plot(mtcars$mpg, mtcars$wt, xlab = "mpg", ylab = "wt", pch = 16)
|
||||||
|
shapiro.test(mtcars$mpg)$p.value
|
||||||
|
qqnorm(mtcars$mpg)
|
||||||
|
qqline(mtcars$mpg, col = "red")
|
||||||
|
shapiro.test(mtcars$wt)$p.value
|
||||||
|
qqnorm(mtcars$wt)
|
||||||
|
qqline(mtcars$wt, col = "red")
|
||||||
|
shapiro.test(mtcars$mpg)$p.value
|
||||||
|
qqnorm(mtcars$mpg)
|
||||||
|
qqline(mtcars$mpg, col = "red")
|
||||||
|
shapiro.test(mtcars$wt)$p.value
|
||||||
|
qqnorm(mtcars$wt)
|
||||||
|
qqline(mtcars$wt, col = "red")
|
||||||
|
cor.test(mtcars$mpg, mtcars$wt, method = "pearson")$p.value
|
||||||
|
cor.test(mtcars$mpg, mtcars$wt, method = "pearson")$est
|
||||||
|
cor.test(mtcars$mpg, mtcars$wt, method = "pearson")$conf.int
|
||||||
|
cor.test(mtcars$mpg, mtcars$wt, method = "kendall")$p.value
|
||||||
|
cor.test(mtcars$mpg, mtcars$wt, method = "kendall")$est
|
||||||
|
cor.test(mtcars$mpg, mtcars$wt, method = "spearman")$p.value
|
||||||
|
cor.test(mtcars$mpg, mtcars$wt, method = "spearman")$est
|
5
zajecia13/README.md
Normal file
5
zajecia13/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Zajęcia 13
|
||||||
|
Analiza korelacji
|
||||||
|
|
||||||
|
|
||||||
|
## Notatki
|
BIN
zajecia13/Zajęcia13.pdf
Normal file
BIN
zajecia13/Zajęcia13.pdf
Normal file
Binary file not shown.
21
zajecia13/zadania.R
Normal file
21
zajecia13/zadania.R
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# ZAD1
|
||||||
|
|
||||||
|
head(mtcars)
|
||||||
|
|
||||||
|
plot(mtcars$mpg, mtcars$wt, xlab = "mpg", ylab = "wt", pch = 16)
|
||||||
|
|
||||||
|
shapiro.test(mtcars$mpg)$p.value
|
||||||
|
qqnorm(mtcars$mpg)
|
||||||
|
qqline(mtcars$mpg, col = "red")
|
||||||
|
shapiro.test(mtcars$wt)$p.value
|
||||||
|
qqnorm(mtcars$wt)
|
||||||
|
qqline(mtcars$wt, col = "red")
|
||||||
|
|
||||||
|
cor.test(mtcars$mpg, mtcars$wt, method = "pearson")$p.value
|
||||||
|
cor.test(mtcars$mpg, mtcars$wt, method = "pearson")$est
|
||||||
|
cor.test(mtcars$mpg, mtcars$wt, method = "pearson")$conf.int
|
||||||
|
|
||||||
|
cor.test(mtcars$mpg, mtcars$wt, method = "kendall")$p.value
|
||||||
|
cor.test(mtcars$mpg, mtcars$wt, method = "kendall")$est
|
||||||
|
cor.test(mtcars$mpg, mtcars$wt, method = "spearman")$p.value
|
||||||
|
cor.test(mtcars$mpg, mtcars$wt, method = "spearman")$est
|
13
zajecia13/zajecia13.Rproj
Normal file
13
zajecia13/zajecia13.Rproj
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Version: 1.0
|
||||||
|
|
||||||
|
RestoreWorkspace: Default
|
||||||
|
SaveWorkspace: Default
|
||||||
|
AlwaysSaveHistory: Default
|
||||||
|
|
||||||
|
EnableCodeIndexing: Yes
|
||||||
|
UseSpacesForTab: Yes
|
||||||
|
NumSpacesForTab: 2
|
||||||
|
Encoding: UTF-8
|
||||||
|
|
||||||
|
RnwWeave: Sweave
|
||||||
|
LaTeX: pdfLaTeX
|
@ -20,7 +20,7 @@ Wartość p, p-wartość, prawdopodobieństwo testowe.
|
|||||||
|
|
||||||
|
|
||||||
## Wykres Q-Q
|
## Wykres Q-Q
|
||||||
Ten wykres (kwantyl - kwantyl) słuzy do porównania wartości estymowanej - linia z prawdziwymi zmierzonymi wartościami - kropki.
|
Ten wykres (kwantyl - kwantyl) słuzy do porównania wartości estymowanej - linia, z prawdziwymi zmierzonymi wartościami - kropki.
|
||||||
W tych ćwiczeniach ta wartość przewidziana to po prostu najlepiej pasująca linia do punktów.
|
W tych ćwiczeniach ta wartość przewidziana to po prostu najlepiej pasująca linia do punktów.
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
![QQ](q-q.png)
|
![QQ](q-q.png)
|
||||||
|
Loading…
Reference in New Issue
Block a user