Skip to content

ramjan1729/Mean-and-Variance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

Mean and variance of a discrete distribution

Aim :

To find mean and variance of arrival of objects from the feeder using probability distribution

Software required :

Python and Visual components tool

Theory:

The expectation or the mean of a discrete random variable is a weighted average of all possible values of the random variable. The weights are the probabilities associated with the corresponding values. It is calculated as,

image

The variance of a random variable shows the variability or the scatterings of the random variables. It shows the distance of a random variable from its mean. It is calcualted as

image

Procedure :

  1. Construct frequency distribution for the data

  2. Find the probability distribution from frequency distribution.

  3. Calculate mean using

    image

  4. Find

    image

  5. Calculate variance using

    image

Experiment :

image

Program :

Output :

Results :

The mean and variance of arrivals of objects from feeder using probability distribution are calculated.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published