SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Downloaden Sie, um offline zu lesen
Speed Limits, Accidents and
Assignment
Mike Maher
University College London
ITS Leeds, 12 December 2016
Overview of the talk
• Describing two pieces of recent work
• First: two projects on speed limits
– effect of 20 mph speed limits
– effect on accidents of increase in HGV speed limits
– both being carried out by Atkins
– both being done for DfT
– my role is providing statistical analysis guidance
– no data as yet on 20 mph limits
• Second: a novel assignment problem
– but not as we generally know it!
HGV speed limit increase
• Increases came into force at start of April 2015
• From 40mph to 50 mph on single carriageways ..
• .. and from 50mph to 60mph on duals
• DfT want to know if any impact on accidents
• Quarterly accident data on affected roads
– for 10 years before the change ..
– .. and then up to three years after
• So far only data for two quarters after
– so just an illustration of what is to be done
– and the modelling to be applied
Time series model (1)
• average 400 accs / month
• average 100 FSCs / month
• 41 obs’ns before
• Clear trend and seasonality
• Fit SARIMA model
• Use auto.arima function
in R
• d = 1, D = 1
• AR(1) term
log(all accidents)
actual (blue), fitted (red)
Time series model (2)
• Then fit an intervention model
– using all quarterly data (43 observations)
– include a regressor variable: before / after dummy
– = 0 in before period, and = 1 in after period
– coefficient β estimates step change in mean of
log(accidents) following speed limit increase
– allowing for trend and seasonality
– so β < 0 implies a reduction in accidents
– accident rate then factored by exp(β)
Results
• All accidents
– 𝛽 = -0.276 (se = 0.088), so a reduction in accidents
– 95% CI on change: (-36%, -10%)
• FSCs
– 𝛽 = -0.212 (se = 0.110), so a reduction in FSCs
– 95% CI on change: (-35%, 0%)
• But clearly very limited amount of after data so far
– further work to be done in early 2017
Tennis assignment problem
• Midweek men’s doubles group in North Berwick
– around 20 men: retired, semi-retired etc
– each lets me know when available next week ..
– .. and how much they’d like / be willing to play
– pattern changes from week to week
– I put together the groups of four (or eight)
– maximise number of matches, satisfying the constraints
• Used to do it manually: pen and paper
– but wrote an algorithm to automate the process
– integer linear programming problem
– makes it easier for me and fair to everyone
– article in June issue of Mathematics Today
Names Mon Tues Wed Thurs Fri Times
Barry T 0 0 1 1 0 2
Tom B 1 1 0 1 0 3
Gordon B 0 0 0 0 1 1
Peter W 1 1 0 0 0 2
Colin C 1 0 0 1 0 2
Mike M 0 1 1 1 1 3
Keith I 0 1 1 0 0 1
Alan C 1 0 0 1 0 2
John S 0 1 0 0 0 1
Keith B 1 0 1 0 0 2
George StC 1 1 1 1 0 1
Michael L 0 0 1 0 0 1
Phil M 0 1 0 0 0 1
Brian F 1 1 0 0 0 2
Peter K 0 1 0 1 0 2
Willie McM 0 0 0 1 0 1
Ken L 0 1 0 0 0 1
Availability matrix: A
The basic model
Solve in R using the MILP solver lp (part of the lpSolve package)
Generally, many equally-optimal solutions
𝑥𝑖𝑗 = 1 if man 𝑖 plays on day 𝑗 and if 𝐴𝑖𝑗 = 1
𝑔𝑗 = number of 4 − man groups on day 𝑗
𝑗
𝑥𝑖𝑗 ≤ 𝑇𝑖 ∀ 𝑖
𝑖
𝑥𝑖𝑗 − 4𝑔𝑗 = 0 ∀ 𝑗
Maximise 𝑧 =
𝑖𝑗
𝑥𝑖𝑗 (or number of matches in the week)
Equity issues
}
𝐺1 and 𝐺2 act as secondary criteria, after no. matches
𝑚𝑖 = 𝑗 𝑥𝑖𝑗 = number of matches played by man 𝑖
Solution 1: 𝑚 𝐴 = 1 and 𝑚 𝐵 = 1
Solution 2: 𝑚 𝐴 = 2 and 𝑚 𝐵 = 0
𝑦𝑖
(𝑘)
= 1 if man 𝑖 gets at least 𝑘 matches in the week
𝐺 𝑘 = 𝑖 𝑦𝑖
(𝑘)
= number getting at least 𝑘 matches
solution 1 fairer
If – then constraints
If 𝑚𝑖 ≥ 𝑘 then 𝑦𝑖
𝑘
= 1 non − linear but imposed by
𝑘𝑦𝑖
(𝑘)
≤ 𝑚𝑖 ≤ 𝑘 − 𝜀 1 − 𝑦𝑖
(𝑘)
+ 5𝑦𝑖
(𝑘)
Maximise 𝑧 = 𝑖𝑗 𝑥𝑖𝑗 + 𝛼1 𝐺1 + 𝛼2 𝐺2
𝛼1 = 0.01 and 𝛼2 = 0.0001
𝐺1 = 16 𝐺2 = 8
Solution: assigned groups
Day Players
Monday Peter W, Colin C, Keith B, Brian F
Tuesday Tom B, Peter W, Mike M, John S, Phil M, Brian F, Peter K, Ken L
Wednesday Barry T, Keith I, Keith B, Michael L
Thursday Barry T, Tom B, Colin C, Mike M, Alan C, George StC, Peter K, Willie McM
Copy and paste into email message to group members
Two devices in the optimisation
• Integer linear programing problem
– mix of binary and integer variables
• “If-then” conditions: if 𝑚𝑖 ≥ 𝑘 then 𝑦𝑖
𝑘
= 1
– intrinsically non-linear
– but implemented via linear constraints
• Hierarchy of criteria: 𝑖𝑗 𝑥𝑖𝑗, 𝐺1, 𝐺2
– but combined into one objective function
– 𝑧 = 𝑖𝑗 𝑥𝑖𝑗 + 𝛼1 𝐺1 + 𝛼2 𝐺2
Summary
• Efficient and fair
– algorithm makes life much easier for me
– no favouritism: random permutation of names
• Article in Mathematics Today
– or at http://discovery.ucl.ac.uki/1522020
• Algorithm now produced as a Shiny App
– https://mikemaher.shinyapps.io/TennisApp
• So no need for R or knowledge of the algorithm
– just need to upload the availability matrix
Thank you!
Any questions?

