This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: STAT 4220
Extra Credit HW1 (10 points)
Due on Thu, March 4
1. Write an eﬃcient R code that could produce the following ﬁgures.
(a) Figure 1
Extra credit HW Problem 1 t y o f i
e o v r g i n i a U (b) Figure 2
Extra credit HW Problem 2
a t p i e c s D 1 >
x = "University of Georgia"
w = unlist(strsplit(x, "."))
m = length(w)
for (i in 1:m)
... substring2(x, i, i);
zx[i] = qnorm(i/(m+1));
xx = zx
# the locations
yy = dnorm(zx) # the heights 2 ...
View Full Document
This note was uploaded on 06/06/2011 for the course STAT 4220 taught by Professor Smith during the Spring '08 term at UGA.
- Spring '08