Alphabeta Math
LemmaStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedjudge pass (gpt-6-luna)
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Finite two-stage sampling variance identities

Statement

Let N≥4 groups be completely randomized, with exactly C groups assigned ψ and N−C assigned ϕ, where 2≤C≤N−2. For each group i and strategy s∈{ϕ,ψ}, let ai(s) be a fixed real value and let Xi(s) be a real-valued random variable from that group's finite second-stage assignment law, with E[Xi(s)]=ai(s) and vi(s)=Var⁡(Xi(s)). Conditional on the first-stage vector, the group-specific second-stage random variables are independent. Let Cψ=C, Cϕ=N−C, and define μ^s=1Cs∑i:Si=sXi(s),sX,s2=1Cs−1∑i:Si=s(Xi(s)−μ^s)2. For Ss2=(N−1)−1∑i(ai(s)−aˉ(s))2 and Sψ−ϕ2=(N−1)−1∑i{ai(ψ)−ai(ϕ)−a(ψ)−a(ϕ)‾}2, one has Var⁡(μ^s)=(1−CsN)Ss2Cs+1CsN∑i=1Nvi(s),E[sX,s2]=Ss2+1N∑i=1Nvi(s), and Var⁡(μ^ψ−μ^ϕ)=Sψ2C+Sϕ2N−C−Sψ−ϕ2N+1CN∑ivi(ψ)+1(N−C)N∑ivi(ϕ). Consequently, E ⁣[sX,ψ2C+sX,ϕ2N−C]=Var⁡(μ^ψ−μ^ϕ)+Sψ−ϕ2N.

Facts & Assumptions

Given: The finite two-stage assignment law with fixed strategy-arm sizes, fixed real group values ai(s), and finite second-stage random variables Xi(s) whose conditional laws are independent across groups and have means ai(s) and variances vi(s).

[F1]

Two-stage randomized design and strategy-specific effects: the first-stage strategy-ψ groups are a uniform C-element subset of the N groups, and the second-stage assignments are independent across groups conditional on the strategy vector.

[F2]

Finite simple-random-sampling moment identities: for a uniform fixed-size subset, sample means have covariance (1−m/n)Sxy/m, and sample covariance is unbiased for the corresponding finite-population covariance.

[F3]

Expectation of a real random variable on a finite probability space and Variance, standard deviation, and covariance on a finite probability space: expectations and variances are finite weighted sums and centered second moments on the finite assignment space.

[F4]

Laws of finite sums and finite products: finite sums distribute over addition and scalar multiplication.

[F5]

Expectation is linear for every finite family of random variables, without any independence hypothesis: expectation distributes over finite sums on a finite probability space.

[F6]

Conditional expectation on positive-probability events in finite spaces: averaging conditional expectations over a finite partition recovers unconditional expectation.

[F7]

Variance adds for every finite pairwise-independent family: for a finite pairwise-independent family of square-integrable real random variables, the variance of the sum is the sum of their variances.

Proof

1.1F1F2F3F5F6givenalgebra

For a fixed strategy s, write As(S)=Cs−1∑i:Si=sai(s) and Es=Cs−1∑i:Si=sϵi(s), where ϵi(s)=Xi(s)−ai(s); then μ^s=As+Es. By [F2], E[As]=aˉ(s). Conditional on each first-stage vector, E[Es∣S]=0 by centering; [F6] therefore gives E[Es]=0 and E[(As−aˉ(s))Es]=0. Expanding the variance definition [F3] and using [F5] now gives Var⁡(μ^s)=Var⁡(As)+E[Es2]=Var⁡(As)+E[Var⁡(Es∣S)].

1.2F1F2F4F5F6F7algebra

Conditional on a first-stage vector, expand the within-arm sum of squares using [F4]: ∑i:Si=s(Xi(s)−μ^s)2=∑i:Si=s(ai(s)−As)2+∑i:Si=sϵi(s)2−CsEs2+2∑i:Si=s(ai(s)−As)ϵi(s). The last term has conditional mean zero. By expectation linearity [F5] and variance addition [F7], the conditional mean of ∑iϵi(s)2−CsEs2 is (1−1/Cs)∑i:Si=svi(s). Dividing by Cs−1, then averaging over the first-stage partition by [F5] and [F6], gives the expected fixed selected sample variance plus N−1∑ivi(s); the fixed sample-variance identity and inclusion probabilities in [F2] make these terms Ss2 and N−1∑ivi(s). Thus E[sX,s2]=Ss2+N−1∑ivi(s).

1.3F1F2F3F4algebra

Let Sψϕ=(N−1)−1∑i(ai(ψ)−aˉ(ψ))(ai(ϕ)−aˉ(ϕ)). If aˉϕ S is the sample mean of the fixed ai(ϕ) values in the ψ-selected groups, the complementary ϕ-group mean equals (Naˉ(ϕ)−Caˉϕ S)/(N−C). Applying the covariance identity in [F2] to both fixed lists on the same C-group sample gives Cov⁡(aˉψ S,aˉϕ S)=(1−C/N)Sψϕ/C; the complement identity then makes the covariance between the fixed ψ-sample mean and the fixed ϕ-complement mean equal to −Sψϕ/N.

2.1F1F2F5F6F7step 1.1algebra

Conditional on a first-stage vector, the selected errors are a finite pairwise-independent family, so [F7] gives Var⁡(Es∣S)=Cs−2∑i:Si=svi(s). The selected groups form a uniform Cs-element sample, with inclusion probabilities Cs/N by [F2]. Averaging the conditional variance over first-stage vectors using [F5] and [F6] yields E[Var⁡(Es∣S)]=Cs−2∑i(Cs/N)vi(s)=∑ivi(s)/(CsN). The fixed component Var⁡(As)=(1−Cs/N)Ss2/Cs by [F2]; step 1.1 then proves the first one-arm variance identity.

2.2F1F2F3F5F6F7step 1.3algebra

Write AΔ=Aψ−Aϕ and EΔ=Eψ−Eϕ. Conditional on the first-stage vector, all selected group errors are centered and independent across groups; [F7] gives Var⁡(EΔ∣S)=C−2∑i:Si=ψvi(ψ)+(N−C)−2∑i:Si=ϕvi(ϕ). By [F6], its covariance with the fixed AΔ is zero and its conditional variance averages over the design to ∑ivi(ψ)/(CN)+∑ivi(ϕ)/((N−C)N), using the inclusion probabilities in [F2]. Expanding the variance definition [F3] with linearity [F5] shows the total contrast variance is the fixed component plus this averaged error variance. The fixed component has variance (1−C/N)Sψ2/C+(C/N)Sϕ2/(N−C)+2Sψϕ/N by [F2] and step 1.3. Since Sψ−ϕ2=Sψ2+Sϕ2−2Sψϕ, this is Sψ2/C+Sϕ2/(N−C)−Sψ−ϕ2/N. Adding the second-stage terms proves the stated contrast-variance identity.

3.1F5step 1.2step 2.2algebra∎

By step 1.2 and expectation linearity [F5], the expected arm-wise variance sum is Sψ2/C+Sϕ2/(N−C)+∑ivi(ψ)/(CN)+∑ivi(ϕ)/((N−C)N). Comparing with step 2.2 leaves exactly Sψ−ϕ2/N.

Depends on

Used by

Dependency tree · two levels

38 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources