Question

In: Statistics and Probability

Data shows graduate program admission decisions (Yes: 1 and No: 2), GRE score and undergraduate GPA...

Data shows graduate program admission decisions (Yes: 1 and No: 2), GRE score and undergraduate GPA for twenty-five students.

Tasks:

Examine if the given data is suitable for the application of linear discriminant analysis.

Create a linear discriminant function predicting admission decisions.

Comment on the classification accuracy.

Predict the admission decision given GRE score = 690 and GPA = 3.2.

Perform logistic regression analysis for the data.

Compare the classification accuracies of both methods.

Admit GRE GPA
2 790 3.8
1 370 3.4
2 480 2.9
1 580 3.3
1 620 3.9
1 740 3.2
2 490 3.1
2 720 3.7
1 740 3.9
2 460 3.4
1 610 3.3
1 260 2.5
2 740 4
1 700 3.6
1 760 3.5
1 410 2.8
1 700 4
1 800 3.4
2 680 2.9
2 520 3.2
1 700 3.5
1 580 3.3
2 470 3.9
1 640 3.8
2 410 3.8

Solutions

Expert Solution

I have solve the problem in R Code:

library(MASS)
data_GRE=read.csv(file.choose())
data_GRE$Admit=as.factor(data_GRE$Admit)
lda_model=lda(Admit~GRE+GPA,data_GRE)

lda_predtest=predict(lda_model,data_GRE)
table(lda_predtest$class,data_GRE$Admit)

Linear Discriminant Function:

Admit = Wo + W1* GRE + W2*GPA

Wo is the Bias weight

a)

Classification accuracy

table(lda_pred$class,data_GRE$Admit)

1 2 Total
1 14 8 22
2 1 2 3
Total 15 10 25

Diagonally we see that exact prediction = 14 +2 =16

accuracy = 16 /25 = 0.64

64% is our accuracy

b) Predict the admission decision given GRE score = 690 and GPA = 3.2.

R -code > lda_pred=predict(lda_model,data.frame("GRE"=690,"GPA"=3.2))

Ans: Yes: 1

c)

# Logistic regression

log_model=glm(Admit~GRE+GPA,data_GRE,family = binomial)
log_probs=predict(log_model,data_GRE,type="response")
log_pred=rep(2,25)
log_pred[log_probs>0.5]=1
table(log_pred,data_GRE$Admit)

Classification accuracy is

1 2 Total
1 1 2 3
2 14 8 22
15 10 25

= 9/25  

=0.34

34 % is logistic regression, which is less than LDA, Hence LDA method in this problem


Related Solutions

