Week 6 Homework
33. Genetic and phenotypic components
Covariance in genetic and environmental components of weight variability of twins.
is the phenotype (weight) is the genetic component of the phenotype is the environmental effect
(a) Calculate the covariance and correlation coefficient between
and in identical twins.
Let's individually look at
Given that the mean of
This also means that
Plugging into our Covariance alternative formula
Now we can apply the expectation to all of these terms. Since the
Since
This is same as the equation for the True Variance, therefore:
Putting this into the covariance formula:
Expand the factor. I'm not going to write out all the terms containing
Because the expectation of the sum is the sum of the expectation, we can apply that to all of these. Since the
Not exactly sure about this step
This is the same as our example from the lecture about the Covariance of a variable with itself.
Correlation coefficient is therefore just (since
(b) The quotient
is called the broad sense heritability, which tells which fraction of the observable phenotypic variance is due to genetic effects. Suggest a practical way to measure the heritability of body weight and comment on if this measurement is correct for the entire population.
With identical twins who share the same genetics, we can determine the genetic component of variance by measuring their weights, except we would only have two data points. Also, they would have shared environmental effects so they would not have a mean of zero.
36. ANOVA (Maths) with groups of animals
In our example:
"Full variance":
"Average of the sample variance":
average of sample variance =
F-statistic
Therefore, the F-statistic is less than the threshold and we fail to reject the null hypothesis. It is possible this result is because of random chance.
41. Truncation selection in animal breeding
Continuous Distributions
This is a normal distribution
(a) When
(b) When
42. Bayes' Theorem with continuous distributions
(a)
Probability of being this height if you are a Finnish man: P(data|man) = 0.0682
Probability of being this height if you are a Finnish woman: P(data|woman) = 0.1535
From Bayes' Theorem, we calculate the posterior:
So there is a 31% chance the suspect was a man given the height data.
If the prior probability of being a man
(b) See solution text.
Extra exercise (an example that came up during the lecture):
Suppose we take two measurements,
and , on every individual of a large population. There are only four combinations of numbers we get:
- (i) xi=1, eta=0;
- (ii) xi=-1, eta=0;
- (iii) xi=0, eta=1;
- (iv) xi=0, eta=-1
It is clearer if you sketch these as four points in a coordinate system. Each combination occurs with probability 1/4. xi and eta are obviously not independent: if xi=0, we know that eta is not zero and if eta=0, we know that xi is not zero.Show that, nevertheless, Cov(xi,eta) is zero
Sketch as four points in coordinate system:
The average values
So our sample covariance is:
In every case given above, either