Teaching‎ > ‎CS350 Spring 2009 TF‎ > ‎

2009-01-30

posted Jan 30, 2009, 10:59 AM by Site Admin Role
  • Review E[g(x)], mean = E[x], variance σ2 = E[(x - E[x])2], standard deviation = σ. What is E[1]?
  • Implement the discrete version of expect in C++. Tested on uniform distribution.
  • Sampling PRNG in C, print buckets.
  • Derived variance of uniform distribution: 1/12 * (a-b)2.
ċ
expect.cc
(1k)
Site Admin Role,
Jan 30, 2009, 11:07 AM
ċ
sample.c
(1k)
Site Admin Role,
Jan 30, 2009, 11:07 AM
Comments