For numbers 2-7: Sea lice is a common parasite found among saltwater fish. Presence of the pests are said to be related to pollution in the bodies of water. A total of 50 random sample of fish from a certain bay was obtained. Each fish was analyzed whether an internal parasite (Y=1) was observed or not. Likewise, the amount of estrogenic compounds in the fish blood (X1, ppt) and the sex of the fish (X2, Male=1 and Female=0), using Female as base category, were recorded. Regression analysis was done and the model is given by (attached image): ln[π(y=1)/1−π(y=1)]=−1.3+0.34X1+1.51X2 Macbee wants to validate the model above. He observed 30 random sample of fish from the same bay. He came up with a confusion matrix below. Outcome Predicted Probability < 0.5 > 0.5 0 (with parasite) 1 2 1 (without parasite) 2 25 The accuracy of MacBee’s model is ____%.
For numbers 2-7: Sea lice is a common parasite found among saltwater fish. Presence of the pests are said to be related to pollution in the bodies of water. A total of 50 random sample of fish from a certain bay was obtained. Each fish was analyzed whether an internal parasite (Y=1) was observed or not. Likewise, the amount of estrogenic compounds in the fish blood (X1, ppt) and the sex of the fish (X2, Male=1 and Female=0), using Female as base category, were recorded. Regression analysis was done and the model is given by (attached image):
ln[π(y=1)/1−π(y=1)]=−1.3+0.34X1+1.51X2
Macbee wants to validate the model above. He observed 30 random sample of fish from the same bay. He came up with a confusion matrix below.
Outcome |
Predicted Probability |
|
< 0.5 |
> 0.5 |
|
0 (with parasite) |
1 |
2 |
1 (without parasite) |
2 |
25 |
The accuracy of MacBee’s model is ____%.
Step by step
Solved in 2 steps with 2 images