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$Xfexample <- read.table("dane_kosiarki.txt",header=TRUE) example s.wl <- example$Y==ldane.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 hasFile0043 Giving and receiving Read the text. Are the sentences true or false? 6ift-qivinq in BritainWykład 6 wzrost = read.csv2(rWzrost.csv“, header = F)[,1] ?t. test ?chisq.test aproposftest ) AtestuZDIĘCIA0056 4 Read the text carefully. Are the sentences true or false? ■ 1 TJ. Watson was correct aj[*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 trNew?ventures Elementary Teacher s Book testy Unit 4 Test str 3 > Reading Read the text. Then wriskanuj0011 2 READING a Quickly read the guidebook extract about the London Eye and answer the ąuestif11 1 data: begin of it occurs 3,f1(D, f2(2), end of it. header linę body itf11 1 data: begin of it occurs 3, f1(1)»*2(2), end of it. header linę f 1 f 2f11 7 append it header linę O Y Y f1 f 2 body A X X B Y Y cf12 1 spturr) t. -c<i~; ty sa m! headertne rairwf14 11 MFC AppWizard - Step 2 of 6EJ What database support would you like to include? <• fignĄ Hęwięcej podobnych podstron