Publications by Anurag

Markov Chain Monte Carlo Simulation (NHL)

07.01.2025

Project NHL MCMC Simulation 1. Loading Required Libraries library(hockeyR) library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.4 ✔ readr 2.1.5 ## ✔ forcats 1.0.0 ✔ stringr 1.5.1 ## ✔ ggplot2 3.5....

965 sym R (28539 sym/35 pcs) 12 img

NHL MCMC SImulation

18.12.2024

Project NHL MCMC Simulation Contents: 1. Importing required libraries 2. Load NHL play by play season (last 5 seasons excluding 2020 and 2021 seasons) 3. Making sure all seasons have similar column names. Loading required libraries library(hockeyR) library(tidyverse) ## ── Attaching core tidyverse packages ───────────...

2907 sym R (30236 sym/55 pcs) 12 img

New Metric - Ice Hockey

11.10.2024

library(tidyr) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(openxlsx) library(ggthemes) library(plotly) ## Loading required package: ggplot2 ## ## Attac...

4796 sym R (5304 sym/22 pcs)

Ice Hockey Project

15.05.2024

library(jsonlite) library(httr) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(tidyr) library(ggplot2) library(plotly) ## ## Attaching package: 'plotly' #...

141 sym R (3755 sym/15 pcs)

Final Project - MLB

23.04.2024

Contents 1. Introduction 2.Reading the lahman’s Data File. 3. Exploratory Data Analysis. -Selecting Independent Variables 4. Linear Regression Model - Predicting Wins 5. Model Diagnosis. 6. Model Evaluation using a 2023 season data. 7. Usefulness of the study. 1. Introduction For my final project, I propose to delve into the realm of spo...

8058 sym R (10143 sym/61 pcs) 4 img 1 tbl

Final Project - MLB

23.04.2024

Game related statistics explanation: R - Runs Scored by a team in a season RA - Runs Allowed by a team in a season ERA - Runs Allowed responsible by a pitcher of the team in a season HR - Home Runs scored by the team in a season AB - An at bat refers to a batter’s turn to face a pitcher and attempt to hit the ball. IPouts - The number of outs a p...

8760 sym R (10143 sym/61 pcs) 4 img 1 tbl

Final Project

20.04.2024

Contents 1. Reading the lahman’s Data File. 2. Exploratory Data Analysis. -Selecting Independent Variables 3. Linear Regression Model - Predicting Wins 4. Model Diagnosis. 5. Model Evaluation using a 2023 season data. 6. Usefulness of the study. library(ggrepel) ## Loading required package: ggplot2 library(boot) library(broom) library(tid...

7444 sym R (14305 sym/57 pcs) 4 img 1 tbl

Fina

20.04.2024

Contents 1. Reading the lahman’s Data File. 2. Exploratory Data Analysis. -Selecting Independent Variables 3. Linear Regression Model - Predicting Wins 4. Model Diagnosis. 5. Model Evaluation using a 2023 season data. 6. Usefulness of the study. library(ggrepel) ## Loading required package: ggplot2 library(boot) library(broom) library(tid...

7444 sym R (14305 sym/57 pcs) 4 img 1 tbl

Final Project

19.04.2024

Contents 1. Reading the lahman’s Data File. 2. Exploratory Data Analysis -Selecting Independent Variables 3. Linear Regression Model - Predicting Wins 4. Model Diagnosis 5. Usefulness of the study library(ggrepel) ## Loading required package: ggplot2 library(boot) library(broom) library(tidyverse) ## ── Attaching core tidyverse packages...

5723 sym R (13307 sym/51 pcs) 7 img

Data Dive week 12

09.04.2024

Content 1. Importing Major League Baseball (MLB) Views Data 2. Creating a XTS time series data of MLB views 3. Visualizing the MLB time series data. 4. Identifying Trend Linear Regression Moving Averages Lo(W)ess 5. Identifying Seasonality using ACF and PACF library(tidyverse) ## ── Attaching core tidyverse packages ───────�...

499 sym R (77660 sym/24 pcs) 6 img