The first worksheet labeled sample A (in the Excel file linked below the exam) is a sample of n=50 observations with measurements of a binary variable X and a binary variable Y for each unit of observation. Find the count of observations for which xi=1 and yi=0.

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
100%

The first worksheet labeled sample A (in the Excel file linked below the exam) is a sample of n=50 observations with measurements of a binary variable X and a binary variable Y for each unit of observation.

Find the count of observations for which xi=1 and yi=0. 

 

i xi yi
1 0 1
2 0 0
3 0 1
4 0 1
5 1 0
6 0 1
7 0 1
8 1 0
9 0 1
10 0 1
11 0 1
12 0 1
13 0 1
14 0 1
15 0 1
16 0 1
17 0 1
18 0 1
19 0 1
20 0 1
21 0 0
22 0 1
23 1 0
24 0 1
25 1 0
26 1 1
27 0 1
28 1 0
29 0 1
30 1 0
31 1 0
32 1 0
33 0 0
34 1 1
35 1 1
36 0 1
37 1 0
38 0 1
39 1 0
40 1 0
41 0 1
42 1 0
43 0 1
44 1 0
45 0 1
46 0 1
47 1 0
48 1 0
49 0 1
50 1 0
Expert Solution
steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Similar 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