Skip to content
Prev 279840 / 398503 Next

Need to calculate standard deviation by groups

Hello, Zsuzsa,

does ave() with its argument FUN supplied with sd not do what you want?
Something like

with( Dataset, ave( x = B, C, D, FUN = sd))

should do it.

Hth  --  Gerrit
On Fri, 9 Dec 2011, Zsuzsanna Papp wrote:

            
---------------------------------------------------------------------
Dr. Gerrit Eichner                   Mathematical Institute, Room 212
gerrit.eichner at math.uni-giessen.de   Justus-Liebig-University Giessen
Tel: +49-(0)641-99-32104          Arndtstr. 2, 35392 Giessen, Germany
Fax: +49-(0)641-99-32109        http://www.uni-giessen.de/cms/eichner