LAH spends $100k+ to dubious effect

It was really great to open the Town Crier and see some actual crime data plotted out for all to see. Critical reporting on crime data is vital for all of us to know what's going on, so we can make good choices.

Unfortunately, Los Altos Hills city manager Peter Pirnejad came to some incorrect conclusions from the data. We took a look at some of these claims back in October. In particular, it still seems that he is claiming it is impossible to know if preventative measures have been effective, which is hogwash of course.

Now Pirnejad is saying that crime is down this year, and that it's probably because of the increased funding they've put on policing. 

Spoiler: it seems like LAH has increased funding by at least $100k with no discernable impact on burglary.

The city manager's main point is summarized in the graph in the article, which I'll reproduce here:

credit: Christina Casillas, Town Crier

There are a couple of things going on here. First of all, the data is plotted for fiscal year, not calendar year, presumably to make it easier to compare to budget levels. We don't get total expenditure for each fiscal year in the article. It seems that FY2023 is September 2022 through August 2023.

Second, we don't see any data for the months March through August. Of course, that data doesn't exist yet for FY24, but we lose some important context when we don't see the FY23 data.

The idea, it seems, is that burglary was very high in February 2023, and much lower in February 2024.

But look how small the absolute numbers are! As any sports fan knows, small sample sizes can be deceiving. A variation of just a couple events can make big jumps.

There are statistical ways of dealing with this. The most conventional way is with a something called a Poisson Means Test. This test asks: If it were really true that the crime rate were unchanged, how unlikely is it that we would measure these two values (37 for 2023, and 25 for 2024)? If it's really unlikely, then we have to doubt the notion that crime is unchanged. This number, called a p-value, is usually required to be less than 5% (0.05) in order to reject the idea that crime is constant.

When we use a nice python routine to calculate the p-value, we get 0.13, or 13%. Since that is larger that 0.05, it means this result is not statistically significant.*

That is, when we apply some statistics to the reported data, we can't say that the crime rate is down.

That's entirely consistent with what we saw in the previous post: crime bounces around a bit over the last 5 years, but it's neither up nor down.

What we would like to see is a clear correlation between the amount of money LAH spends on policing, and the crime rate. In fact, what we see is a big increase in spending, and no clear effect on burglary.

Conclusion

In order to evaluate the effectiveness of LAH's program, we need to know:
1. How much difference it made
2. How much it cost

Using the department's data, we find that the difference in burglary rates between 2023 and 2024 was not statistically significant.

We don't have clear numbers for each year, but it looks like the budget was increased by at least $100k in 2024.

The increased expenditure did not lead to a statistically significant change. And that's consistent with the data for the last 6 years, when property crime rates in Los Altos Hills have been fairly constant.

Bottom line: that $100k+ budget increase did not lead to any significant decrease in burglary.

A tangent on data transparency

At council meetings and public forums, police departments have to simplify the data they present to the public. However, if they don't provide a way to get that raw data, it's very difficult to verify their conclusions. The Santa Clara County Sheriffs Department (along with the Los Altos Police Department) does upload their incident data to CityProtect quarterly, which is much better than most departments in the Bay Area. However, their incident records include only a block address ("200 Block Main St") without the city. It takes a fair amount of work to use those addresses to determine a city, and then pull out the Los Altos Hills incidents, and the process isn't perfect.

It sure would be helpful if LAH would release all the data they are using for these results.

Furthermore, it's hard to know exactly what they are looking at. Is this data burglary, exclusive of theft and robbery? How do the trends change if we include all property crime?


Notes

*If you want to try it yourself, use 
res = stats.poisson_means_test(37, 1, 25, 1)
res.statistic, res.pvalue




Comments

Popular posts from this blog

What's going on in Sunnyvale?

RIPA Update for Los Altos

Is there bias in our policing?