100% Zufriedenheitsgarantie Sofort verfügbar nach Zahlung Sowohl online als auch als PDF Du bist an nichts gebunden
logo-home
Statistics and Data Analysis (in Collab) final exam notes 10,49 €   In den Einkaufswagen

Notizen

Statistics and Data Analysis (in Collab) final exam notes

 42 mal angesehen  0 mal verkauft
  • Kurs
  • Hochschule

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 bet...

[ Mehr anzeigen ]

vorschau 3 aus 28   Seiten

  • 23. februar 2023
  • 28
  • 2020/2021
  • Notizen
  • Giovanna lamastra pacheco
  • Alle klassen
avatar-seller
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.

Alle Vorteile der Zusammenfassungen von Stuvia auf einen Blick:

Garantiert gute Qualität durch Reviews

Garantiert gute Qualität durch Reviews

Stuvia Verkäufer haben mehr als 700.000 Zusammenfassungen beurteilt. Deshalb weißt du dass du das beste Dokument kaufst.

Schnell und einfach kaufen

Schnell und einfach kaufen

Man bezahlt schnell und einfach mit iDeal, Kreditkarte oder Stuvia-Kredit für die Zusammenfassungen. Man braucht keine Mitgliedschaft.

Konzentration auf den Kern der Sache

Konzentration auf den Kern der Sache

Deine Mitstudenten schreiben die Zusammenfassungen. Deshalb enthalten die Zusammenfassungen immer aktuelle, zuverlässige und up-to-date Informationen. Damit kommst du schnell zum Kern der Sache.

Häufig gestellte Fragen

Was bekomme ich, wenn ich dieses Dokument kaufe?

Du erhältst eine PDF-Datei, die sofort nach dem Kauf verfügbar ist. Das gekaufte Dokument ist jederzeit, überall und unbegrenzt über dein Profil zugänglich.

Zufriedenheitsgarantie: Wie funktioniert das?

Unsere Zufriedenheitsgarantie sorgt dafür, dass du immer eine Lernunterlage findest, die zu dir passt. Du füllst ein Formular aus und unser Kundendienstteam kümmert sich um den Rest.

Wem kaufe ich diese Zusammenfassung ab?

Stuvia ist ein Marktplatz, du kaufst dieses Dokument also nicht von uns, sondern vom Verkäufer martaescrivderomancebrin. Stuvia erleichtert die Zahlung an den Verkäufer.

Werde ich an ein Abonnement gebunden sein?

Nein, du kaufst diese Zusammenfassung nur für 10,49 €. Du bist nach deinem Kauf an nichts gebunden.

Kann man Stuvia trauen?

4.6 Sterne auf Google & Trustpilot (+1000 reviews)

45.681 Zusammenfassungen wurden in den letzten 30 Tagen verkauft

Gegründet 2010, seit 14 Jahren die erste Adresse für Zusammenfassungen

Starte mit dem Verkauf
10,49 €
  • (0)
  Kaufen