164k views
0 votes
The data in ECONMATH were obtained on students from a large university course in introductory microeconomics. For this problem, we are interested in two variables: score, which is the final course score, and econhs, which is a binary variable indicating whether a student took an economics course in high school.

How many students are in the sample? How many students report taking an economics course in high school?

User LHWizard
by
7.4k points

1 Answer

5 votes

Final answer:

The number of students in the sample can be determined by looking at the data in the variable 'score' or 'econhs' in the ECONMATH dataset. To find out how many students report taking an economics course in high school, you can look at the 'econhs' variable.

Step-by-step explanation:

The number of students in the sample can be determined by looking at the data in the variable 'score' or 'econhs' in the ECONMATH dataset. Each data entry in these variables represents a student. Therefore, the number of students in the sample is equal to the number of data entries in the variables 'score' or 'econhs'.

To find out how many students report taking an economics course in high school, you can look at the 'econhs' variable. Count the number of data entries where 'econhs' is equal to 1. This will give you the number of students who report taking an economics course in high school.

User Frederick Mfinanga
by
9.2k points