Student 1 Student 2 Student 3 Student 4 Age 22 24 35 19 1. Compute distance between student 1 and student 2. standing Undergrad Graduate Sophomore Freshman 2. Practice problem: compute dissimilarity matrix. Got in Trouble Did Not Get in Trouble 71 83 Boys 46 Girls 37 Test result P N N N Zip code 07102 09234 07102 07102 GPA 4 3.6 3.5 3 Owns Car 3. Is gender and getting in trouble at school (both nominal variables) are correlated? Below is the table documenting the raw numbers of boys and girls and their respective behavior issues (or lack thereof): Is this correlation statistically significant with 5% significance level? Y IN Y Y

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

please help me out with attched question, i also provided amswer idk it is right or wrong. please exaplian me in details step by step. 

 

Student 1
Student 2
Student 3
Student 4
Age
22
Boys
Girls
24
35
19
1. Compute distance between student 1 and student 2.
standing
Undergrad
Graduate
Sophomore
Freshman
2. Practice problem: compute dissimilarity matrix.
46
37
Got in Trouble Did Not Get in Trouble
71
83
Test result
P
IN
IN
IN
Zip code
07102
09234
07102
07102
GPA
4
3.6
3.5
3
Owns Car
Y
IN
3. Is gender and getting in trouble at school (both nominal variables) are correlated? Below is the table documenting the raw numbers of boys and girls and
their respective behavior issues (or lack thereof): Is this correlation statistically significant with 5% significance level?
Y
Y
Transcribed Image Text:Student 1 Student 2 Student 3 Student 4 Age 22 Boys Girls 24 35 19 1. Compute distance between student 1 and student 2. standing Undergrad Graduate Sophomore Freshman 2. Practice problem: compute dissimilarity matrix. 46 37 Got in Trouble Did Not Get in Trouble 71 83 Test result P IN IN IN Zip code 07102 09234 07102 07102 GPA 4 3.6 3.5 3 Owns Car Y IN 3. Is gender and getting in trouble at school (both nominal variables) are correlated? Below is the table documenting the raw numbers of boys and girls and their respective behavior issues (or lack thereof): Is this correlation statistically significant with 5% significance level? Y Y
Σ
Σ
11
\frac{(1+d_{ij}^{\left(f\right)})\ldots\left(1+d^{}_{ij}_{}^{\left(6\right)}\right)}{6}
d(¹) (i, j) = 2 =
d(2) (i, j)=1=1
d(3) (i, j) = 1=1-0||
d(4) (i, j) = 1=1
2.06
Q2
d(5) (i, j) = .4=√/14 - 3.6|²
d(6) (i, j) 11-0
==
Q3
student 1
student 2
Francesco Bettinardi
Sep 29, 2022
student 3
student 4
(1+2)+(1+1)+(1+1)+(1+1)+(.4+1)+(1+1)
6
46
Get in Trouble
Boys
Girls
Total 83
122 - 241²
(1-2)²
(46-40.97)²
30.97
Z=3.84
117-83
237
= 40.97
120-83
3727³ = 42.03
+
student 1
+
0
2.1
4.125
1.5
(71-76.03)² (37-42.03)²
76.03
42.03
Dont Get in trouble Total
x² = 2.07
not statistaclly significant(not correlated
71 117-154
76.03 117
237
83 120-15477.97 120
154
237
+
237
student 2
=
10
(83-77.97)²
77.97
2.82
1.92
= 2.07 = x²
student 3
10
5.83
student 4
lo
0
⠀
Transcribed Image Text:Σ Σ 11 \frac{(1+d_{ij}^{\left(f\right)})\ldots\left(1+d^{}_{ij}_{}^{\left(6\right)}\right)}{6} d(¹) (i, j) = 2 = d(2) (i, j)=1=1 d(3) (i, j) = 1=1-0|| d(4) (i, j) = 1=1 2.06 Q2 d(5) (i, j) = .4=√/14 - 3.6|² d(6) (i, j) 11-0 == Q3 student 1 student 2 Francesco Bettinardi Sep 29, 2022 student 3 student 4 (1+2)+(1+1)+(1+1)+(1+1)+(.4+1)+(1+1) 6 46 Get in Trouble Boys Girls Total 83 122 - 241² (1-2)² (46-40.97)² 30.97 Z=3.84 117-83 237 = 40.97 120-83 3727³ = 42.03 + student 1 + 0 2.1 4.125 1.5 (71-76.03)² (37-42.03)² 76.03 42.03 Dont Get in trouble Total x² = 2.07 not statistaclly significant(not correlated 71 117-154 76.03 117 237 83 120-15477.97 120 154 237 + 237 student 2 = 10 (83-77.97)² 77.97 2.82 1.92 = 2.07 = x² student 3 10 5.83 student 4 lo 0 ⠀
Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman