Data Science for a Freight Brokerage: Lanes, Carriers and Shippers
The carrier review is Monday, carrier spend is up, and a big shipper seems to be tendering less. Here are the questions a brokerage asks across a year, what kind of analysis answers each one properly, and what you do with the answer when the Querri Scientist hands it back.
A brokerage makes a few thousand small calls a week. Which carrier covers this load, what to quote that lane, which shipper to ring first. Experience and a TMS report handle most of them, and handle them fine.
The ones they don't handle come back every quarter. The carrier review is on Monday and the regional carrier looks slow again. Carrier spend is up and finance wants a reason by Friday. A rep has a feeling a big shipper is tendering less, but nothing in the weekly report says so. Each of those has a defensible answer sitting in your load history. Getting it out has usually meant a data scientist, and not many brokerages have one with time to spare.
That's the job of the Scientist in Querri. Type @Scientist in a chat and ask the way you'd ask a colleague. It works out what kind of analysis the question needs, builds the table from your load export, stop events and invoices, and tells you what it joined and cleaned on the way. The plan card shows the credits and the time (10 to 25 minutes), and nothing runs until you press Start. You get back a short paper with the answer at the top, and a saved model you can keep asking.
Here's a year of brokerage questions, grouped by who usually asks them. Each links to a longer post on that kind of analysis and to the playbooks where it fits.
Sales and capacity: which lanes, and what can we promise?
Lining up capacity for peak
It's September and the capacity team is lining up carriers for the fourth quarter off last month's run rate. That plan is wrong somewhere every year. Peak arrives, or a shipper moves a program, and a lane that looked quiet isn't.
A lane forecast is the obvious fix, and the obvious version goes wrong in two ways. One number per week hides how unsure it is. And your busiest dedicated run shouldn't be forecast the same way as a lane that sees three loads one week and none the next.
Forecast weekly loads for each of our top lanes for the next 12 weeks, with a range.
You get a forecast per lane and week with a range, and the paper says how often that range actually held when the forecast was replayed over past weeks. It has to beat a plain method, such as the same weeks last year. If it can't, you get the plain method and the paper says so. The lanes add up to the total, and when new weeks land you ask the saved model to forecast again.
Book capacity toward the top of the range on the lanes where running short hurts most, and toward the middle everywhere else.
The transit-time argument
A shipper asks what transit time you'll commit to on a new lane. Sales quotes the average plus a day, the same buffer used everywhere, and the late loads pile up on the long, remote lanes where a day was never enough.
The fix is to stop promising averages. A promise is a P90: the time 90% of loads arrive within. That's what a ranges and promises analysis estimates directly, lane by lane, and the honest test of it is coverage, meaning the share of loads the model never saw that really arrived inside the promise.

What transit time can we promise our shippers on each lane so we keep it 90% of the time, and 95%? And what makes a load slow?
Each lane's own plain history sits beside the model's number, and where the model doesn't beat it, the history is the answer. The second half of the question is the useful part for the carrier review. The paper shows how much the carrier, the pickup day and the weight each move the promise, so carriers get compared on like-for-like lanes. Then ask:
Is our regional carrier actually slower than the national one on the same lanes, or does it just get the long lanes?
That settles an argument that usually goes to whoever is loudest in the room.
Read more: Demand forecasts and Promise a date you'll hit 90% of the time. Playbook: Lanes to sell.
Quoting a spot load at four o'clock
A spot load comes in late in the day and the rep needs to know what a carrier will take for it. The lane average is too blunt. A reefer load with two days' notice and a dry van booked a week out aren't the same price, even on the same lane.
That's a predict a number question: an estimate for this load, with a low and a high.
What should we expect to pay a carrier for each open load, given lane, equipment, weight and lead time?
The range is sized from the model's real misses on loads it hadn't seen, and its accuracy is reported against a simple baseline, so you know whether it's worth more than the lane average before you quote from it. The figure below is from an example run of the same kind of model, predicting delivery days rather than cost.

Each morning, attach a table of the open loads to the investigation's project and ask for a prediction on each. The saved model scores every row.
More in Predict delivery times, costs and spend for each new case.
Margin and finance: where did the money go?
Carrier spend went up
The monthly review has one line on it in red: carrier cost, up on last quarter. Volume rose, the mix of lanes shifted and rates moved, all at once. Cost per load blends the three together, so nobody can say how much of the increase is the market and how much is freight you chose to take.
Why did carrier cost rise from last quarter to this one: more loads, longer lanes or higher rates? Split it to the dollar.
What comes back is a bridge. Volume, mix (which lanes) and rate each get their share of the change, and the pieces add up to the cent because it's arithmetic, not a model. New and dropped lanes are named. The finer the detail you give it, the more of what looked like rate turns out to be mix, which is worth knowing before you sit down for a rate negotiation.
What really drives margin per load
Margin swings by shipper and by rep, and everyone has a theory. Sales blames spot carriers, ops blames the long lanes. The trouble is that long lanes, heavy loads and spot carriers tend to show up together, so a simple chart hands the credit to whichever one you happen to plot.
A driver analysis measures each one while holding the others steady.
What drives cost per load: weight, distance, carrier or fuel surcharge, and by how much?
Each driver comes back with a range and the simple before-adjustment number beside it, so you can see how much the adjustment changed the story. Then ask what the sales leader really wanted:
What drives margin per load by rep and shipper, once lane and equipment are taken into account?
These are associations adjusted for what was measured, not proof of cause, and the paper says so. A driver whose range includes zero can't be told apart from no effect. The saved model answers what-ifs, such as margin per load if fuel surcharges rose 10 percent, and flags any row that pushes it past what it has seen.
The longer posts: Why a number changed and What drives a number. Playbooks: Carrier bill check, Margin by rep and shipper and Rep commissions.
The cash forecast
The controller is building the 13-week cash forecast with average days to pay. That average comes from invoices that got paid. It leaves out the ones still open and the ones that never will be, so the forecast is too hopeful before it starts.
A how long until analysis (survival analysis, in the textbooks) exists for this problem. It counts every open invoice for as long as it's been open instead of dropping it, and it reports write-offs as their own ending.

