Talk:Stat340s13: Difference between revisions
Jump to navigation
Jump to search
(→Class 5 technical edit by j23kim: new section) |
No edit summary |
||
Line 17: | Line 17: | ||
end | end | ||
hist(x) | hist(x) | ||
p.s. I wonder this place is the correct place to upload my contribution |
Revision as of 21:15, 21 May 2013
Question: Where do we record our contributions to WikiCourseNote? Answer: <<https://docs.google.com/forms/d/1Sgq0uDztDvtcS5JoBMtWziwH96DrBz2JiURvHPNd-xs/viewform>>
Class 5 technical edit by j23kim
close all clear all ii=1; while ii<1000
u1=rand; u2=rand; y=floor(log(u1)/log(0.75)); if u2<exp(-3)*3^y/factorial(y)/(2.12*0.25*0.75^j) x(ii)=y; ii=ii+1; end
end hist(x)
p.s. I wonder this place is the correct place to upload my contribution