Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 1.89 KB

README.md

File metadata and controls

62 lines (46 loc) · 1.89 KB

An R script developed as a project for the Calcolo della Probabilità Statistica e Matematica (Statistical and Mathematical Probability Calculation) course, part of the Computer Science Bachelor's Degree program at the University of Salerno

Table of Contents

Overview

Crash Stat was developed to apply key concepts from Statistical and Mathematical Probability Calculation to a real-life scenario: analyzing the number of car crashes in Italy. The script allows for data analysis using the most important statistical indices.

Preview

Features

  1. Absolute frequencies, cumulative absolute frequencies, relative frequencies, and cumulative relative frequencies
  2. Histogram and box plot
  3. Mean, median, and mode
  4. Variance and standard deviation
  5. Skewness and kurtosis

Sources

The data used in the R script was extracted on June 11, 2022, at 01:47 UTC (GMT) from the Istat website

How to replicate

  1. Clone the repository
git clone https://github.com/raffaeleav/crash-stat.git
  1. Switch to the project directory
cd crash-stat
  1. Run the script in RStudio
open -a Rstudio crash-stat.R
  1. Alternatively, you can run the script using Rscript (the diagrams will be saved in the Rplots.pdf file)
Rscript crash-stat.R

Built with

  • R - used for calculating statistical indices and visualizing the data through diagrams