analysis(matlab): rate + count outputs, variation batch 2
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
==============================================================================
|
||||
POWER SIMULATION -- naive_a2_d0_5
|
||||
POWER SIMULATION -- naive_a2_d0_5 [metric: # successes (count)]
|
||||
==============================================================================
|
||||
model: behavior ~ stim + day + stim:day + (1|rat) (success COUNT; day within-window)
|
||||
model: behavior ~ stim + day + stim:day + (1|rat) (behavior = # successes (count); day within-window)
|
||||
observed groups: stim n=3, control n=7 nrep=120, alpha=0.05
|
||||
ground truth: stim:day=+6.96/day, rat SD=9.64, residual SD=12.11, days=6
|
||||
ground truth: stim:day=+6.962/day, rat SD=9.643, residual SD=12.11, days=6
|
||||
|
||||
true stim:day interaction = +6.96 (100% of observed)
|
||||
true stim:day interaction = +6.962 (100% of observed)
|
||||
N/group | per-animal power | LME power
|
||||
------------------------------------------
|
||||
3 | 0.43 | 0.85 <- observed
|
||||
@@ -15,7 +15,7 @@ ground truth: stim:day=+6.96/day, rat SD=9.64, residual SD=12.11, days=6
|
||||
16 | 1.00 | 1.00
|
||||
24 | 1.00 | 1.00
|
||||
|
||||
true stim:day interaction = +3.48 (50% of observed)
|
||||
true stim:day interaction = +3.481 (50% of observed)
|
||||
N/group | per-animal power | LME power
|
||||
------------------------------------------
|
||||
3 | 0.12 | 0.31 <- observed
|
||||
@@ -25,5 +25,4 @@ ground truth: stim:day=+6.96/day, rat SD=9.64, residual SD=12.11, days=6
|
||||
16 | 0.90 | 0.89
|
||||
24 | 0.97 | 0.99
|
||||
|
||||
Read the per-animal column as the honest power. At the observed N this study
|
||||
is typically underpowered; per-animal power reaches ~0.8 only at larger N.
|
||||
Read the per-animal column as the honest power; LME is optimistic (obs-level DF).
|
||||
|
||||
Reference in New Issue
Block a user