Difference between revisions of "MoreLikelihood"

From Sean_Carver
Jump to: navigation, search
(New page: == Review == * Random number generators (rand and randn) produced differently distributed pseudo-random numbers. * Setting the random seed allows you to reproduce the same random numbers...)
 
Line 8: Line 8:
  
 
  lookfor random
 
  lookfor random
 +
 +
* Statistics: mean, median, mode, std, min, max.  These MATLAB commands are functions of data, but they have theoretical counterparts which depend upon the PMF or PDF.
 +
 +
* For discrete random variables: Probability Mass Function which is the function of the possible values of random variable equal to the fraction of throws that land on the value.
 +
 +
* For continuous random variables: Probability Density Function which is the function of the possible values of the random variable equal to the fraction of throws that land in a bin divided by width of bin, or actually the limit of this fraction as the bin width (bin containing the value) converges to 0.
 +
 +
* Not Review but Extension: The axiomatic theory of probability always has in mind a set of outcomes of the experiment in mind.  A ''random variable'' is  a "real valued" function of the possible outcomes of the experiment.  The possible values of the random variable might be the same as the possible outcomes, or there might be more outcomes.  Example: Say the experiment is to throw a dart at a dartboard and the random variable is the number of points awarded.  The values of the random variable are the integers between 0 and 100.  The possible outcomes of the experiment could be the number of points awarded or it might be the (Cartesian or polar) coordinates of the dart on the board.  In the latter case, infinitely many outcomes yeild the same value of the random variable.

Revision as of 21:20, 28 January 2009

Review

  • Random number generators (rand and randn) produced differently distributed pseudo-random numbers.
  • Setting the random seed allows you to reproduce the same random numbers.
  • Remember the help and type commands, these are useful for learning MATLAB. Here's another useful one:
lookfor random
  • Statistics: mean, median, mode, std, min, max. These MATLAB commands are functions of data, but they have theoretical counterparts which depend upon the PMF or PDF.
  • For discrete random variables: Probability Mass Function which is the function of the possible values of random variable equal to the fraction of throws that land on the value.
  • For continuous random variables: Probability Density Function which is the function of the possible values of the random variable equal to the fraction of throws that land in a bin divided by width of bin, or actually the limit of this fraction as the bin width (bin containing the value) converges to 0.
  • Not Review but Extension: The axiomatic theory of probability always has in mind a set of outcomes of the experiment in mind. A random variable is a "real valued" function of the possible outcomes of the experiment. The possible values of the random variable might be the same as the possible outcomes, or there might be more outcomes. Example: Say the experiment is to throw a dart at a dartboard and the random variable is the number of points awarded. The values of the random variable are the integers between 0 and 100. The possible outcomes of the experiment could be the number of points awarded or it might be the (Cartesian or polar) coordinates of the dart on the board. In the latter case, infinitely many outcomes yeild the same value of the random variable.