Use Minitab Data shows graduate program admission decisions (Yes: 1 and No: 2), GRE score and...
Use Minitab Data shows graduate program admission decisions (Yes: 1 and No: 2), GRE score and undergraduate GPA for twenty-five students. Tasks: Examine if the given data is suitable for the application of linear discriminant analysis. Create a linear discriminant function predicting admission decisions. Comment on the classification accuracy. Predict the admission decision given GRE score = 690 and GPA = 3.2. Perform logistic regression analysis for the data. Compare the classification accuracies of both methods. Admit GRE GPA 2...
You are given the following data, where X1 (GRE total score) and X2 (undergraduate GPA) are...
You are given the following data, where X1 (GRE total score) and X2 (undergraduate GPA) are used to predict Y (graduate GPA): Y          X1       X2 3.6 135 2.6 4 130 2.6 3 105 2.4 3.3 115 2.7 3.2 105 3.1 3 100 3.2 2.7 110 3.8 3.8 125 3.6 4 145 3.2 Determine the following multiple regression values. Report intercept and slopes for regression equation accurate to 3 decimal places:     Intercept: a=     Partial slope X1: b1=     Partial...
The Graduate Record Examination (GRE) is a test required for admission to many U.S. graduate schools....
The Graduate Record Examination (GRE) is a test required for admission to many U.S. graduate schools. Students’ scores on the quantitative portion of the GRE follow a normal distribution. (Source: http://www.ets.org/.) Suppose a random sample of 10 students took the test, and their scores are given below. 152, 126, 146, 149, 152, 164, 139, 134, 145, 136 a) Test the claim that the mean verbal reasoning score is different from 150 at the α = 0.10 level of significance.
The Graduate Record Examination (GRE) is a test required for admission to many U.S. graduate schools....
The Graduate Record Examination (GRE) is a test required for admission to many U.S. graduate schools. Students' scores on the quantitative portion of the GRE follow a normal distribution with standard deviation 8.8. Suppose a random sample of 10 students took the test, and their scores are given below. 152, 126, 146, 149, 152, 164, 139, 134, 145, 136 a. Are the criteria for approximate normality satisfied? Why? b. Calculate the sample mean, x with bar on top. Round your...
4. The Graduate Record Examination (GRE) is a test required for admission to many U.S. graduate...
4. The Graduate Record Examination (GRE) is a test required for admission to many U.S. graduate schools. Students’ scores on the quantitative portion of the GRE follow a normal distribution. (Source: http://www.ets.org/.) Suppose a random sample of 10 students took the test, and their scores are given below. 152, 126, 146, 149, 152, 164, 139, 134, 145, 136 a) Test the claim that the mean verbal reasoning score is different from 150 at the α = 0.10 level of significance....
3. The Graduate Record Examination (GRE) is a test required for admission to many U.S. graduate...
3. The Graduate Record Examination (GRE) is a test required for admission to many U.S. graduate schools. Students’ scores on the quantitative portion of the GRE follow a normal. (Source: http://www.ets.org/.) Suppose a random sample of 10 students took the test. 152, 126, 146, 149, 152, 164, 139, 134, 145, 136 A normal probability plot verifies that the data are normally distributed. a) Determine the sample standard deviation. b) Construct a 95% confidence interval for the population standard deviation. Interpret...
The Graduate Record Examination (GRE) is a test required for admission to many U.S. graduate schools....
The Graduate Record Examination (GRE) is a test required for admission to many U.S. graduate schools. Students' scores on the quantitative portion of the GRE follow a normal distribution with mean 150 and standard deviation 8.8. In addition to other qualifications, a score of at least 165 is required for admission to a particular graduate school. A) Describe how you would shade the region under the normal curve that represents test takers who scored above 165 in the quantitative portion...
Estimate: GPA = β0 + β1GRE + ε, where GRE is a student’s score on the...
Estimate: GPA = β0 + β1GRE + ε, where GRE is a student’s score on the math portion of the Graduate Record Examination (GRE) score and GPA is the student’s grade point average in graduate school. [You may find it useful to reference the t table.] GPA GRE 2.8 750 3.4 670 2.5 780 3.4 680 2.8 720 3.7 770 2.4 750 2.6 760 3.8 680 2.7 740 2.7 680 3.1 640 3 710 2.6 710 3.2 700 3.5 750...
Estimate: GPA = β0 + β1GRE + ε, where GRE is a student’s score on the...
Estimate: GPA = β0 + β1GRE + ε, where GRE is a student’s score on the math portion of the Graduate Record Examination (GRE) score and GPA is the student’s grade point average in graduate school. [You may find it useful to reference the t table.] picture GPA GRE 3.3 760 3.8 680 3 670 3.2 710 3.8 780 2.6 680 2.5 760 2.4 670 2.8 640 3.9 700 3.8 680 3.4 680 2.8 760 3.1 650 3.4 670 2.7...
Fit a binary logistic regression model with admission decision as the dependent variable, GRE and GPA...
Fit a binary logistic regression model with admission decision as the dependent variable, GRE and GPA as the independent variables. Evaluate the goodness of fit of the model. Determine the significance of independent variables. Interpret odds ratios for independent variables. State the binary logistic regression equation. Evaluate the classification accuracy of the model. Check if the residuals are independent. Admit GRE GPA 0 790 1 1 370 0 1 480 1 1 580 1 1 620 1 0 740 0...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT