0% found this document useful (0 votes)
16 views2 pages

Module 3: Probability and Statistics Tasks

1. The document contains 11 assignments related to probability distributions and statistical analysis. The assignments include estimating parameters of exponential, normal, and gamma distributions from data; obtaining maximum likelihood estimators; correlation and regression analysis; and generating random samples from different distributions to compare statistics.

Uploaded by

Fofo Elorfi
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

Module 3: Probability and Statistics Tasks

1. The document contains 11 assignments related to probability distributions and statistical analysis. The assignments include estimating parameters of exponential, normal, and gamma distributions from data; obtaining maximum likelihood estimators; correlation and regression analysis; and generating random samples from different distributions to compare statistics.

Uploaded by

Fofo Elorfi
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Assignment – Module 3

1. A data set is assumed to follow exponential distribution, with

1
f ( x) =
−x
α x>0
e
α

In the data set, 60% of the values are less than 2.5, estimate the parameter α.

2. Obtain the maximum likelihood estimators of the parameters a and b for the pdf.

 x−a 
− 
 b 
e
f ( x) = a < x < ∞ , -∞ < a < ∞ , b > 0
b

3. Obtain the parameters of the following distribution using method of moments

f(x) = (a+1) x a 0 <x < 1

4. Peak flows at a site have a mean of 675 units and a standard deviation of 220 units.

Obtain the maximum probability that the peak flow in a year will deviate more than 450

units from the mean using Chebyshev’s inequality.

5. Obtain the correlation coefficient for the yearly rainfall and the yearly runoff of a

catchment, 20 years data for which is given below.

Rainfall (cm) 377 363 458 365 430 365 366 317 311 392
Runoff (cm) 365 357 416 358 399 358 359 328 324 375

Rainfall (cm) 353 439 410 423 436 601 336 464 490 402
Runoff (cm) 351 404 386 394 402 506 340 420 436 381

6. Consider the data in the previous problem; obtain the regression equation between

rainfall and runoff.


7. Observations for the past 10 years of groundwater discharge and estimated recharge (in

consistent units) of an artesian aquifer are given below

Discharge 12.2 10.4 10.6 12.6 14.2 13.0 14.0 12.0 10.4 11.4

Recharge 12.0 9.8 11.0 13.2 14.6 14.0 14.0 12.4 10.4 11.6

Assuming a linear relationship between discharge and recharge, with discharge as the

dependent variable and recharge as independent variable, what will be the discharge

when the recharge is 13 units?

8. Generate 50 observations from an exponential distribution with λ = 0.7, Compare the

simulated mean with observed mean.

9. Generate independent samples of 10, 20, 50 and 100 observations from normal

distribution with mean 5 and standard deviation 2. Compare these values of mean and

standard deviation with the computed ones.

10. Generate independent samples of 10, 20, 30, 40, 50 and100 observations from gamma

distribution with η = 2 and λ = 2.

11. Assuming that the peak flows (in cumecs) given below follow a (a) Normal Distribution,

(b) log-normal distribution, and (c) Exponential Distribution, generate 50 values of the

peak flows, and compare the appropriate statistics of the generated flows for each of the

distributions used with those of the observed flows

14,000 17,700 17,500 15,500 20,500 18,100 15,800 14,900


16,300 14,900 17,600 17,000 17,300 18,300 19,100 17,900
19,400 22,900 16,200 14,300

Common questions

Powered by AI

The method of moments involves equating the moments of the distribution to the sample moments. For a uniform distribution f(x) = (a+1)x^a on (0, 1), the first theoretical moment E(X) is 1/(a+2). Equating this to the sample mean gives an equation in terms of a, which can be solved for a. Further moments could be used for additional accuracy in estimation .

Generate 50 values of peak flows for assumptions of normal, log-normal, and exponential distributions from provided data. Calculate appropriate statistics (e.g., mean, variance) for each generated set. Analyze differences in these statistics between models, noting how assumptions about distribution shape impact results. Assess fit by comparing generated statistics to observed flow data using goodness-of-fit tests .

Generate 50 observations using λ = 0.7. The theoretical mean of an exponential distribution is 1/λ = 1.428. Simulate the sample and calculate the sample mean. Compare this sample mean to the theoretical mean to assess the accuracy of the simulation. Deviations are expected due to random sampling effects .

To estimate the parameter α for an exponential distribution, we use the cumulative distribution function (CDF). For an exponential distribution, the CDF is given by F(x) = 1 - e^{-αx}. Given that 60% of the values are less than 2.5, F(2.5) = 0.6. Hence, we have 1 - e^{-α*2.5} = 0.6. Solving this equation for α gives α = -ln(0.4)/2.5 ≈ 0.366 .

Generate independent samples of varying sizes (10, 20, 50, 100) with known mean (5) and standard deviation (2). Calculate the sample means and standard deviations for each size. Compare these calculated statistics to the expected theoretical values (5 and 2). Sampling variability affects small samples. Analyze whether larger sample sizes give statistics closer to theoretical values due to the Central Limit Theorem .

Chebyshev’s inequality states that for any random variable with mean μ and standard deviation σ, the probability that the value deviates from the mean by more than kσ is at most 1/k². For a mean of 675 units and a standard deviation of 220 units, the deviation of 450 units means k = 450/220 = 2.045. The maximum probability that the peak flow deviates more than 450 units from the mean is therefore at most 1/(2.045^2) ≈ 0.239 .

To obtain the maximum likelihood estimators (MLE) for parameters a and b of the given PDF f(x) = (x-a)/b * e^{-(x-a)/b}, where a < x < ∞ and b > 0, we must first construct the likelihood function L based on n observations xi. L = Product ( (xi - a)/b * e^{-(xi-a)/b} ). Taking the log of the likelihood function and differentiating with respect to a and b, and then setting these derivatives to zero provides the MLEs for the parameters. Detailed calculations are required to obtain specific expressions for a and b. .

The regression equation is calculated using the least squares method, which minimizes the sum of squares of the residuals. The formula is ŷ = b₀ + b₁x, where b₁ = covariance(x, y) / variance(x) and b₀ = mean_y - b₁*mean_x. Using the given rainfall and runoff data, the regression coefficients are calculated resulting in a regression equation of ŷ = 12.97 + 0.947x .

Using the linear regression equation obtained from historical data relating discharge and recharge: discharge = b₀ + b₁*recharge. With given data, calculate the regression coefficients b₀ and b₁. For recharge of 13 units, substituting into the regression equation gives a predicted discharge value using these coefficients .

To obtain the correlation coefficient, use the formula: r = Σ[(x_i - x̄)(y_i - ȳ)] / [ sqrt(Σ(x_i - x̄)²) * sqrt(Σ(y_i - ȳ)²) ], where x̄ and ȳ are the means of the x and y samples, respectively. Plugging in the data of yearly rainfall and runoff provided, the computations yield r ≈ 0.856, indicating a strong positive correlation .

You might also like