https://github.com/raffaeleav/crash-stat
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
https://github.com/raffaeleav/crash-stat
boxplot histogram r rstudio statistics
Last synced: 1 day ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/raffaeleav/crash-stat
- Owner: raffaeleav
- Created: 2024-05-24T19:19:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-31T12:19:41.000Z (about 1 year ago)
- Last Synced: 2024-10-31T13:16:56.692Z (about 1 year ago)
- Topics: boxplot, histogram, r, rstudio, statistics
- Language: R
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](#Overview)
- [Preview](#Preview)
- [Features](#Features)
- [Sources](#Sources)
- [How to replicate](#How-to-replicate)
- [Built with](#Built-with)
## 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](https://www.istat.it/) website
## How to replicate
1) Clone the repository
```bash
git clone https://github.com/raffaeleav/crash-stat.git
```
2) Switch to the project directory
```bash
cd crash-stat
```
3) Run the script in RStudio
```bash
open -a Rstudio crash-stat.R
```
5) Alternatively, you can run the script using Rscript (the diagrams will be saved in the Rplots.pdf file)
```bash
Rscript crash-stat.R
```
## Built with
- [R](https://www.r-project.org/) - used for calculating statistical indices and visualizing the data through diagrams