Two group weighted mean โ€” local calculator

Single-purpose local calculator: Two group weighted mean. Public formula: (group_a_mean*group_a_count+group_b_mean*group_b_count)/(group_a_count+group_b_count). Includes editable input, CSV measurement register, synthetic worked example and validation checklist. No online service.

Python 3.10+ locally; no paid libraries. A small single-purpose calculator, not a complete business platform. English workbook/code; Russian quickstart.

49 XTR

Open the store

Prices in Telegram Stars (XTR). Income and customer results are not guaranteed.

Specialist stores

Formula / input / worked example (English)

# Two group weighted mean

`(group_a_mean*group_a_count+group_b_mean*group_b_count)/(group_a_count+group_b_count)`

Input semantics and units:
- `group_a_count`: numeric input; units are part of the field name where applicable.
- `group_a_mean`: numeric input; units are part of the field name where applicable.
- `group_b_count`: numeric input; units are part of the field name where applicable.
- `group_b_mean`: numeric input; units are part of the field name where applicable.

Result uses the unit stated in the product title, or a dimensionless ratio. Check cohort membership and aggregation boundaries independently.

example-input.json

{
  "group_a_count": 12.0,
  "group_a_mean": 15.0,
  "group_b_count": 18.0,
  "group_b_mean": 21.0
}

example-output.json

{
  "product_id": "data-weighted-mean",
  "result": 18.6,
  "scope": "Arithmetic estimate from supplied inputs; no forecast or service"
}