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.