Product/Efficiency (DEA)
DEA · Efficiency analysis

Same kind of work.
Who is most efficient?

Line up inputs and outputs across similar units, like hospitals or branches. Every unit gets an efficiency score, peers to learn from, and targets.

Pick a model in 3 questionsPeers and targetsWhat-if scenariosWord · Excel · R export
39
Hospitals compared (example)
8
Hospitals scoring 1 (example)
0.831
Mean efficiency (example)
21.3%
Avg. input savings potential (example)

Which units are efficient, and how can you tell?

Can you compare units of different sizes?
01
How do you compare staff, facilities, and output at once?
02
Falling short? Who should you learn from?
03
What should improve, and by how much?
04

DEA compares inputs and outputs across units doing similar work to measure relative efficiency.

01 · FROM SETUP TO TARGETS

Pick your inputs and outputs.
We’ll show you scores and targets.

Choose the units to compare and what goes in and comes out. Three questions settle the model, and you get efficiency scores, peers, and targets.

Screen previewExample screens, from data setup to scores and targets. Click any step to jump there.

Efficiency analysis · hospitals_2025.csv

Give each column a role. Choosing inputs and outputs is the biggest call you’ll make.

VariableRoleRangeCheck
hospitalUnit (DMU)H01–H40No duplicates
regionNot used수도권 · 지방
doctorsInput8–52Blank 1
nursesInput22–154
bedsInput65–460
outpatientsOutput5,960–59,600Outlier
inpatientsOutput0–7,980Zero 1
region_popEnvironment13.1–118.9
memoNot used4 notes

Roles are suggested from column names and values; you review and adjust.

Decide before running

H14 · doctorsBlank
A unit with a blank cannot be scored.
Leave that unit out ✓
H27 · inpatientsZero
An output of 0 is used as is. Check that it really is 0.
It really is 0 ✓
H22 · outpatientsOutlier
59,600 — 3.5× the median. The best performers set the frontier.
The value is right ✓

Units and sample

Units compared39 H14 left out
Inputs · outputs3 · 2
Units needed15 Met
Example: 40 hospitals (9 columns) — a fictional dataset included with the lab. H14, with a blank doctor count, is excluded, leaving 39 hospitals.

02 · WHAT-IF SCENARIOS

Would new staffing change efficiency?
Run the numbers and compare.

Tweak one unit’s inputs or outputs and its score is recalculated against the same frontier. Weigh your options before you commit.

Try itDrag the sliders to change inputs and outputs, and watch the score respond.

Improvement simulator
Unit
Inputs
doctors42 unchanged
nurses129 unchanged
beds350 unchanged
Outputs
outpatients16,530 unchanged
inpatients4,010 unchanged

Score · BCC · input-oriented

0.535
Before 0.535 → +0.000

Below the frontier.

Position among the 39

0.40.60.81.0

The frontier stays as the other units drew it; only this unit is re-measured. The last digit may differ slightly from the report.

Merger simulator

How does a merger change efficiency?

Merge two units and compare efficiency at different levels of resource savings.

H13 + H35 · two small hospitalsBCC
ApartH13 0.857 · H35 0.929
Simply merged0.841
Saving 10% of inputs0.934

The frontier is drawn from the other 37 units, so before and after use the same yardstick.

Move resources

What if staff move between units?

See how both units’ scores change when staff move.

H05 → H13 · nurses 10% (12.9)BCC
H050.535→0.577
H130.857→0.857
Mean of the two0.696→0.717

The sender goes up; the receiver stays the same.

Apply to all units

What if less efficient units cut doctors by 10%?

Adjust inputs across several units at once and recompute efficiency on the new frontier.

doctors −10% · inefficient units only31
Mean efficiency0.831→0.864
Units at efficiency 18→11
doctors total1,087→998

The frontier moves too, so it’s not only the units that cut that improve.

Have a unit that isn’t in the data? Add it and score it against the current frontier.

03 · REPORT

Scores to targets,
all in one report.

Efficiency scores, peers, targets, and scale efficiency, ready to export to Word.

Efficiency analysis report · hospitals_2025.csv

04 · BEFORE YOU INTERPRET

Before you read the scores,
know what shapes them.

DEA scores are relative to the units and indicators you choose. Outliers and indicator picks can move the results, so check both.

A score of 1 isn’t “the best”

It means efficient among these units, under these settings. If too many units score 1, they’re hard to tell apart.

DiscriminationDiagnostics and limits
Share at efficiency 121% (8 / 39) Moderate
“High” threshold33%
Unit-count rule39 ≥ 15 Met

More inputs and outputs need more units — max(inputs×outputs, 3×(inputs+outputs)).

Extreme values can skew results

One value can move the frontier a lot. First check whether it’s a typo or the real thing.

Outlier candidate · H22outpatients 59,600
outpatients3.5× the median 16,795
Super-efficiency3.820 next 1.052
Times used as a peer27 / 31 inefficient

Flagged at the data step and noted in the report’s “Diagnostics and limits.”

Too many similar indicators?

Indicators that carry the same information blur the results. Make sure each one earns its place.

Correlation among inputsFlagged at |r| ≥ 0.8
nurses · beds0.98
doctors · beds0.95
doctors · nurses0.94

Input–output correlations range 0.56–0.87, all positive — fit for one frontier.

Check zeros and missing indicators

Look for outputs of 0 and key indicators left out. What isn’t in the data isn’t in the score.

H27 · inpatients 0Note: outpatient only
Score0.534 Lowest
PeersH04 0.95 · H22 0.05
Target · inpatients0 → 1,456 (slack)

If a unit with no inpatient ward gets an inpatient target, check that you’re comparing units that do the same work.

Process and reproducibility

R output and analysis settings are logged, so you can rerun the results under the same conditions.
Computed by R · Benchmarking (dea · sdea)Rule-based result text from the numbersExcluded units · settings · run date loggedR script · Excel score sheet export

05 · GOING FURTHER

Track change over time.
Then feed the scores into other analyses.

Measure productivity change across periods, test different yardsticks, or carry the scores into other analyses.

Productivity change (Malmquist)

Splits productivity change between two periods into each unit’s efficiency change and the shift of the overall frontier.

10 bank branches · 2022 → 2023Example · panel
Productivity index 1.074= catch-up 0.986× frontier shift 1.089
BranchGain (0 to +15%)Catch-upFrontierIndex
Branch 11.0001.1201.120
Branch 50.9991.0891.088
Branch 81.0001.0821.082
Branch 100.9831.1001.081
Branch 71.0001.0801.080
Branch 30.9721.1101.079
Branch 41.0001.0611.061
Branch 60.9531.1041.053
Branch 91.0001.0501.050
Branch 20.9571.0941.047
Index − 1 (gain)Catch-up × frontier shift = index

All 10 improved, mostly because the whole industry did. With 10 branches and 3 inputs · 3 outputs, it falls short of the sample rule (18), so treat it as illustrative.

Cross-efficiency

Scores every unit with each other unit’s weights, so you see how rankings hold up under a different yardstick.

Top cross-efficiency · own score → crossAggressive
1 · H311.000→0.945
2 · H011.000→0.934
3 · H221.000→0.934
4 · H180.997→0.927
5 · H041.000→0.926
6 · H110.983→0.914
7 · H161.000→0.913
8 · H061.000→0.904

No unit here falls below 0.7 by others’ yardsticks.

Weight limits

Set a floor on item weights and see how much scores change.

Every item at least 5%Preset values
Units at efficiency 18→7 H18 drops out
Mean efficiency0.831→0.826
Biggest dropH27 0.534→0.483

Use in statistical analysis

Add efficiency scores to your data to analyze group differences or related factors.

hospitals_2025-with-dea.csv+7 columns
dea_efficiencyEfficiency score
dea_scale_efficiencyScale efficiency
dea_super_efficiencySuper-efficiency
Next analysesTobit regression · regression · group comparison

See peers as a network

Map which units serve as peers for others.

Benchmark relations107 links
Inefficient → peers31→7
Named most oftenH22 27×
Link thicknessWeight λ
Cost efficiency · isoquantsResource reallocationUnits in 3DEvaluate a new unitMulti-year data · pick periods

Compare efficiency. Set targets. Start today.

Enter your units’ inputs and outputs to get efficiency scores, peers, and targets—then turn it all into a report.

No credit card required5 examples to start fromWord · Excel · R export