Generate samples for each distribution, Basic Statistics

Assignment Help:

Generate 1000 samples for each of the following continuous random variables:

(a). Exponential distribution with λ = 1.2 and λ = 2.1

(b). Normal distribution with μ = 3.1, σ2 =5 and μ = 1, σ2 = 2

For each class of the above distribution, plot the cumulative distribution function for each set parameters on one figure (you should have two curves on each figure and have overall two figures). In addition, you should also plot the corresponding analytical results (CDF curve based on distribution formulas) on the same figure. In this way, you can verify whether your simulated random variables match with analytical results.

In addition, calculate the mean value and variance of generated samples for each distribution (sample mean and sample variance). Compare the results with the analytical results.


Related Discussions:- Generate samples for each distribution

TRENDS , Why do we particularly omit the middle year when using the semi-av...

Why do we particularly omit the middle year when using the semi-average method to fit a trend line

Accounting standards in europe, Accounting Standards in  Europe  countr...

Accounting Standards in  Europe  countries:   Europe has seen the maximum progress in having developed its accounting standards. In 2000, a document was published by the Europe

Determine the probability - baye theorem, In a suburban community, 30% of t...

In a suburban community, 30% of the households use Brand A toothpaste, 27% use Brand B, 25% use Brand C, and 18% use Brand D. In the four groups of households, the proportions of r

Calculate the posterior variance and mean, 1. Suppose that there is a Beta(...

1. Suppose that there is a Beta(2,2) prior distribution on the probability µ that a coin will yield a "head" when spun in a speci?ed manner. The coin is independently spun 10 times

Current Liabilities and Payroll , Prior to the last payroll period of the c...

Prior to the last payroll period of the calendar year, the cumulative earnings of Employer A were $105000. The earnings for the last payroll period of the year which will be paid o

What is a sole proprietorship, What is a sole proprietorship? A sole pr...

What is a sole proprietorship? A sole proprietorship is a form of business organization that is owned by one person. The owner is referred to as a sole proprietor. In accoun

Regression, Tuddenham and Snyder obtained the following results for 66 Cali...

Tuddenham and Snyder obtained the following results for 66 California boysat ages 6 and 18 (the scatter diagram is football-shaped): average height at 6 ˜ 3 feet 10 inches, SD˜1.7

Degree of tastiness, A researcher is interested in comparing tastiness of d...

A researcher is interested in comparing tastiness of different parts of cheese in grilled cheese sandwiches.  The researcher expects that Cheddar cheese grilled sandwiches are rate

Probability, #question An electronic assembly is subjected to a final funct...

#question An electronic assembly is subjected to a final functional test. Suppose that defects occur at random in these assemblies, and that these defects occur according to a Pois

Histogram, difference between histogram and historigram

difference between histogram and historigram

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd