Post published on TheDataGame.com.au blog.
Based on the book PLS Path Modeling with R
library(rjson)
library(plspm)
library(colortools)
First, run the file NBA_team_data.R to extract traditional stats for the 16 teams that took part on the 2015-16 Playoffs.
Use NBA_PLS_path.R to run the PLS Path model.