Create a 4-minute educational video that teaches how we measure pair-wise non-linearity across 12 conditions drug-fitness phenotypes (66 pairs). The video must be broken into six chapters, each with clear on-screen titles, concise voice-over text, and animated visuals. Use a friendly but academically precise tone and plenty of LaTeX math where indicated. Ch 1  Problem Setup • Show a 3 × 4 grid of labelled drug conditions. • Explain that 12 conditions ⇒ 66 unique pairs. • Pose the central question: “Is the relationship between each pair linear or non-linear?” Ch 2  Linear vs GAM models • Display a scatter plot for one hypothetical pair. • Draw the best-fit straight line (OLS) and write the equation 𝑦 = 𝛽 0 + 𝛽 1 𝑥 y=β 0 ​ +β 1 ​ x. • Overlay a smooth spline (GAM) and show 𝑦 = 𝛼 + 𝑓 ( 𝑥 ) y=α+f(x) with 𝑓 ( 𝑥 ) = ∑ 𝑏 𝑘 𝐵 𝑘 ( 𝑥 ) f(x)=∑b k ​ B k ​ (x). • Briefly define “smoothing penalty” 𝜆 ∫ ( 𝑓 ′ ′ ( 𝑥 ) ) 2 𝑑 𝑥 λ∫(f ′′ (x)) 2 dx and “effective d.f.” 𝑘 = t r a c e ( 𝑆 ) k=trace(S). Ch 3  AIC Formula & Intuition • Write the general form A I C = 2 𝑘 − 2 ℓ AIC=2k−2ℓ. • Define log-likelihood ℓ = − 𝑡 𝑓 𝑟 𝑎 𝑐 𝑛 2 ln ⁡ ( 2 𝜋 𝜎 2 ) − 𝑡 𝑓 𝑟 𝑎 𝑐 1 2 𝜎 2 𝑠 𝑢 𝑚 ( 𝑦 𝑖 − 𝑦 ^ 𝑖 ) 2 ℓ=− tfracn2ln(2πσ 2 )− tfrac12σ 2 sum(y i ​ − y ^ ​ i ​ ) 2 . • Explain verbally: “AIC rewards fit (higher ℓ) but penalises complexity (larger k). Lower is better.” Ch 4  Worked Mini-Example • Use 𝑛 = 100 n=100 points with a made-up 𝜎 2 = 0.02 σ 2 =0.02. • Compute and display step-by-step: • ℓ lin = − 120 ⇒ A I C lin = 244 ℓ lin ​ =−120⇒AIC lin ​ =244 (k=2) • ℓ GAM = − 100 ⇒ A I C GAM = 212 ℓ GAM ​ =−100⇒AIC GAM ​ =212 (k=4.3) • Present Δ A I C = − 32 ΔAIC=−32. • Intuition caption: “Even after paying for extra wiggles, the spline is far more plausible.” Ch 5  Decision Rule & Threshold • Visual number line with a dashed vertical at Δ A I C = − 2 ΔAIC=−2. • Label left zone “non-linear wins”, right zone “linear wins”. • Explain evidence ratio 𝑒 − Δ / 2 e −Δ/2 and why –2 ≈ 3× likelihood. Ch 6  Scaling to 66 Pairs (50 s) • Animate looping through all 66 pairs; for each, flash its Δ A I C ΔAIC. • Build a histogram in real time. • Highlight that 43/66 bars fall left of –2 ⇒ 65 % nonlinear. • Conclude with a take-home slide: “High pleiotropy and epistasis demand non-linear models.” Technical specs • Use subtle pastel colour-scheme, smooth camera pans, and readable fonts (MathJax for LaTeX).

视频信息