28087

28087



data2<- read.tableCdrukarki.txt", header = FALSE) colnames(data2)<-c('czas1,'liczbaDruk1) czas<-data2$czas LDr<-data2$liczbaDruk

plot(czas,LDr)

hist(czas,col='red')

X<-czas Y<-LDr lm( Y - X)

Im.linear <- lm(Y - X)

Im.linear

summa ry (Im. linea r) residuals(Im.linear)

Im.linear.resids <- residuals(Im.linear) hist(lm.linear.resids, col='blue')

plot(X,Y)

lines(X,fitted(Im.linear)) plot(X,Y)

lines(X,fitted(Im.linear),col='blue') segments(X,fitted(lm.linear),X,Y,col='red')

qqno rm(resid(Im.linea r), col='red') pred.framę <- data.framę(X=l:160)

pp <- predict (Im .linear, int="p", newdata=p red. f ramę) pc <- predict (Im .linear, int=,'c", newdata=pred .f ramę) plot(X,Y,ylim=range(Y, pp, na.rm=T)) pred.X <- pred.frame$X

matlines(pred.X, pc, lty=c(1,2,2), col="red") matlines(pred.X, pp, lty=c(1,3,3), col="blue")

p redict(Im.linea r,int="c") predict (Im.linear,int="p")

cor(X,Y, use="complete.obs") cor(data2,use="complete.obs‘') cor.test(X,Y)



Wyszukiwarka

Podobne podstrony:
datal <- read.tablepDANEl.txt", header = TRUE) hist(datal$X) plot(datal$Xf
example <- read.table("dane_kosiarki.txt",header=TRUE) example s.wl <- example$Y==l
dane.pr <- read.table("DANE_Predkosc_reakcji.txt", header = TRUE) attach(dane.pr) resul
□ X □ X READ_ME.txt - Notepad File Edit Format View Help [WALDO RANSOMWARE] Oops! Your Computer has
File0043 Giving and receiving Read the text. Are the sentences true or false? 6ift-qivinq in Britain
Wykład 6 wzrost = read.csv2(rWzrost.csv“, header = F)[,1] ?t. test ?chisq.test aproposftest ) Atestu
ZDIĘCIA0056 4 Read the text carefully. Are the sentences true or false? ■ 1 TJ. Watson was correct a
j[*Read Before Usage.txt AK47 (cw).amc AK-47.amc AK74U.amc □
New?ventures Elementary Teacher s Book testy Unit 3 Test str 3 Reading Read the text. Then write tr
New?ventures Elementary Teacher s Book testy Unit 4 Test str 3 > Reading Read the text. Then wri
skanuj0011 2 READING a Quickly read the guidebook extract about the London Eye and answer the ąuesti
f11 1 data: begin of it occurs 3,f1(D, f2(2), end of it. header linę body it
f11 1 data: begin of it occurs 3, f1(1)»*2(2), end of it. header linę f 1    f 2
f11 7 append it header linę O Y Y f1 f 2 body A X X B Y Y c
f12 1 spturr) t. -c<i~; ty sa m! headertne rairw
f14 11 MFC AppWizard - Step 2 of 6EJ What database support would you like to include? <• fignĄ Hę

więcej podobnych podstron