Talk:Stat340s13: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Question: Where do we record our contributions to WikiCourseNote? | Question: Where do we record our contributions to WikiCourseNote? | ||
Answer: <<https://docs.google.com/forms/d/1Sgq0uDztDvtcS5JoBMtWziwH96DrBz2JiURvHPNd-xs/viewform>> | Answer: <<https://docs.google.com/forms/d/1Sgq0uDztDvtcS5JoBMtWziwH96DrBz2JiURvHPNd-xs/viewform>> | ||
== Class 5 technical edit by j23kim == | |||
Example 2 Matlab code | |||
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 | |||
-----> You should be placing your contribution on the tab titled "page". This section is not for the contributions. The hyperlink above is where you record your contributions. |
Latest revision as of 12:59, 23 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
Example 2 Matlab code
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
> You should be placing your contribution on the tab titled "page". This section is not for the contributions. The hyperlink above is where you record your contributions.