F71SM STATISTICAL METHODS Tutorial on Section 3 RANDOM VARIABLES 1. A discrete random variable X has probability mass function x012 f (x) 0.25 0.5 0.25…
F71SM Statistical Methods Heriot-Watt University Computer Lab 1: Data summaries, plots and functions in R 1. The data in this task refer to the amount…
Discrete distributions Uniform on {1, 2, . . . , k}: parameter k a positive integer; X is the outcome in the situation in which…
F71SM STATISTICAL METHODS Tutorial on Section 4 SPECIAL DISTRIBUTIONS (discrete distributions) 1. Let X ∼ b(n,p) and Y ∼ b(n,1−p). Note that P(X ≥ k)…
################################################### # Computer Lab 4 – F71SM ################################################### ## In the tasks below, fill in any missing code as ## required. ## Make sure you…
F71SM STATISTICAL METHODS Tutorial on Section 2 PROBABILITY 1. (a) BywritingA∪B∪CasA∪DwhereD=B∪C,verifythat P(A∪B∪C) = P(A)+P(B)+P(C)−P(A∩B)−P(A∩C)−P(B∩C)+P(A∩B∩C) (b) BywritingA∩B∩C asD∩C ,whereD=A∩B,verifythat P(A ∩ B ∩ C) = P(A)P(B|A)P(C|A…
F71SM STATISTICAL METHODS 1 DATA SUMMARY 1.1 Introduction Data: our data consist of a sample x = (x1, x2, . . . , xn) from…
################################################### # Computer Lab 4 – F71SM ################################################### ## In the tasks below, fill in any missing code as ## required. ## Make sure you…
1 Resources The home page for R is at http://www.r-project.org/. This contains links to obtain the software itself, gives access to the wealth of online…
F71SM STATISTICAL METHODS 3 RANDOM VARIABLES 3.1 Introduction: random variables, distribution functions, proba- bility mass and density functions Given a probability space (S, P ),…