Skip to content

Commit

Permalink
Added some notes and goals.
Browse files Browse the repository at this point in the history
  • Loading branch information
serra committed Apr 23, 2012
1 parent 6b96806 commit 55820b4
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
13 changes: 13 additions & 0 deletions analyzeboxscores.r
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# summary I keep for when doin a fully automated run;
# right now I'm only working interactively

#read csv file into statlinesraw

# order statlinesraw
lines <- statlinesraw[order(statlinesraw$wed_ID, statlinesraw$wed_ThuisPloeg, statlinesraw$wed_UitPloeg),]

sqlThuis <- "select wed_ID, plg_ID, max(wed_TeamOffRebThuis), max(wed_TeamDefRebThuis), max(wed_TeamStealThuis), max(wed_TeamTurnOverThuis) from lines where plg_Id=wed_ThuisPloeg group by wed_Id, plg_ID"
linesThuis <- sqldf(sqlThuis)

sqlUit <- gsub("Thuis", "Uit", sqlThuis)
linesUit=sqldf(sqlUit)
27 changes: 27 additions & 0 deletions goals.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Goals
=====

Offensive and defensive ratings for teams for complete season (including play offs).

Four performance indicators for all teams and their opponents, shown in side-by-side box plots:

* (effective?) field goal percentage
* offensive rebound percentage
* turnover percentage
* fta/fga

Summary of indicators for the competition.

Field- and floor percentages for all teams.

Shot selection for all teams

* 2s / 3s as box plot for season

Offensive and defensive ratings for players for complete season.

Offensive usage percentages for all players.

Point produced for all players.

Verifiaction of estimaters (e.g. 0.4 in the possesion calculation)

0 comments on commit 55820b4

Please sign in to comment.