Page 1 of 1
Shot efficiency as a function of distance (chart)
Posted: Sun Dec 16, 2012 8:20 pm
by EvanZ
Was working on my database, and testing the aggregation pipeline in MongoDB. This is a by-product. Some of the league's top scorers right now.

Re: Shot efficiency as a function of distance (chart)
Posted: Sun Dec 16, 2012 9:27 pm
by Eternal
What's the source of the shot distance? The ESPN data?
-Chris
Re: Shot efficiency as a function of distance (chart)
Posted: Sun Dec 16, 2012 11:46 pm
by EvanZ
I use shot data from ESPN and NBC.
Re: Shot efficiency as a function of distance (chart)
Posted: Mon Dec 17, 2012 12:21 pm
by DSMok1
Those are really cool!
It might be better to plot FG% for the smoothing function because you get a rather odd discontinuity at the 3 point line.
Re: Shot efficiency as a function of distance (chart)
Posted: Mon Dec 17, 2012 1:50 pm
by Mike G
Or you might say there is Not any discontinuity at the 3pt line.
Usually that's at 24', but less in the corners.
The smoothing makes it seem that long twos are better than mid-range twos, and just about as good as 3's, for many players.
Re: Shot efficiency as a function of distance (chart)
Posted: Mon Dec 17, 2012 4:11 pm
by bbstats
The Tyson Chandler graph made me chuckle.
Re: Shot efficiency as a function of distance (chart)
Posted: Mon Dec 17, 2012 5:45 pm
by EvanZ
DSMok1 wrote:Those are really cool!
It might be better to plot FG% for the smoothing function because you get a rather odd discontinuity at the 3 point line.

Re: Shot efficiency as a function of distance (chart)
Posted: Mon Dec 17, 2012 5:49 pm
by Eternal
Are you smoothing using a local regression?
-Chris
Re: Shot efficiency as a function of distance (chart)
Posted: Mon Dec 17, 2012 8:13 pm
by EvanZ
Eternal wrote:Are you smoothing using a local regression?
-Chris
The smoothing is whatever the default smoother is in ggplot, weighted by FGA. I think it's a LOESS smoother.
Re: Shot efficiency as a function of distance (chart)
Posted: Wed Dec 19, 2012 8:57 pm
by JohnHasADHD
Darn, I have the data to do that, but not the statistical ability - sadness
Re: Shot efficiency as a function of distance (chart)
Posted: Wed Dec 19, 2012 8:57 pm
by JohnHasADHD
Question
Did you think about breaking it down on home/away numbers, I'd just be curious to see any variation.