On Wed, 20 Dec 2023 05:56:19 +0000 Xiang Ye via R-sig-Geo <r-sig-geo@r-project.org> wrote:
<SNIP> > According to what I learnt about the quadrat test (Rogersson and > Yamada 2005, p. 48), and the help document from quadrat.test, I > assume the "residual" should be (observed-expected)^2/expected. <SNIP> Just to reinforce what Roger Bivand has already told you (with admirable clarity) --- the expression that you give above is for the *square* of the (Pearson) residual, not the actual residual. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretaries) phone: +64-9-373-7599 ext. 89622 Home phone: +64-9-480-4619 _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo