Академический Документы
Профессиональный Документы
Культура Документы
Correlation
z*
• cor(x,y).
1 + confidence level
• z * = qnorm
Coefficient of Determination 2
• cor(x,y)^2 • qnorm (area to the left ) = critical value for the z-
distribution
Least Square Regression Line (LSRL) • pnorm(z) = area to the left
• lm(y~x)
• 1 – pnorm(z) = area to the right
Residuals of the LSRL
• resid(lm(y~x))
t*
Draw the LSRL through the scatterplot 1 + CL
• abline(lm(time~age)) • qt , df
2
Draw a horiztonal line at 0 through the residual plot • qt(area to the left,df) = critical value for the t-
• abline(0,0) distribution
• pt(t, df) = area to the left
N random intergers from a to b
• 1 – pt(t, df) = area to the right
• sample(a:b,N)
RStudio Quick Reference Guide Page 3 of 3
Graphs
• stripchart(name of data
set,method=”stack”,pch=16,cex=2,offset=1)