Weitere ähnliche Inhalte

Andere mochten auch

Critical issues in estimating human exposure to traffic related air pollution...
Critical issues in estimating human exposure to traffic related air pollution...Critical issues in estimating human exposure to traffic related air pollution...
Critical issues in estimating human exposure to traffic related air pollution...Institute for Transport Studies (ITS)
 
Autonomous Vehicles
Autonomous VehiclesAutonomous Vehicles
Autonomous VehiclesIoT613
 
Study HERE SBD - How autonomous vehicles could relieve or worsen traffic cong...
Study HERE SBD - How autonomous vehicles could relieve or worsen traffic cong...Study HERE SBD - How autonomous vehicles could relieve or worsen traffic cong...
Study HERE SBD - How autonomous vehicles could relieve or worsen traffic cong...Ludovic Privat
 
2016- A Year in Review of the Development of Autonomous vehicles
2016- A Year in Review of the Development of Autonomous vehicles2016- A Year in Review of the Development of Autonomous vehicles
2016- A Year in Review of the Development of Autonomous vehiclesJen Rossi
 
Millennials on the move - life transitions and Australian millennials
Millennials on the move - life transitions and Australian millennialsMillennials on the move - life transitions and Australian millennials
Millennials on the move - life transitions and Australian millennialsInstitute for Transport Studies (ITS)
 
Connected & Autonomous vehicles: cybersecurity on a grand scale v1
Connected & Autonomous vehicles: cybersecurity on a grand scale v1Connected & Autonomous vehicles: cybersecurity on a grand scale v1
Connected & Autonomous vehicles: cybersecurity on a grand scale v1Bill Harpley
 
Autonomous Vehicles: the Intersection of Robotics and Artificial Intelligence
Autonomous Vehicles: the Intersection of Robotics and Artificial IntelligenceAutonomous Vehicles: the Intersection of Robotics and Artificial Intelligence
Autonomous Vehicles: the Intersection of Robotics and Artificial IntelligenceWiley Jones
 
Wenyuan xu Minrui yan can you trust autonomous vehicles_slides_liu_final
Wenyuan xu Minrui yan can you trust autonomous vehicles_slides_liu_finalWenyuan xu Minrui yan can you trust autonomous vehicles_slides_liu_final
Wenyuan xu Minrui yan can you trust autonomous vehicles_slides_liu_finalPacSecJP
 
Designing Roads for AVs (autonomous vehicles)
Designing Roads for AVs (autonomous vehicles)Designing Roads for AVs (autonomous vehicles)
Designing Roads for AVs (autonomous vehicles)Jeffrey Funk
 
MEMS and Sensors in Automotive Applications on the Road to Autonomous Vehicle...
MEMS and Sensors in Automotive Applications on the Road to Autonomous Vehicle...MEMS and Sensors in Automotive Applications on the Road to Autonomous Vehicle...
MEMS and Sensors in Automotive Applications on the Road to Autonomous Vehicle...MicroVision
 
Smart infrastructure for autonomous vehicles
Smart infrastructure for autonomous vehicles Smart infrastructure for autonomous vehicles
Smart infrastructure for autonomous vehicles Jeffrey Funk
 
