1)     a. Compute the Gini Index for the entire data set with respect to the two classes.     b. Compute the Gini Index for the portion of the data set with age at least 50.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

1)

    a. Compute the Gini Index for the entire data set with respect to the two classes.

    b. Compute the Gini Index for the portion of the data set with age at least 50.

The table presents data on ten individuals, displaying information across four columns: Name, Age, Salary, and Donor Status.

- **Name**: Lists the first names of the individuals.
- **Age**: Provides the ages, ranging from 21 to 63.
- **Salary**: Displays their salaries, varying from $25,000 to $74,000.
- **Donor?**: Indicates donor status; 'Y' for Yes and 'N' for No.

### Table Data:
1. **Nancy**: 
   - Age: 21
   - Salary: $37,000
   - Donor: No

2. **Jim**: 
   - Age: 27
   - Salary: $41,000
   - Donor: No

3. **Allen**: 
   - Age: 43
   - Salary: $61,000
   - Donor: Yes

4. **Jane**: 
   - Age: 38
   - Salary: $55,000
   - Donor: No

5. **Steve**: 
   - Age: 44
   - Salary: $30,000
   - Donor: No

6. **Peter**: 
   - Age: 51
   - Salary: $56,000
   - Donor: Yes

7. **Sayani**: 
   - Age: 53
   - Salary: $70,000
   - Donor: Yes

8. **Lata**: 
   - Age: 56
   - Salary: $74,000
   - Donor: Yes

9. **Mary**: 
   - Age: 59
   - Salary: $25,000
   - Donor: No

10. **Victor**: 
   - Age: 61
   - Salary: $68,000
   - Donor: Yes

11. **Dale**: 
   - Age: 63
   - Salary: $51,000
   - Donor: Yes

This dataset can be used to analyze the correlation between age, salary, and donor status among the individuals listed.
Transcribed Image Text:The table presents data on ten individuals, displaying information across four columns: Name, Age, Salary, and Donor Status. - **Name**: Lists the first names of the individuals. - **Age**: Provides the ages, ranging from 21 to 63. - **Salary**: Displays their salaries, varying from $25,000 to $74,000. - **Donor?**: Indicates donor status; 'Y' for Yes and 'N' for No. ### Table Data: 1. **Nancy**: - Age: 21 - Salary: $37,000 - Donor: No 2. **Jim**: - Age: 27 - Salary: $41,000 - Donor: No 3. **Allen**: - Age: 43 - Salary: $61,000 - Donor: Yes 4. **Jane**: - Age: 38 - Salary: $55,000 - Donor: No 5. **Steve**: - Age: 44 - Salary: $30,000 - Donor: No 6. **Peter**: - Age: 51 - Salary: $56,000 - Donor: Yes 7. **Sayani**: - Age: 53 - Salary: $70,000 - Donor: Yes 8. **Lata**: - Age: 56 - Salary: $74,000 - Donor: Yes 9. **Mary**: - Age: 59 - Salary: $25,000 - Donor: No 10. **Victor**: - Age: 61 - Salary: $68,000 - Donor: Yes 11. **Dale**: - Age: 63 - Salary: $51,000 - Donor: Yes This dataset can be used to analyze the correlation between age, salary, and donor status among the individuals listed.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Distributed Database Concepts
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education