{"version":"1.0","type":"rich","title":"Gist dfc010f37b8d56dd9d72","description":"This example demonstrates how to perform a repeated-measures ANOVA with sphericity correction using a custom Python function. It shows the statistical results, including F-values, p-values, and corrected degrees of freedom, for each main effect and interaction term in a factorial within-subject design. The implementation relies on NumPy for matrix operations, SciPy for statistical distributions and detrending, and constructs effect codings through binary patterns. The code defines a `repanova` function that returns a list of named tuples containing the effect name, corrected degrees of freedom, F-value, and p-value, with optional Greenhouse-Geisser correction.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-dfc010f37b8d56dd9d72?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}