Autonomous Vehicles: Technologies, Economics, and Opportunities
Autonomous Vehicles: Technologies, Economics, and OpportunitiesAutonomous Vehicles: Technologies, Economics, and Opportunities
Autonomous Vehicles: Technologies, Economics, and OpportunitiesJeffrey Funk
 
The Future Development of Traffic Signals and the Impact of Autonomous Vehicles
The Future Development of Traffic Signals and the Impact of Autonomous VehiclesThe Future Development of Traffic Signals and the Impact of Autonomous Vehicles
The Future Development of Traffic Signals and the Impact of Autonomous VehiclesJumpingJaq
 

Andere mochten auch (19)

Critical issues in estimating human exposure to traffic related air pollution...
Critical issues in estimating human exposure to traffic related air pollution...Critical issues in estimating human exposure to traffic related air pollution...
Critical issues in estimating human exposure to traffic related air pollution...
 
Creative industries flexibility of work and travel
Creative industries flexibility of work and travelCreative industries flexibility of work and travel
Creative industries flexibility of work and travel
 
Autonomous Vehicles
Autonomous VehiclesAutonomous Vehicles
Autonomous Vehicles
 
2014 MATC Spring Lecture Series: Chris Schwarz
2014 MATC Spring Lecture Series: Chris Schwarz2014 MATC Spring Lecture Series: Chris Schwarz
2014 MATC Spring Lecture Series: Chris Schwarz
 
Study HERE SBD - How autonomous vehicles could relieve or worsen traffic cong...
Study HERE SBD - How autonomous vehicles could relieve or worsen traffic cong...Study HERE SBD - How autonomous vehicles could relieve or worsen traffic cong...
Study HERE SBD - How autonomous vehicles could relieve or worsen traffic cong...
 
2016- A Year in Review of the Development of Autonomous vehicles
2016- A Year in Review of the Development of Autonomous vehicles2016- A Year in Review of the Development of Autonomous vehicles
2016- A Year in Review of the Development of Autonomous vehicles
 
Autonomous Vehicles and Reducing GHG
Autonomous Vehicles and Reducing GHGAutonomous Vehicles and Reducing GHG
Autonomous Vehicles and Reducing GHG
 
Millennials on the move - life transitions and Australian millennials
Millennials on the move - life transitions and Australian millennialsMillennials on the move - life transitions and Australian millennials
Millennials on the move - life transitions and Australian millennials
 
Connected & Autonomous vehicles: cybersecurity on a grand scale v1
Connected & Autonomous vehicles: cybersecurity on a grand scale v1Connected & Autonomous vehicles: cybersecurity on a grand scale v1
Connected & Autonomous vehicles: cybersecurity on a grand scale v1
 
Autonomous Vehicles: the Intersection of Robotics and Artificial Intelligence
Autonomous Vehicles: the Intersection of Robotics and Artificial IntelligenceAutonomous Vehicles: the Intersection of Robotics and Artificial Intelligence
Autonomous Vehicles: the Intersection of Robotics and Artificial Intelligence
 
Wenyuan xu Minrui yan can you trust autonomous vehicles_slides_liu_final
Wenyuan xu Minrui yan can you trust autonomous vehicles_slides_liu_finalWenyuan xu Minrui yan can you trust autonomous vehicles_slides_liu_final
Wenyuan xu Minrui yan can you trust autonomous vehicles_slides_liu_final
 
Designing Roads for AVs (autonomous vehicles)
Designing Roads for AVs (autonomous vehicles)Designing Roads for AVs (autonomous vehicles)
Designing Roads for AVs (autonomous vehicles)
 
MEMS and Sensors in Automotive Applications on the Road to Autonomous Vehicle...
MEMS and Sensors in Automotive Applications on the Road to Autonomous Vehicle...MEMS and Sensors in Automotive Applications on the Road to Autonomous Vehicle...
MEMS and Sensors in Automotive Applications on the Road to Autonomous Vehicle...
 
Connected and Autonomous Vehicles: The Enabling Technologies
Connected and Autonomous Vehicles: The Enabling TechnologiesConnected and Autonomous Vehicles: The Enabling Technologies
Connected and Autonomous Vehicles: The Enabling Technologies
 
Smart infrastructure for autonomous vehicles
Smart infrastructure for autonomous vehicles Smart infrastructure for autonomous vehicles
Smart infrastructure for autonomous vehicles
 
Autonomous vehicles
Autonomous vehiclesAutonomous vehicles
Autonomous vehicles
 
Autonomous Vehicles: Technologies, Economics, and Opportunities
Autonomous Vehicles: Technologies, Economics, and OpportunitiesAutonomous Vehicles: Technologies, Economics, and Opportunities
Autonomous Vehicles: Technologies, Economics, and Opportunities
 
The Future Development of Traffic Signals and the Impact of Autonomous Vehicles
The Future Development of Traffic Signals and the Impact of Autonomous VehiclesThe Future Development of Traffic Signals and the Impact of Autonomous Vehicles
The Future Development of Traffic Signals and the Impact of Autonomous Vehicles
 
