Homework
- Exercise1: Write an Splus program that simulates a system of n
components connected in parallel. Let the probability that a component
fails be p. Estimate the probability that the system fails.
- Exercise2: Using Splus plot:
1) Bin(n = 10, p = 0.5), Poi(lambda = 5)
2) Bin(n = 1000, p = 0.005), Poi(lambda = 5)
- Exercise3: Using Splus simulate n = 100 standard normal values,
square each value, and plot. Comment on the shape of the distribution.
- Exercise4: Using Splus plot
1) the exponential p.d.f for lambda = 0.4, 1, 8
2) the gamma p.d.f for alpha = 1, lambda = 0.4, 1,
8 and for alpha = 0.5, 1, 5, lambda = 2.5