PLS Path analysis of NBA teams
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
NBA_PLS_path.R
NBA_team_data.R
README.md
Team_data_pre_game_7_finals.RData

README.md

PLS Path NBA analysis


Post published on TheDataGame.com.au blog.
Based on the book PLS Path Modeling with R

Dependencies

library(rjson)
library(plspm)
library(colortools)

Part 1: extracting data from stats.nba.com

First, run the file NBA_team_data.R to extract traditional stats for the 16 teams that took part on the 2015-16 Playoffs.

Part 2: running PLS Path Model

Use NBA_PLS_path.R to run the PLS Path model.