TpM2016: How to effectively manage autonomous vehicles ? A reflection on the ...
TpM2016: How to effectively manage autonomous vehicles ? A reflection on the ...TpM2016: How to effectively manage autonomous vehicles ? A reflection on the ...
TpM2016: How to effectively manage autonomous vehicles ? A reflection on the ...
 

Mehr von Institute for Transport Studies (ITS)

Transport Projects Aimed at Fostering Economic Growth – experience in the UK ...
Transport Projects Aimed at Fostering Economic Growth – experience in the UK ...Transport Projects Aimed at Fostering Economic Growth – experience in the UK ...
Transport Projects Aimed at Fostering Economic Growth – experience in the UK ...Institute for Transport Studies (ITS)
 
London's Crossrail Scheme - its evolution, governance, financing and challenges
London's Crossrail Scheme  - its evolution, governance, financing and challengesLondon's Crossrail Scheme  - its evolution, governance, financing and challenges
London's Crossrail Scheme - its evolution, governance, financing and challengesInstitute for Transport Studies (ITS)
 
A clustering method based on repeated trip behaviour to identify road user cl...
A clustering method based on repeated trip behaviour to identify road user cl...A clustering method based on repeated trip behaviour to identify road user cl...
A clustering method based on repeated trip behaviour to identify road user cl...Institute for Transport Studies (ITS)
 
Social networks, activities, and travel - building links to understand behaviour
Social networks, activities, and travel - building links to understand behaviourSocial networks, activities, and travel - building links to understand behaviour
Social networks, activities, and travel - building links to understand behaviourInstitute for Transport Studies (ITS)
 
Shipping by the crowd - empirical analysis of operations and behavior
Shipping by the crowd - empirical analysis of operations and behaviorShipping by the crowd - empirical analysis of operations and behavior
Shipping by the crowd - empirical analysis of operations and behaviorInstitute for Transport Studies (ITS)
 
Towards an effective transitioning of public transport system in Ghana
Towards an effective transitioning of public transport system in GhanaTowards an effective transitioning of public transport system in Ghana
Towards an effective transitioning of public transport system in GhanaInstitute for Transport Studies (ITS)
 
Mobility in deprived settlements - walking and the built environment
Mobility in deprived settlements - walking and the built environmentMobility in deprived settlements - walking and the built environment
Mobility in deprived settlements - walking and the built environmentInstitute for Transport Studies (ITS)
 
Managing the introduction of electric vehicles into the car fleet of Scotland
Managing the introduction of electric vehicles into the car fleet of ScotlandManaging the introduction of electric vehicles into the car fleet of Scotland
Managing the introduction of electric vehicles into the car fleet of ScotlandInstitute for Transport Studies (ITS)
 

Mehr von Institute for Transport Studies (ITS) (20)

Transport Projects Aimed at Fostering Economic Growth – experience in the UK ...
Transport Projects Aimed at Fostering Economic Growth – experience in the UK ...Transport Projects Aimed at Fostering Economic Growth – experience in the UK ...
Transport Projects Aimed at Fostering Economic Growth – experience in the UK ...
 
BA Geography with Transport Studies at the University of Leeds
BA Geography with Transport Studies at the University of LeedsBA Geography with Transport Studies at the University of Leeds
BA Geography with Transport Studies at the University of Leeds
 
Highways Benchmarking - Accelerating Impact
Highways Benchmarking - Accelerating ImpactHighways Benchmarking - Accelerating Impact
Highways Benchmarking - Accelerating Impact
 
Using telematics data to research traffic related air pollution
Using telematics data to research traffic related air pollutionUsing telematics data to research traffic related air pollution
Using telematics data to research traffic related air pollution
 
Masters Dissertation Posters 2017
Masters Dissertation Posters 2017Masters Dissertation Posters 2017
Masters Dissertation Posters 2017
 
Institute for Transport Studies - Masters Open Day 2017
Institute for Transport Studies - Masters Open Day 2017Institute for Transport Studies - Masters Open Day 2017
Institute for Transport Studies - Masters Open Day 2017
 
London's Crossrail Scheme - its evolution, governance, financing and challenges
London's Crossrail Scheme  - its evolution, governance, financing and challengesLondon's Crossrail Scheme  - its evolution, governance, financing and challenges
London's Crossrail Scheme - its evolution, governance, financing and challenges
 
Secretary of State Visit
Secretary of State VisitSecretary of State Visit
Secretary of State Visit
 
Business model innovation for electrical vehicle futures
Business model innovation for electrical vehicle futuresBusiness model innovation for electrical vehicle futures
Business model innovation for electrical vehicle futures
 
A clustering method based on repeated trip behaviour to identify road user cl...
A clustering method based on repeated trip behaviour to identify road user cl...A clustering method based on repeated trip behaviour to identify road user cl...
A clustering method based on repeated trip behaviour to identify road user cl...
 
