4.Statistics-Primer.pdf - Licensed for personal use only...

This preview shows page 1 - 9 out of 63 pages.

Statistics Primer Numerical Data Analysis Covariance / Correlation Errors Visualizing Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20
Image of page 1

Subscribe to view the full document.

Lesson Objectives u Just enough Statistics for Data Science Copyright © 2017 Elephant Scale. All rights reserved. 2 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20
Image of page 2
Data Types Numerical Data Analysis Covariance / Correlation Errors Visualizing Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20
Image of page 3

Subscribe to view the full document.

Data Types Type Description Example Continuous Data can take any value within an interval. Numeric, float, int Exam score : 0 - 100 Discrete Only integer values Clicks per day Categorical Specific values from a set. Enums, factors Colors : Red, White, Blue. States : AL, CA Binary Just two values, binary. 0/1 or true/false Transaction fraud or not Ordinal Categorical data, but with ordering. Grades: A, B, C, D A > B > C > D Copyright © 2017 Elephant Scale. All rights reserved. 4 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20
Image of page 4
Structured Data Dataframe Spreadsheet like data. Feature Column in the table. Attribute / input / predictor / variable Outcome Predicted. Dependent variable / response / target / output Records A row in the dataframe Copyright © 2017 Elephant Scale. All rights reserved. 5 Income Assets Approved? Application 1 Application 2 Row Feature Feature Outcome Dataframe Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20
Image of page 5

Subscribe to view the full document.

Numerical Data Analysis è Numerical Data Analysis Covariance / Correlation Errors Visualizing Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20
Image of page 6
Numeric Data Analysis u Analyze the following salary data. [30k, 35k, 22k, 70k, 50k, 55k, 45k, 40k, 25k, 42k, 60k, 65k] u Sorting the data [22k, 25k, 30k, 35k, 40k, 42k, 45k, 50k, 55k, 60k, 65k, 70k] u Min : 22k Max : 70k u Average / Mean = Total sum of all salaries / 12 (number of salaries) = 44.9k Copyright © 2017 Elephant Scale. All rights reserved. 7 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20
Image of page 7

Subscribe to view the full document.

Mean Mean Sum (values) / total number of samples Weighted Mean Sum (values * weights) / total number of samples Copyright © 2017 Elephant Scale. All rights reserved.
Image of page 8
Image of page 9
  • Spring '17
  • azmat fatma
  • Mean, Sriram Anne

{[ snackBarMessage ]}

Get FREE access by uploading your study materials

Upload your study materials now and get free access to over 25 million documents.

Upload now for FREE access Or pay now for instant access
Christopher Reinemann
"Before using Course Hero my grade was at 78%. By the end of the semester my grade was at 90%. I could not have done it without all the class material I found."
— Christopher R., University of Rhode Island '15, Course Hero Intern

Ask a question for free

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern