fixes
This commit is contained in:
parent
1c575b8ecb
commit
3de8ab507f
13
egzamin/egzamin.Rproj
Normal file
13
egzamin/egzamin.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
|
1
egzamin/zadania.R
Normal file
1
egzamin/zadania.R
Normal file
@ -0,0 +1 @@
|
|||||||
|
# zad
|
@ -162,7 +162,7 @@ barplot(counts,
|
|||||||
main = "Rozklady empiryczny i teoretyczny liczby zgloszen",
|
main = "Rozklady empiryczny i teoretyczny liczby zgloszen",
|
||||||
col = c("red", "blue"), legend = rownames(counts), beside = TRUE)
|
col = c("red", "blue"), legend = rownames(counts), beside = TRUE)
|
||||||
|
|
||||||
#kwanty-kwantyl, linia to moj estymator
|
#kwanty-kwantyl
|
||||||
qqplot(rpois(length(Centrala$Liczba), lambda = lambda_est), Centrala$Liczba,
|
qqplot(rpois(length(Centrala$Liczba), lambda = lambda_est), Centrala$Liczba,
|
||||||
xlab = "Kwantyle teoretyczne", ylab = "Kwantyle empiryczne",
|
xlab = "Kwantyle teoretyczne", ylab = "Kwantyle empiryczne",
|
||||||
main = "Wykres kwantyl-kwantyl dla liczby zgloszen")
|
main = "Wykres kwantyl-kwantyl dla liczby zgloszen")
|
||||||
@ -374,6 +374,12 @@ qqline(y)
|
|||||||
var(x)
|
var(x)
|
||||||
var(y)
|
var(y)
|
||||||
var.test(x, y, alternative = "less")$p.value
|
var.test(x, y, alternative = "less")$p.value
|
||||||
|
|
||||||
|
#test t-studenta dla jednej próby
|
||||||
|
load("Hamulce.RData")
|
||||||
|
attach(Hamulce)
|
||||||
|
mean(Wynik)
|
||||||
|
t.test(Wynik,mu=18.6,alternative='less')
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user