The balanced presentation table fixes the numerical unit before a query. Neither balance nor the unit is fitted to the acquired activity.
noncomputable def
MindFormal.A617Judgment.Episodes.Table.calibrationCoefficient
{E : Type u_1}
{H : Type u_2}
[Fintype E]
[Fintype H]
(R : Table E H)
(A rate : ℝ)
:
Equations
- R.calibrationCoefficient A rate = A * R.b * rate * ↑(Fintype.card H) / (↑(Fintype.card E) * (rate + R.a) * (rate + R.b))
Instances For
theorem
MindFormal.A617Judgment.Episodes.Table.balanced_forward
{E : Type u_1}
{H : Type u_2}
[Fintype E]
[Fintype H]
[DecidableEq E]
[DecidableEq H]
(R : Table E H)
(hbal : R.Balanced)
{rate : ℝ}
(hrate : 0 < rate)
(A : ℝ)
(e : E)
(h : H)
:
R.association A rate (Sum.inr h) (Sum.inl e) = R.calibrationCoefficient A rate * R.P e h + R.calibrationBackground A rate
theorem
MindFormal.A617Judgment.Episodes.Table.background_ratio
{E : Type u_1}
{H : Type u_2}
[Fintype E]
[Fintype H]
(R : Table E H)
[Nonempty E]
[Nonempty H]
{A rate : ℝ}
(hA : 0 < A)
(hrate : 0 < rate)
:
R.calibrationBackground A rate / R.calibrationCoefficient A rate = R.a * R.b / (↑(Fintype.card H) * rate * (rate + R.a + R.b))