Shane Orr
Shane Orr
Blog
Web Apps
About
Contact
Posts
R Package to Calculate Income Taxes
A joy of programming is making tools to solve your everyday problems. For example, I found myself often having to estimate income taxes on various economic data sets that included income and family characteristics.
Last updated on May 1, 2022
10 min read
Using the Veil of Darkness Test to Evaulate Discrimination in Traffic Stops
The veil of darkness test attempts to uncover racial differences in traffic stop rates. The test, like all tests, has its own weaknesses and should only be seen as additional evidence.
Last updated on Sep 23, 2021
19 min read
bayesian analysis
,
traffic stops
A First Attempt at Bayesian Mediation Analysis
What is mediation analysis? Untangling the Gordian Effects Knot Direct effect the old fashioned way Total effect the old fashioned way Indirect effect (kind-of) the old fashioned way Step 1: Fitting regression models Step 2: Create potential outcome predictions Compare results to mediation package What is mediation analysis?
Last updated on May 25, 2021
17 min read
bayesian analysis
,
mediation analysis
How Often Do People Get Pulled Over for Speeding in North Carolina?
We all have preconceptions about cops and speeding tickets. That small town is a speed trap. There are more cops out on holidays like the 4th of July and Memorial Day, just waiting to pull people over.
Last updated on Feb 17, 2021
5 min read
eda
,
traffic stops
,
Highcharts
,
data visualization
Which law schools best prepare students for the bar exam?
Evaluating the effectiveness of law schools is challenging for two reasons. The first hurdle lies in defining effectiveness. What does it mean for one law school to provide a better legal education than other schools?
Last updated on Dec 8, 2020
22 min read
bayesian analysis
,
law school
Bayesian Bar Passage: A Tutorial on Bayesian Hierarchical Modeling in R
This post presents a gentle tutorial on Bayesian hierarchical modeling. After completing the tutorial you will be able create a bare-bones Bayesian hierarchical model in R, intuitively understand how it works, examine its posterior distribution, and make predictions with the model.
Shane Orr
Last updated on Nov 23, 2020
12 min read
bayesian analysis
,
tutorial
Cite
×