On 13-09-22 09:25 PM, Peter Alspach wrote: > Tena koe > > I think you'll find the arcsine transformation is asin(sqrt(x/100)) > where × is the percentage. However, it might be better to ask > whether the data wouldn't be better analysed using generalised models > (e.g., glm). > > HTH .... >
Good point about arcsine-sqrt, and about GLMs: specifically see Warton, David I., and Francis K. C. Hui. 2011. “The Arcsine Is Asinine: The Analysis of Proportions in Ecology.” Ecology 92 (1) (January): 3–10. doi:10.1890/10-0340.1. http://www.esajournals.org/doi/full/10.1890/10-0340.1. I think the title is a little silly, but it's worth reading. > Peter Alspach > > -----Original Message----- From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Ben Bolker Sent: > Monday, 23 September 2013 12:54 p.m. To: r-h...@stat.math.ethz.ch > Subject: Re: [R] Arcsine transformation > > peake <peake.19 <at> osu.edu> writes: > >> >> I am tryin to perform an arcsine transformation on my data >> containig percentages as the dep. variable. Does anyone have a code >> that I could use to do that? I am relatively new to R. Thanks for >> your help! > > asin(x/100) > > ? or > > asin(x/100)*2/pi if you want the results rescaled to (0,1) > > curve(asin(x/100)*2/pi,from=0,to=100) > > ______________________________________________ R-help@r-project.org > mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do > read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > The contents of this e-mail are confidential and may be subject to > legal privilege. If you are not the intended recipient you must not > use, disseminate, distribute or reproduce all or any part of this > e-mail or attachments. If you have received this e-mail in error, > please notify the sender and delete all material pertaining to this > e-mail. Any opinion or views expressed in this e-mail are those of > the individual sender and may not represent those of The New Zealand > Institute for Plant and Food Research Limited. > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.