Cars cars everywhere
Cars cars everywhereCars cars everywhere
Cars cars everywhere
 
Annual Review 2015-16 - University of leeds
Annual Review 2015-16 - University of leedsAnnual Review 2015-16 - University of leeds
Annual Review 2015-16 - University of leeds
 
Social networks, activities, and travel - building links to understand behaviour
Social networks, activities, and travel - building links to understand behaviourSocial networks, activities, and travel - building links to understand behaviour
Social networks, activities, and travel - building links to understand behaviour
 
Rail freight in Japan - track access
Rail freight in Japan - track accessRail freight in Japan - track access
Rail freight in Japan - track access
 
Shipping by the crowd - empirical analysis of operations and behavior
Shipping by the crowd - empirical analysis of operations and behaviorShipping by the crowd - empirical analysis of operations and behavior
Shipping by the crowd - empirical analysis of operations and behavior
 
Towards an effective transitioning of public transport system in Ghana
Towards an effective transitioning of public transport system in GhanaTowards an effective transitioning of public transport system in Ghana
Towards an effective transitioning of public transport system in Ghana
 
City regions, transport and devolution
City regions, transport and devolutionCity regions, transport and devolution
City regions, transport and devolution
 
Mobility in deprived settlements - walking and the built environment
Mobility in deprived settlements - walking and the built environmentMobility in deprived settlements - walking and the built environment
Mobility in deprived settlements - walking and the built environment
 
Incorporating social influence into hybrid choice models
Incorporating social influence into hybrid choice modelsIncorporating social influence into hybrid choice models
Incorporating social influence into hybrid choice models
 
Managing the introduction of electric vehicles into the car fleet of Scotland
Managing the introduction of electric vehicles into the car fleet of ScotlandManaging the introduction of electric vehicles into the car fleet of Scotland
Managing the introduction of electric vehicles into the car fleet of Scotland
 

Kürzlich hochgeladen

Can't Roll Up Your Audi A4 Power Window Let's Uncover the Issue!
Can't Roll Up Your Audi A4 Power Window Let's Uncover the Issue!Can't Roll Up Your Audi A4 Power Window Let's Uncover the Issue!
Can't Roll Up Your Audi A4 Power Window Let's Uncover the Issue!Mint Automotive
 
What Could Cause A VW Tiguan's Radiator Fan To Stop Working
What Could Cause A VW Tiguan's Radiator Fan To Stop WorkingWhat Could Cause A VW Tiguan's Radiator Fan To Stop Working
What Could Cause A VW Tiguan's Radiator Fan To Stop WorkingEscondido German Auto
 
What Could Be Causing My Jaguar XF To Lose Coolant
What Could Be Causing My Jaguar XF To Lose CoolantWhat Could Be Causing My Jaguar XF To Lose Coolant
What Could Be Causing My Jaguar XF To Lose CoolantEMC- European Motor Cars
 
907MTAMount Coventry University Bachelor's Diploma in Engineering
907MTAMount Coventry University Bachelor's Diploma in Engineering907MTAMount Coventry University Bachelor's Diploma in Engineering
907MTAMount Coventry University Bachelor's Diploma in EngineeringFi sss
 
Transportation Electrification Funding Strategy by Jeff Allen and Brandt Hert...
Transportation Electrification Funding Strategy by Jeff Allen and Brandt Hert...Transportation Electrification Funding Strategy by Jeff Allen and Brandt Hert...
Transportation Electrification Funding Strategy by Jeff Allen and Brandt Hert...Forth
 