How long do our shippers take to pay us, by segment, and how much of what we invoice never gets collected? I need numbers for the cash forecast.
You get the median days to pay by segment and where collections level off. Each factor comes back as a hazard ratio: above 1 means paid sooner, below 1 later. Then:
How much of today's open receivables should we expect to collect in the next 60 days?
The saved model gives each open invoice its chance of being paid in that window, allowing for how long it's already been open. That number goes in the cash forecast, and the invoices least likely to pay go to the collectors first. The same analysis answers "How long until a damage claim is settled, by carrier?"
Read more: How long until they pay. Playbooks: Shipper aging and Delivered, not invoiced.
Customer service and account management: keeping shippers
QBR prep, and a dashboard full of red
The account manager opens the on-time report before a QBR and half the lanes are red. On-time rates move every week, so a fixed threshold turns normal noise into a wall of alerts, and the one lane with a real problem is buried in it.
An unusual activity check compares each lane with its own recent level and pattern instead of one threshold for everything.
Which lanes had late-delivery spikes this quarter, and what should we look into?
You get only the flagged lane-weeks, most unusual first, each with what was expected and a plain explanation. The paper reports how often it flags a normal week, against the rate you asked for (1% by default). Ask the same about detention at shipper facilities. Take the short list to carriers and shippers before the QBR, and each week attach the new weeks for the saved model to score.
Go deeper with Flag unusual weeks, invoices and lanes. Playbooks: Detention and accessorials and Shipper QBR: on-time.
The shipper who's quietly leaving
Nobody announces they're moving freight to another broker. Tenders thin out, acceptance slips, a billing dispute drags on, and by the QBR the volume has gone. The rep who sensed it in August had nothing to point at.
A yes or no prediction turns that feeling into a ranked list.
Which shippers are likely to tender us fewer loads next quarter, and what are the warning signs?
Each shipper gets a chance of cutting back, calibrated so a 30% score means about 3 in 10 such shippers really do. Each warning sign comes back in your words ("each rejected tender in the last 90 days") with how much it moves the odds. Anything recorded after the drop is kept out, so the model can't cheat by reading the answer. The follow-up worth asking is the honest one:
How many of the 20 shippers it ranks highest would actually have cut back?
Each quarter, attach the shipper list, ask for scores, and hand the top of it to the account team. If you'd rather rank shippers than predict them, "Which shippers make 80% of our margin?" is an exact ABC split, the same answer every time on the same data.
More on both: Which customers will leave and Customer and product groups. Playbook: Shippers tendering less.
Did the change we made work?
Say your top shippers moved onto dedicated reps last spring. Their volume is up, and the VP wants to roll it out to everyone. But those shippers were picked because they were growing, so comparing them with the rest mostly measures the picking.
Did moving our top shippers onto dedicated reps change how many loads they tendered, compared with similar shippers who stayed on the shared desk?
Ask about whatever you actually changed: a carrier scorecard, a check-call routine. A did it work analysis adjusts for what decided who got the change and puts the adjusted effect, with a range, beside the plain difference. The gap between the two is how much was selection. If the shippers had been picked at random, the Scientist reads it as an A/B test instead, and that's the only case where the paper says "caused".
Each has its own post: Did the program work? and A/B test readout.
When the data can't carry the answer (too few paid invoices, too short a history on a lane), the card says The data can't settle this and the result says why. That outcome isn't charged. At launch (November 2026) an investigation is 10 credits and a follow-up question or prediction request is 3, and the plan card always shows the current price before you start.
Quick reference
| The question | Kind of analysis |
|---|---|
| How many loads will each lane see? | Forecast |
| What transit time can we promise per lane? | Ranges and promises |
| What will this load cost to cover? | Predict a number |
| Why did carrier cost go up? | Why a number changed |
| What drives cost and margin per load? | What drives a number |
| How long until shippers pay? | How long until |
| Which lanes had late spikes? | Unusual activity |
| Which shippers will tender less? | Predict yes or no |
| Which shippers make most of our margin? | Customer and product groups |
| Did the change work? | Did it work or A/B test readout |
You don't have to know which kind of analysis you need. Ask the question and the Scientist works it out. To see how it works end to end, start with Meet the Scientist, and for the detail on each analysis, see the Scientist guide in the docs.
Which lane question keeps coming back? Querri it.
Tags