Skip to main content
Science Advances logoLink to Science Advances
. 2021 Dec 10;7(50):eabn2232. doi: 10.1126/sciadv.abn2232

Erratum for the Research Article: “The effects of external cues on individual and collective behavior of shoaling fish”

PMCID: PMC11578287  PMID: 34890226

In the Research Article, “The effects of external cues on individual and collective behavior of shoaling fish,” the authors discovered an error in the description of the calculation of the entropy rate, detailed in an earlier version of S1.6 of the Supplementary Materials. This error appears in some of the indices of the matrix equation that is solved to determine the elements of the stationary distribution on page 17 of the Supplementary Materials. Row 3, column 1; row 5, column 1; and row 5, column 2 were affected as the order of the subscript indices were incorrect.

The authors determined that the error was not just typographical and had carried over into the MATLAB scripts used to determine the entropy rate, including the results reported in Fig. 8 (panels C and F), Figure S35 (panels G, H, and I), Supplementary Material pages 74-75 and Figure S36 (panels G, H, and I). The authors corrected the code used to calculate the entropy rate, and replotted Figs. 8, S35 and S36 based on the corrected analysis. These figures have been corrected in the updated PDF and HTML versions of the article to reflect a consistent relationship between the entropy (leftmost columns) and entropy rate (rightmost columns).


Articles from Science Advances are provided here courtesy of American Association for the Advancement of Science

RESOURCES