Assignment Afework
Assignment Afework
twin
yes -4.057658 57.65939 -0.07 0.944 -117.0887 108.9734
vag_disch
yes 97.81619 52.46494 1.86 0.062 -5.032036 200.6644
parity 196.1924 5.399211 36.34 0.000 185.6082 206.7766
_cons 2474.822 17.27616 143.25 0.000 2440.955 2508.689
First the effect of phcysc on the brd was analyzed using appropriate statistical methods and the
result is given below.
Logistic regression Number of obs = 588
LR chi2(1) = 5.39
Prob > chi2 = 0.0202
Log likelihood = -372.26257 Pseudo R2 = 0.0072
Suppose there was no missing variables, sample size is usually the number of observations so it
was 588
9. What is the proportion of animals having brd in those which did not seroconvert to phcysc?
For proportion of animals having brd in those which did not seroconvert to phcysc.
= -1.109662
Odd = =
Proportion = ⁄
P = = = 24.8%
10.What is the proportion of animals having brd in those which seroconverted to phcysc?
The proportions of animals that have brd and did convert to cytotoxins are፡-
= -1.109662 + 0.5238734
0dd = = = 0.5566670131
P= = = = = 35.8%
Now infection with infectious bovine rihenotrheitis designated ibrsc is added to the model
containing phcysc and the result depicted here.
Yes there is evidence for the presence of confounding. We have to check for the presence of
confounding if
confounding.
When we look at the data in the presence of ibrsc the effect of the Mh is changed that
The confounding variable is causes of the outcome independent of the exposure but also is
related to the exposure of interest, and might be treated as a confounding variable. When we see
ibrsc to brd because of belief that ibrsc could enhance the respiratory pathogenicity of other
unmeasured agents, besides Mh, and hence cause brd. To see the effect of exposure we have to
control the confounding.
We adjust and block the both path ways and leave the path way from exposure to outcome.
12. Draw the causal diagrams representing the association between the exposure of interest and
the candidate confounder in this case
Mh brd
Ibrsc
13. Which of the two variables is the predictor of brd? Explain
The ibrsc is the predictor to brd. From the data it appears that the strength of the association is
slightly increased in the presence of ibrsc. In addition, as we know respiratory disease caused by
ibrsc is associated with high morbidity but low mortality in susceptible animals but it is fatal in
the presence of especially M. haemolytica, or concurrent viral infection. The ibrsc could enhance
the respiratory pathogenicity of other unmeasured agents, besides Mh, and hence cause brd.
Controlling ibrsc will impact on the significance of coefficient depending on the strength of the
ibrsc effect on Mh and on brd. The R2 of the model should increase and this shows the the
variation in outcome is more explained by the model.