100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Notas de lectura

Statistics and Data Analysis (in Collab) final exam notes

Puntuación
-
Vendido
1
Páginas
28
Subido en
23-02-2023
Escrito en
2020/2021

Statistics uses mathematical tools to organize and summarize data obtained from the real world and draw conclusions from a correct interpretation of these data. In the business world, statistics can help assess the attractiveness of a business opportunity, increase customer satisfaction, choose between different investment possibilities, analyze and improve production processes, etc. Students following this course learn how to define the data required in different situations characterized by uncertainty, collect and summarize these data, and make decisions based on data analysis. This notes also provide the theoretical and practical bases for other systems in the degree.

Mostrar más Leer menos










Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Información del documento

Subido en
23 de febrero de 2023
Número de páginas
28
Escrito en
2020/2021
Tipo
Notas de lectura
Profesor(es)
Giovanna lamastra pacheco
Contiene
Todas las clases

Temas

  • sampling
  • types of variables

Vista previa del contenido

APUNTES STATS FINAL

1. Types of Variables – Python




2. Python Libraries


The most important libraries we will use during this course are:

• numpy (np): for high-level mathematical functions/numerical analysis
• scipy.stats (ss): for probability distributions
• pandas (pd): for data structuring and manipulation
• matplotlib.pyplot (plt): for plots

3. Pandas

Some useful functions to always remember:

• describe(): summary statistics for each column of the dataset
• head(): print the first 5 rows of the data set
• tail(): print the last 5 rows of the dataset
• dtypes: type of variable in each column
• shape: number of rows and columns

, 4. Manipulation with Pandas

Filter rows (slicing), example: assume we want to select only students with age
between 30 and 33 included.




Create a new column, example: assume we want to add a new column, recording the
gender of students. Here you can see the gender of the 3 students: male, female, male




We want to assign a letter grade to students, with the following rule:

• gpa >= 8 letter grade A

• 6 <= gpa<8 letter grade B

• gpa < 6 letter C

, Sort columns, example: assume we want to sort the data frame with respect to the value
of a given column. We want to get the data frame sorted with respect to the gpa, in
decreasing order:




5. Graphs

We can describe categorical variables using frequency distribution tables and graphs
such as bar charts, pie charts and histograms.



FREQUENCY DISTRIBUTION TABLE

A frequency distribution is a table used to organize data. The left column (called
classes) includes all possible responses to a variable being studied. The right column is
a list of the frequencies (number of observations of each class);

A cumulative frequency distribution contains the total number of observations whose
values are less than the upper limit for each class. It is used to determine the number of
observations that lie above (or below) a particular value;

A relative/percentage frequency distribution is obtained by dividing each frequency
by the total number of observations (n). It can be expressed as a percentage;

A relative/percentage cumulative frequency distribution is the quotient between the
cumulative frequency of a particular value and the total number of observations (n). It
can be expressed as a percentage.
10,49 €
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor
Seller avatar
martaescrivderomancebrin

Conoce al vendedor

Seller avatar
martaescrivderomancebrin IE University
Ver perfil
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
3
Miembro desde
2 año
Número de seguidores
0
Documentos
10
Última venta
11 meses hace

0,0

0 reseñas

5
0
4
0
3
0
2
0
1
0

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes