viewof successfulCommands = Inputs.range([0, 2000], {
value: 742,
step: 1,
label: "Successful commands:"
})
viewof totalCommands = Inputs.range([0, 2000], {
value: 876,
step: 1,
label: "Total commands attempted:"
})
viewof initialRate = Inputs.range([50, 100], {
value: 79.3,
step: 0.1,
label: "Initial success rate (%):"
})
viewof improvedRate = Inputs.range([50, 100], {
value: 91.2,
step: 0.1,
label: "Improved success rate (%):"
})
viewof residents = Inputs.range([1, 200], {
value: 87,
step: 1,
label: "Number of residents:"
})
viewof commandsPerWeek = Inputs.range([1, 50], {
value: 12.3,
step: 0.1,
label: "Commands per resident per week:"
})
successRate = (successfulCommands / totalCommands * 100).toFixed(1)
improvement = (improvedRate - initialRate).toFixed(1)
prob2FailuresInitial = (Math.pow((1 - initialRate/100), 2) * 100).toFixed(2)
prob2FailuresImproved = (Math.pow((1 - improvedRate/100), 2) * 100).toFixed(2)
additionalSuccesses = Math.round((improvedRate - initialRate) / 100 * residents * commandsPerWeek)
weeklySavings = Math.round(additionalSuccesses * 0.15 * 28)
annualSavings = weeklySavings * 52
roi = Math.round(annualSavings / 1900)
html`<div style="padding: 20px; background: linear-gradient(135deg, #2C3E50 0%, #16A085 100%); border-radius: 8px; color: white; margin: 20px 0;">
<h3 style="margin-top: 0; color: white;">Voice Recognition Analytics</h3>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-top: 15px;">
<div style="background: rgba(255,255,255,0.1); padding: 15px; border-radius: 6px; border-left: 4px solid #E67E22;">
<div style="font-size: 0.9em; opacity: 0.9;">Current Success Rate</div>
<div style="font-size: 2em; font-weight: bold; color: #E67E22;">${successRate}%</div>
<div style="font-size: 0.8em; opacity: 0.8;">${successfulCommands} / ${totalCommands} commands</div>
</div>
<div style="background: rgba(255,255,255,0.1); padding: 15px; border-radius: 6px; border-left: 4px solid #3498DB;">
<div style="font-size: 0.9em; opacity: 0.9;">Improvement Achieved</div>
<div style="font-size: 2em; font-weight: bold; color: #3498DB;">+${improvement}%</div>
<div style="font-size: 0.8em; opacity: 0.8;">${initialRate}% → ${improvedRate}%</div>
</div>
<div style="background: rgba(255,255,255,0.1); padding: 15px; border-radius: 6px; border-left: 4px solid #E74C3C;">
<div style="font-size: 0.9em; opacity: 0.9;">2 Failures (Initial)</div>
<div style="font-size: 2em; font-weight: bold; color: #E74C3C;">${prob2FailuresInitial}%</div>
<div style="font-size: 0.8em; opacity: 0.8;">Probability before fix</div>
</div>
<div style="background: rgba(255,255,255,0.1); padding: 15px; border-radius: 6px; border-left: 4px solid #16A085;">
<div style="font-size: 0.9em; opacity: 0.9;">2 Failures (Improved)</div>
<div style="font-size: 2em; font-weight: bold; color: #16A085;">${prob2FailuresImproved}%</div>
<div style="font-size: 0.8em; opacity: 0.8;">Probability after fix</div>
</div>
</div>
<div style="margin-top: 20px; padding: 15px; background: rgba(255,255,255,0.1); border-radius: 6px;">
<h4 style="margin-top: 0; color: white;">Cost-Benefit Analysis</h4>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px;">
<div>
<div style="font-size: 0.85em; opacity: 0.9;">Additional Successes/Week</div>
<div style="font-size: 1.5em; font-weight: bold;">${additionalSuccesses}</div>
</div>
<div>
<div style="font-size: 0.85em; opacity: 0.9;">Weekly Savings</div>
<div style="font-size: 1.5em; font-weight: bold;">$${weeklySavings.toLocaleString()}</div>
</div>
<div>
<div style="font-size: 0.85em; opacity: 0.9;">Annual Savings</div>
<div style="font-size: 1.5em; font-weight: bold;">$${annualSavings.toLocaleString()}</div>
</div>
<div>
<div style="font-size: 0.85em; opacity: 0.9;">ROI (vs $1,900 fix)</div>
<div style="font-size: 1.5em; font-weight: bold;">${roi}×</div>
</div>
</div>
</div>
<div style="margin-top: 15px; padding: 10px; background: rgba(255,255,255,0.05); border-radius: 4px; font-size: 0.85em;">
<strong>Key Insight:</strong> The 85% success target is a design threshold in this example, not a mathematical cutoff derived from two-failure probability. Validate adoption against observed user outcomes.
</div>
</div>`Voice Recognition Success Rate Analysis
Voice Recognition Success Rate Analysis
animation
ux-design
Try Change Successful commands: to 742.
Observe Watch Current Success Rate after you press Calculate.
Explain Explain why the 85% success target is a design threshold.
Technical boundaries. The example is synthetic, and the 85% target is not a mathematical cutoff from two-failure probability. A paired significance test requires each resident's before-and-after outcomes.
TipPutting Numbers to It
How do we calculate voice recognition success rate, and what does the example’s 85% design target mean?
Success rate formula (from 2,847 commands over 4 weeks):
For the “Temperature adjust” category:
Interactive Calculator: Voice Recognition Success Rate Analysis
A paired significance test requires each resident’s before-and-after outcomes. The two marginal confidence intervals do not determine a p-value.
Illustrative success rate before/after: 79.3% / 91.2%; compute uncertainty only from resident-level outcomes or a prespecified clustered analysis.
Improvement: 11.9 percentage points
Two-failure probability examples:
At 85% success, probability of 2 consecutive failures:
At 79% success (below the example’s 85% design target):
In this synthetic worked example, assume that 78% of users encountering 2+ consecutive failures within 5 minutes abandon voice and revert to physical controls.
Cost-benefit of the fix:
- Fix cost: $1,900 (38 developer hours)
- Value: additional successful commands per week
- Avoided support calls: 127 × 15% frustration rate × $28/call = $533/week savings
ROI: $533/week × 52 weeks = $27,716 annual savings vs. $1,900 fix cost = 15× return
Key insight: The 85% success target is a design threshold in this example, not a mathematical cutoff derived from two-failure probability. Validate adoption against observed user outcomes.
Assumed resident-satisfaction relationships in this example:
- Assumed relationship: 90%+ success rate → 4.6/5 satisfaction (“I love it!”)
- Assumed relationship: 80–89% success → 3.8/5 satisfaction (“It’s okay, sometimes frustrating”)
- Assumed relationship: under 80% success → 2.4/5 satisfaction (“I just use the switches instead”)
Key insight: The 85% success rate is an example design target; assess adoption against observed user outcomes rather than treating it as a minimum. :::