[R] Arcsine Tranformation.
jfox at mcmaster.ca
Mon Aug 1 05:30:40 CEST 2016
The usual use of the arcsine transformation for proportions is arcsine-squareroot. Thus, in R, for proportions in p, you can use asin(sqrt(p)).
You could have found the asin() function yourself in several ways, including help.search("arcsin"), which turns up the help page for trigonometric functions.
As well, the logit transformation, log(p/(1 - p)), is usually preferred to the arcsine-squareroot transformation for proportions because the former is unbounded.
I hope this helps,
John Fox, Professor
Canada L8S 4M4
> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Samsad Afrin
> Sent: July 31, 2016 4:55 AM
> To: r-help at r-project.org
> Subject: [R] Arcsine Tranformation.
> Dear R-Team,
> How can I do arcsine tzransformation in R? My data is proportional score.
> Could you please help me out?
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help