[R] Arcsine Tranformation.

Fox, John jfox at mcmaster.ca
Mon Aug 1 05:30:40 CEST 2016


Dear Samsad,

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

-----------------------------
John Fox, Professor
McMaster University
Hamilton, Ontario
Canada L8S 4M4
Web: socserv.mcmaster.ca/jfox


> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Samsad Afrin
> Himi
> 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?
> 
> Best,
> Samsad
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.



More information about the R-help mailing list