Calculate the mean value and variance, Basic Statistics

Assignment Help:

1. Generate 1000 samples for each of the following discrete random variables:

(a). Binomial distribution with n=40, p=0.7, and distr. with n=50, p=0.5

(b). Geometric distribution with p=0.5 and distr. with p=0.3

(c). Poisson distribution with λ= 6 and λ= 4.5

For each class of the above distribution, plot probability mass function for each set parameters on one figure (you should have two curves on each figure and have three figures overall). In addition, you should also plot the corresponding analytical results (probability mass function curve based on distribution formulas) on the same figure. In this way, you can verify whether your simulated random variables match with analytical results. That means on each figure, there are four curves (two simulations, two analytical). Use "legend" to denote each curve, and use different line style and color for each curve (see help on plot()). You should show the X-axis with reasonable range such that the curves can be clearly seen (check wikipiedia's figures for these distributions).

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:- Calculate the mean value and variance

Determine angle rounded to the nearest degree, Assume that the pulleys are ...

Assume that the pulleys are small frictionless pulleys. Three weights are supported as shown and have weights of W A = P5 N, W B = P6 N, and W C = P7 N.  Determine angle θ

Marginal costing , HOW DO U CALCULATE VARIABLE SELLING AND ADMINISTRATIVE ...

HOW DO U CALCULATE VARIABLE SELLING AND ADMINISTRATIVE EXPENSES IF GIVEN MARKETING COSTS ADVERTSING P6000 PER MONTH SALES PERSONNEL SALARIES AND COMMISSION R 80000 PER MONTH PLUS

Index number, Characteristics of index number

Characteristics of index number

Probability and Counting Rules, what is the form of the answers in probabil...

what is the form of the answers in probability? in decimal? in fraction? or what?

Determine the probability, Question 1: A mail-order firm has a circular...

Question 1: A mail-order firm has a circular which elicits a 10% response rate. Suppose 20 of the circulars are mailed as a market test in a new geographic area. Assuming that

Kripsy kreme, How did round trip transactions violatet the revenue recognit...

How did round trip transactions violatet the revenue recognition principle?

T accounts, if my income for the rest of the month was 2,500 and i recieved...

if my income for the rest of the month was 2,500 and i recieved 1,200 in cash balance on account where would i put this

Spss, SPSS Assignment 1. Execute the following functions using SP...

SPSS Assignment 1. Execute the following functions using SPSS.  a) Enter the following data Case Age Weight Gender

Simple data analysis&comparison, Progect Guid: PROJECT 1: SIMPLE DATA ANA...

Progect Guid: PROJECT 1: SIMPLE DATA ANALYSIS & COMPARISON REPORT GUIDELINES This document contains general guidelines for the preparation of the Project Report I. Please note,

Index numbers, discuss the considerations to be borne in mind when construc...

discuss the considerations to be borne in mind when constructing index numbers

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