Assignment 7
Assignment 7
[−∞,∞][−∞,∞]
[−1,+∞][−1,+∞]
[0,1][0,1]
[−∞,0][−∞,0]
Yes, the answer is correct.
Score: 1
Accepted Answers:
[0,1][0,1]
1 point
Which one of the following is called as the odds ratio?
The ratio of the probability of an event occurring to the probability of the event not occurring
The ratio of the probability of an event not occurring to the probability of the event occurring
The probability of an event occurring
The probability of an event not occurring
Yes, the answer is correct.
Score: 1
Accepted Answers:
The ratio of the probability of an event occurring to the probability of the event not occurring
1 point
The confusion matrix for a binary classifier gives
Only True Positives and True Negatives
Only False Positives and False Negatives
Only True Positives, False Positives and False Negatives
True Positives, False Positives, True Negatives and False Negatives
Yes, the answer is correct.
Score: 1
Accepted Answers:
True Positives, False Positives, True Negatives and False Negatives
1 point
In confusion matrix, the misclassification rate is given by
FalseNegative+FalsepositiveTotalnumberofsamplesFalseNegative+FalsepositiveTotalnumberofsamples
TrueNegative+FalsepositiveTotalnumberofsamplesTrueNegative+FalsepositiveTotalnumberofsamples
FalseNegative+TruepositiveTotalnumberofsamplesFalseNegative+TruepositiveTotalnumberofsamples
TrueNegative+TruepositiveTotalnumberofsamplesTrueNegative+TruepositiveTotalnumberofsamples
1 point
Overall effectiveness of a classifier (Accuracy) is given by
Truepositive+FalsepositiveTotalnumberofsamplesTruepositive+FalsepositiveTotalnumberofsamples
Truepositive+TruenegativeTotalnumberofsamplesTruepositive+TruenegativeTotalnumberofsamples
Truenegative+FalsenegativeTotalnumberofsamplesTruenegative+FalsenegativeTotalnumberofsamples
Falsepositive+FalsenegativeTotalnumberofsamplesFalsepositive+FalsenegativeTotalnumberofsamples
1 point
The value of both sensitivity and specificity lies between
-1 and 1
-1 and 0
-2 and 2
0 and 1
No, the answer is incorrect.
Score: 0
Accepted Answers:
0 and 1
Consider the “income.csv” dataset. The data has values for per capita income and different parameters
for some states. The description of the variables is given below:
1 point
The coefficient of COL from the full model is: - (rounded off to 3 decimal places)
7.162
-6.410
0.800
-10.302
Yes, the answer is correct.
Score: 1
Accepted Answers:
7.162
1 point
The t value corresponding to the coefficient of URate from the full model is: - (rounded off to 3 decimal
places)
3.506
1.035
0.701
2.163
Yes, the answer is correct.
Score: 1
Accepted Answers:
2.163
1 point
The significant variables after building the full model are: -
URate and Pop
COL, PD and Taxes
RTWL, Taxes and PD
COL
Yes, the answer is correct.
Score: 1
Accepted Answers:
URate and Pop
1 point
The adjusted R2R2 value of the full model is: - (rounded off to 3 decimal places)
0.431
0.660
0.327
0.783
Yes, the answer is correct.
Score: 1
Accepted Answers:
0.327
1 point
The adjusted R2R2
-0.003
4.698
0.267
9500.000
Yes, the answer is correct.
Score: 1
Accepted Answers:
4.698
1 point
The numerator and denominator degrees of freedom for the F-statistic computed using the intercept model
and the model built using the variables URate,
Pop, COL and PD are respectively: -
4 and 194
6 and 33
6 and 34
4 and 33
Yes, the answer is correct.
Score: 1
Accepted Answers:
4 and 33
1 point
The overall F statistic (rounded off to 3 decimal places) between the full model built using all six variables
and the reduced model built by dropping Taxes
and RTWL is:
0.366
0.844
0.283
0.946
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.366
Load the data set to your R workspace using a suitable variable name.
1 point
To predict the future of a company, i.e. bankruptcy or solvency, what would the dependent and
independent variables be?
2
4
5
3
Yes, the answer is correct.
Score: 1
Accepted Answers:
4
1 point
Which command would be used to build a logistic regression model between the independent variables
and the dependent variable?
lm ( )
abline ( )
glm ( )
None of the above
Yes, the answer is correct.
Score: 1
Accepted Answers:
glm ( )
1 point
The estimate of intercept (rounded off to 3 decimal places) of the model is
0.087
5.707
-6.681
0.322
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.322
1 point
The standard error of the variable X3 (rounded off to 3 decimal places) of the model developed is
0.045
9.743
0.060
1.877
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.045
1 point
The p- value for the variable X2 (rounded off to 3 decimal places) is
0.303
0.060
0.004
-1.030
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.004