next up previous


This LaTeX document is available as postscript or asAdobe PDF.

ANSC*6370 QG and Animal Models
Fall 03 - Quiz 9 - Answers

1.
How would you simulate a normal distribution variable that has mean 0 and variance 64?


vi = RND * (64)0.5



2.
How would you simulate a normal distribution variable that has mean 100 and variance 64?

vi = 100 + RND * 8



3.
How would you simulate an offspring true breeding value from a male with true breeding value of +10 and a female with true breeding value of +8 with an additive genetic variance of 50?

\begin{displaymath}v_{i} = (+10 \ + \ 8)/2 + RND * (50/2)^{0.5} \end{displaymath}



4.
How would you simulate whether an offspring should be a male or female offspring?

You could flip a fair coin, heads=male, tails=female.

Generate a uniform random number between 0 and 1, if the number is below 0.5, then the sex is male, and if the number is above 0.5, then the sex is female.

One More Question On Other Side

5.
Below are some pedigrees and their diagonals of ${\bf B}$, write out ${\bf A}^{-1}$ for these few animals.

Animal Sire Dam ${\bf B}$
S A B 1/2
T B C 15/32
U A C 55/128
A - - 1/2
B - - 1/2
C - - 7/16




  --A-- --B-- --C-- --S-- --T-- --U--
A 2+ $\frac{1}{2}$+ $\frac{32}{55}$ $\frac{1}{2}$ $\frac{32}{55}$ -1 0 $- \frac{64}{55}$
             
             
B $\frac{1}{2}$ 2+ $\frac{1}{2}$+ $\frac{8}{15}$ $\frac{8}{15}$ -1 $- \frac{16}{15}$ 0
             
             
C $\frac{32}{55}$ $\frac{8}{15}$ $\frac{16}{7}$+ $\frac{8}{15}$+ $\frac{32}{55}$ 0 $- \frac{16}{15}$ $- \frac{64}{55}$
             
             
S -1 -1 0 2 0 0
             
             
T 0 $- \frac{16}{15}$ $- \frac{16}{15}$ 0 $\frac{32}{15}$ 0
             
             
U $- \frac{64}{55}$ 0 $- \frac{64}{55}$ 0 0 $ \frac{128}{55}$
             
             


next up previous

This LaTeX document is available as postscript or asAdobe PDF.

Larry Schaeffer
2003-11-28