08.02.2013 Views

Biostatistics for Animal Science

Biostatistics for Animal Science

Biostatistics for Animal Science

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 3<br />

Random Variables and their Distributions<br />

A random variable is a rule or function that assigns numerical values to observations or<br />

measurements. It is called a random variable because the number that is assigned to the<br />

observation is a numerical event which varies randomly. It can take different values <strong>for</strong><br />

different observations or measurements of an experiment. A random variable takes a<br />

numerical value with some probability.<br />

Throughout this book, the symbol y will denote a variable and yi will denote a<br />

particular value of an observation i. For a particular observation letter i will be replaced<br />

with a natural number (y1, y2, etc). The symbol y0 will denote a particular value, <strong>for</strong><br />

example, y ≤ y0 will mean that the variable y has all values that are less than or equal to<br />

some value y0.<br />

Random variables can be discrete or continuous. A continuous variable can take on all<br />

values in an interval of real numbers. For example, calf weight at the age of six months<br />

might take any possible value in an interval from 160 to 260 kg, say the value of 180.0 kg<br />

or 191.23456 kg; however, precision of scales or practical use determines the number of<br />

decimal places to which the values will be reported. A discrete variable can take only<br />

particular values (often integers) and not all values in some interval. For example, the<br />

number of eggs laid in a month, litter size, etc.<br />

The value of a variable y is a numerical event and thus it has some probability. A table,<br />

graph or <strong>for</strong>mula that shows that probability is called the probability distribution <strong>for</strong> the<br />

random variable y. For the set of observations that is finite and countable, the probability<br />

distribution corresponds to a frequency distribution. Often, in presenting the probability<br />

distribution we use a mathematical function as a model of empirical frequency. Functions<br />

that present a theoretical probability distribution of discrete variables are called probability<br />

functions. Functions that present a theoretical probability distribution of continuous<br />

variables are called probability density functions.<br />

3.1 Expectations and Variances of Random Variables<br />

Important parameters describing a random variable are the mean (expectation) and<br />

variance. The term expectation is interchangeable with mean, because the expected value of<br />

the typical member is the mean. The expectation of a variable y is denoted with:<br />

E(y) = µy<br />

The variance of y is:<br />

Var(y) = σ 2 y = E[(y – µy) 2 ] = E(y 2 ) – µy 2<br />

26

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!