0% found this document useful (0 votes)
6 views11 pages

Statistics in Python: Descriptive & Inferential

The document discusses the role of statistics in Python, highlighting the distinction between descriptive and inferential statistics. It provides examples of both types, illustrating their applications in data analysis. Additionally, it introduces important libraries such as Numpy, Pandas, and Matplotlib for efficient data manipulation, analysis, and visualization.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views11 pages

Statistics in Python: Descriptive & Inferential

The document discusses the role of statistics in Python, highlighting the distinction between descriptive and inferential statistics. It provides examples of both types, illustrating their applications in data analysis. Additionally, it introduces important libraries such as Numpy, Pandas, and Matplotlib for efficient data manipulation, analysis, and visualization.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Statistics in Python

Descriptive and Inferential


Martín Samán AEJ ACADEMIC AREA OF SYSTEMS ANALYSIS Statistics in Python
Statistics is the tool
to understand the world, but
it is also the tool for
make the world understand you

Martín Samán AEJ ACADEMIC AREA OF SYSTEMS ANALYSIS Statistics in Python


Types of statistics

Descriptive Inferential

Describe the available data using Make inferences about the population based on
descriptive variables. from the sample data using techniques
of estimation and hypothesis testing.

Martin Samán AEJ ACADEMIC AREA OF SYSTEMS ANALYSIS Statistics in Python


Examples

Descriptive Statistics Inferential Statistics

Calculate the mean, the median, and the mode of the Determine if there is a significant difference in the
grades of a group of students in a grades between two groups of students that
exam. they received different teaching methods.

Calculate the standard deviation and the range of the Estimate the size of a population from a
incomes of a sample of the population. representative sample.

Test the hypothesis that the result of


Calculate the frequency of the results of a
the flipping of a coin is random and is not
coin toss experiment.
biased.

Plot a histogram of the height distribution Estimate the probability of an event occurring in
in a population. function of historical data.

Calculate the correlation between age and level of Identify the relationship between two variables and predict
education in a sample of the population. the value of one variable based on the value of another.

Martín Samán AEJ ACADEMIC AREA OF SYSTEMS ANALYSIS Statistics in Python


Martin Saman AEJ ACADEMIC AREA OF SYSTEMS ANALYSIS Statistics in Python
Some of the most functionalities
important:
Create arrays and matrices
Perform mathematical operations
Apply mathematical functions
[Link] The code is vectorized (C/C++
precompiled and low-level libraries
Perform mathematical calculations and
Numpy allows us to perform calculations more
efficient scientists (arrays and
efficient and fast than with the functions
matrices) basics of Python

Martin Samán AEJ ACADEMIC AREA OF SYSTEMS ANALYSIS Statistics in Python


Practical part

Martin Saman AEJ ACADEMIC AREA OF SYSTEMS ANALYSIS Statistics in Python


Pandas offers two data structures
mainly, Series and DataFrames, which
allow working with data in a manner
organized and efficient
Pandas allows you to manipulate and transform
data easily and quickly, including
[Link] the selection of columns and rows, the
data aggregation, data filtering,
etc
Allows manipulation and analysis Pandas also offers tools for
efficiently data and data cleaning, such as deletion
of missing data, the detection and
quick correction of outliers, the
data normalization, etc

Martin Saman AEJ ACADEMIC AREA OF SYSTEMS ANALYSIS Statistics in Python


Practical part

Martín Samán AEJ ACADEMIC AREA OF SYSTEMS ANALYSIS Statistics in Python


Some of the most functionalities
important:
● Creation of high-quality graphics in
various formats
Support for various types of charts,
[Link] including line graphs, bar charts,
of dispersion, of surface, etc.
Customization of features
Create static visualizations, the graphics, like the color palette,
animated and interactive axis labels, titles, etc.
● Integration with other libraries: Numpy and
Pandas

Martin Samán AEJ ACADEMIC AREA OF SYSTEMS ANALYSIS Statistics in Python


Practical part

Martín Samán AEJ ACADEMIC AREA OF SYSTEMS ANALYSIS Statistics in Python

You might also like