原版1:1定制宾州州立大学毕业证(PSU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制宾州州立大学毕业证(PSU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制宾州州立大学毕业证(PSU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制宾州州立大学毕业证(PSU毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 
Centering Equity Panel by Samantha Bingham
Centering Equity Panel by Samantha BinghamCentering Equity Panel by Samantha Bingham
Centering Equity Panel by Samantha BinghamForth
 
248649330-Animatronics-Technical-Seminar-Report-by-Aswin-Sarang.pdf
248649330-Animatronics-Technical-Seminar-Report-by-Aswin-Sarang.pdf248649330-Animatronics-Technical-Seminar-Report-by-Aswin-Sarang.pdf
248649330-Animatronics-Technical-Seminar-Report-by-Aswin-Sarang.pdfkushkruthik555
 
原版1:1定制中央昆士兰大学毕业证(CQU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制中央昆士兰大学毕业证(CQU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制中央昆士兰大学毕业证(CQU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制中央昆士兰大学毕业证(CQU毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 
2024 TOP 10 most fuel-efficient vehicles according to the US agency
2024 TOP 10 most fuel-efficient vehicles according to the US agency2024 TOP 10 most fuel-efficient vehicles according to the US agency
2024 TOP 10 most fuel-efficient vehicles according to the US agencyHyundai Motor Group
 
原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量
原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量
原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量208367051
 
call girls in G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in  G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in  G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
(办理学位证)(Toledo毕业证)托莱多大学毕业证成绩单修改留信学历认证原版一模一样
(办理学位证)(Toledo毕业证)托莱多大学毕业证成绩单修改留信学历认证原版一模一样(办理学位证)(Toledo毕业证)托莱多大学毕业证成绩单修改留信学历认证原版一模一样
(办理学位证)(Toledo毕业证)托莱多大学毕业证成绩单修改留信学历认证原版一模一样gfghbihg
 
Electric Nation Upper Midwest Inter-Tribal Electric Vehicle (EV) Charging Com...
Electric Nation Upper Midwest Inter-Tribal Electric Vehicle (EV) Charging Com...Electric Nation Upper Midwest Inter-Tribal Electric Vehicle (EV) Charging Com...
Electric Nation Upper Midwest Inter-Tribal Electric Vehicle (EV) Charging Com...Forth
 
(办理学位证)(Rice毕业证)莱斯大学毕业证成绩单修改留信学历认证原版一模一样
(办理学位证)(Rice毕业证)莱斯大学毕业证成绩单修改留信学历认证原版一模一样(办理学位证)(Rice毕业证)莱斯大学毕业证成绩单修改留信学历认证原版一模一样
(办理学位证)(Rice毕业证)莱斯大学毕业证成绩单修改留信学历认证原版一模一样gfghbihg
 
(Griffith毕业证)格里菲斯大学毕业证毕业证成绩单修改留信学历认证原版一比一
(Griffith毕业证)格里菲斯大学毕业证毕业证成绩单修改留信学历认证原版一比一(Griffith毕业证)格里菲斯大学毕业证毕业证成绩单修改留信学历认证原版一比一
(Griffith毕业证)格里菲斯大学毕业证毕业证成绩单修改留信学历认证原版一比一ejgeojhg
 
原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证
原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证
原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证jjrehjwj11gg
 
call girls in Jama Masjid (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Jama Masjid (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Jama Masjid (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Jama Masjid (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
办理学位证(MLU文凭证书)哈勒 维滕贝格大学毕业证成绩单原版一模一样
办理学位证(MLU文凭证书)哈勒 维滕贝格大学毕业证成绩单原版一模一样办理学位证(MLU文凭证书)哈勒 维滕贝格大学毕业证成绩单原版一模一样
办理学位证(MLU文凭证书)哈勒 维滕贝格大学毕业证成绩单原版一模一样umasea
 

Kürzlich hochgeladen (20)

Can't Roll Up Your Audi A4 Power Window Let's Uncover the Issue!
Can't Roll Up Your Audi A4 Power Window Let's Uncover the Issue!Can't Roll Up Your Audi A4 Power Window Let's Uncover the Issue!
Can't Roll Up Your Audi A4 Power Window Let's Uncover the Issue!
 
What Could Cause A VW Tiguan's Radiator Fan To Stop Working
What Could Cause A VW Tiguan's Radiator Fan To Stop WorkingWhat Could Cause A VW Tiguan's Radiator Fan To Stop Working
What Could Cause A VW Tiguan's Radiator Fan To Stop Working
 
What Could Be Causing My Jaguar XF To Lose Coolant
What Could Be Causing My Jaguar XF To Lose CoolantWhat Could Be Causing My Jaguar XF To Lose Coolant
What Could Be Causing My Jaguar XF To Lose Coolant
 
907MTAMount Coventry University Bachelor's Diploma in Engineering
907MTAMount Coventry University Bachelor's Diploma in Engineering907MTAMount Coventry University Bachelor's Diploma in Engineering
907MTAMount Coventry University Bachelor's Diploma in Engineering
 
Transportation Electrification Funding Strategy by Jeff Allen and Brandt Hert...
Transportation Electrification Funding Strategy by Jeff Allen and Brandt Hert...Transportation Electrification Funding Strategy by Jeff Allen and Brandt Hert...
Transportation Electrification Funding Strategy by Jeff Allen and Brandt Hert...
 
原版1:1定制宾州州立大学毕业证(PSU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制宾州州立大学毕业证(PSU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制宾州州立大学毕业证(PSU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制宾州州立大学毕业证(PSU毕业证)#文凭成绩单#真实留信学历认证永久存档
 
Centering Equity Panel by Samantha Bingham
Centering Equity Panel by Samantha BinghamCentering Equity Panel by Samantha Bingham
Centering Equity Panel by Samantha Bingham
 
248649330-Animatronics-Technical-Seminar-Report-by-Aswin-Sarang.pdf
248649330-Animatronics-Technical-Seminar-Report-by-Aswin-Sarang.pdf248649330-Animatronics-Technical-Seminar-Report-by-Aswin-Sarang.pdf
248649330-Animatronics-Technical-Seminar-Report-by-Aswin-Sarang.pdf
 
原版1:1定制中央昆士兰大学毕业证(CQU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制中央昆士兰大学毕业证(CQU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制中央昆士兰大学毕业证(CQU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制中央昆士兰大学毕业证(CQU毕业证)#文凭成绩单#真实留信学历认证永久存档
 
2024 TOP 10 most fuel-efficient vehicles according to the US agency
2024 TOP 10 most fuel-efficient vehicles according to the US agency2024 TOP 10 most fuel-efficient vehicles according to the US agency
2024 TOP 10 most fuel-efficient vehicles according to the US agency
 
原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量
原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量
原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量
 
call girls in G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in  G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in  G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in G.T.B. Nagar (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
(办理学位证)(Toledo毕业证)托莱多大学毕业证成绩单修改留信学历认证原版一模一样
(办理学位证)(Toledo毕业证)托莱多大学毕业证成绩单修改留信学历认证原版一模一样(办理学位证)(Toledo毕业证)托莱多大学毕业证成绩单修改留信学历认证原版一模一样
(办理学位证)(Toledo毕业证)托莱多大学毕业证成绩单修改留信学历认证原版一模一样
 
Electric Nation Upper Midwest Inter-Tribal Electric Vehicle (EV) Charging Com...
Electric Nation Upper Midwest Inter-Tribal Electric Vehicle (EV) Charging Com...Electric Nation Upper Midwest Inter-Tribal Electric Vehicle (EV) Charging Com...
Electric Nation Upper Midwest Inter-Tribal Electric Vehicle (EV) Charging Com...
 
(办理学位证)(Rice毕业证)莱斯大学毕业证成绩单修改留信学历认证原版一模一样
(办理学位证)(Rice毕业证)莱斯大学毕业证成绩单修改留信学历认证原版一模一样(办理学位证)(Rice毕业证)莱斯大学毕业证成绩单修改留信学历认证原版一模一样
(办理学位证)(Rice毕业证)莱斯大学毕业证成绩单修改留信学历认证原版一模一样
 
sauth delhi call girls in Connaught Place🔝 9953056974 🔝 escort Service
sauth delhi call girls in  Connaught Place🔝 9953056974 🔝 escort Servicesauth delhi call girls in  Connaught Place🔝 9953056974 🔝 escort Service
sauth delhi call girls in Connaught Place🔝 9953056974 🔝 escort Service
 
(Griffith毕业证)格里菲斯大学毕业证毕业证成绩单修改留信学历认证原版一比一
(Griffith毕业证)格里菲斯大学毕业证毕业证成绩单修改留信学历认证原版一比一(Griffith毕业证)格里菲斯大学毕业证毕业证成绩单修改留信学历认证原版一比一
(Griffith毕业证)格里菲斯大学毕业证毕业证成绩单修改留信学历认证原版一比一
 
原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证
原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证
原版工艺美国普林斯顿大学毕业证Princeton毕业证成绩单修改留信学历认证
 
call girls in Jama Masjid (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Jama Masjid (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Jama Masjid (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Jama Masjid (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
办理学位证(MLU文凭证书)哈勒 维滕贝格大学毕业证成绩单原版一模一样
办理学位证(MLU文凭证书)哈勒 维滕贝格大学毕业证成绩单原版一模一样办理学位证(MLU文凭证书)哈勒 维滕贝格大学毕业证成绩单原版一模一样
办理学位证(MLU文凭证书)哈勒 维滕贝格大学毕业证成绩单原版一模一样
 

Speed limits accidents and assignment

  • 1. Speed Limits, Accidents and Assignment Mike Maher University College London ITS Leeds, 12 December 2016
  • 2. Overview of the talk • Describing two pieces of recent work • First: two projects on speed limits – effect of 20 mph speed limits – effect on accidents of increase in HGV speed limits – both being carried out by Atkins – both being done for DfT – my role is providing statistical analysis guidance – no data as yet on 20 mph limits • Second: a novel assignment problem – but not as we generally know it!
  • 3.
  • 4. HGV speed limit increase • Increases came into force at start of April 2015 • From 40mph to 50 mph on single carriageways .. • .. and from 50mph to 60mph on duals • DfT want to know if any impact on accidents • Quarterly accident data on affected roads – for 10 years before the change .. – .. and then up to three years after • So far only data for two quarters after – so just an illustration of what is to be done – and the modelling to be applied
  • 5. Time series model (1) • average 400 accs / month • average 100 FSCs / month • 41 obs’ns before • Clear trend and seasonality • Fit SARIMA model • Use auto.arima function in R • d = 1, D = 1 • AR(1) term log(all accidents) actual (blue), fitted (red)
  • 6. Time series model (2) • Then fit an intervention model – using all quarterly data (43 observations) – include a regressor variable: before / after dummy – = 0 in before period, and = 1 in after period – coefficient β estimates step change in mean of log(accidents) following speed limit increase – allowing for trend and seasonality – so β < 0 implies a reduction in accidents – accident rate then factored by exp(β)
  • 7. Results • All accidents – 𝛽 = -0.276 (se = 0.088), so a reduction in accidents – 95% CI on change: (-36%, -10%) • FSCs – 𝛽 = -0.212 (se = 0.110), so a reduction in FSCs – 95% CI on change: (-35%, 0%) • But clearly very limited amount of after data so far – further work to be done in early 2017
  • 8.
  • 9. Tennis assignment problem • Midweek men’s doubles group in North Berwick – around 20 men: retired, semi-retired etc – each lets me know when available next week .. – .. and how much they’d like / be willing to play – pattern changes from week to week – I put together the groups of four (or eight) – maximise number of matches, satisfying the constraints • Used to do it manually: pen and paper – but wrote an algorithm to automate the process – integer linear programming problem – makes it easier for me and fair to everyone – article in June issue of Mathematics Today
  • 10. Names Mon Tues Wed Thurs Fri Times Barry T 0 0 1 1 0 2 Tom B 1 1 0 1 0 3 Gordon B 0 0 0 0 1 1 Peter W 1 1 0 0 0 2 Colin C 1 0 0 1 0 2 Mike M 0 1 1 1 1 3 Keith I 0 1 1 0 0 1 Alan C 1 0 0 1 0 2 John S 0 1 0 0 0 1 Keith B 1 0 1 0 0 2 George StC 1 1 1 1 0 1 Michael L 0 0 1 0 0 1 Phil M 0 1 0 0 0 1 Brian F 1 1 0 0 0 2 Peter K 0 1 0 1 0 2 Willie McM 0 0 0 1 0 1 Ken L 0 1 0 0 0 1 Availability matrix: A
  • 11. The basic model Solve in R using the MILP solver lp (part of the lpSolve package) Generally, many equally-optimal solutions 𝑥𝑖𝑗 = 1 if man 𝑖 plays on day 𝑗 and if 𝐴𝑖𝑗 = 1 𝑔𝑗 = number of 4 − man groups on day 𝑗 𝑗 𝑥𝑖𝑗 ≤ 𝑇𝑖 ∀ 𝑖 𝑖 𝑥𝑖𝑗 − 4𝑔𝑗 = 0 ∀ 𝑗 Maximise 𝑧 = 𝑖𝑗 𝑥𝑖𝑗 (or number of matches in the week)
  • 12. Equity issues } 𝐺1 and 𝐺2 act as secondary criteria, after no. matches 𝑚𝑖 = 𝑗 𝑥𝑖𝑗 = number of matches played by man 𝑖 Solution 1: 𝑚 𝐴 = 1 and 𝑚 𝐵 = 1 Solution 2: 𝑚 𝐴 = 2 and 𝑚 𝐵 = 0 𝑦𝑖 (𝑘) = 1 if man 𝑖 gets at least 𝑘 matches in the week 𝐺 𝑘 = 𝑖 𝑦𝑖 (𝑘) = number getting at least 𝑘 matches solution 1 fairer
  • 13. If – then constraints If 𝑚𝑖 ≥ 𝑘 then 𝑦𝑖 𝑘 = 1 non − linear but imposed by 𝑘𝑦𝑖 (𝑘) ≤ 𝑚𝑖 ≤ 𝑘 − 𝜀 1 − 𝑦𝑖 (𝑘) + 5𝑦𝑖 (𝑘) Maximise 𝑧 = 𝑖𝑗 𝑥𝑖𝑗 + 𝛼1 𝐺1 + 𝛼2 𝐺2 𝛼1 = 0.01 and 𝛼2 = 0.0001 𝐺1 = 16 𝐺2 = 8
  • 14. Solution: assigned groups Day Players Monday Peter W, Colin C, Keith B, Brian F Tuesday Tom B, Peter W, Mike M, John S, Phil M, Brian F, Peter K, Ken L Wednesday Barry T, Keith I, Keith B, Michael L Thursday Barry T, Tom B, Colin C, Mike M, Alan C, George StC, Peter K, Willie McM Copy and paste into email message to group members
  • 15. Two devices in the optimisation • Integer linear programing problem – mix of binary and integer variables • “If-then” conditions: if 𝑚𝑖 ≥ 𝑘 then 𝑦𝑖 𝑘 = 1 – intrinsically non-linear – but implemented via linear constraints • Hierarchy of criteria: 𝑖𝑗 𝑥𝑖𝑗, 𝐺1, 𝐺2 – but combined into one objective function – 𝑧 = 𝑖𝑗 𝑥𝑖𝑗 + 𝛼1 𝐺1 + 𝛼2 𝐺2
  • 16. Summary • Efficient and fair – algorithm makes life much easier for me – no favouritism: random permutation of names • Article in Mathematics Today – or at http://discovery.ucl.ac.uki/1522020 • Algorithm now produced as a Shiny App – https://mikemaher.shinyapps.io/TennisApp • So no need for R or knowledge of the algorithm – just need to upload the availability matrix