Talk:Stat340s13: Difference between revisions

From statwiki
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:


== Class 5 technical edit by j23kim ==
== Class 5 technical edit by j23kim ==
Example 2 Matlab code


close all
close all
Line 19: Line 22:


p.s. I wonder this place is the correct place to upload my contribution
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.