[R] t-test between percentages

Bert Gunter gunter.berton at gene.com
Wed Sep 17 18:47:44 CEST 2008


 Sounds like a homework problem. Consult any basic statistics text. Hint:
You don't use a t-test to test for a difference in percentages. Check
"chi-squared" and/or "contingency table."

Cheers,
Bert Gunter

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Bunny, lautloscrew.com
Sent: Wednesday, September 17, 2008 9:41 AM
To: r-help at r-project.org
Subject: [R] t-test between percentages

Hi all,

though i know this is a simple question, i really hope someone could.
I am just trying to compare percents respectively the difference in  
percents by a simple test. t.test usually compares means and is  
working like it is supposed to be. Now i wonder how i can use a test  
in R to test for significant difference between two percentages.
http://survey.scantron.com/resources/significant-calc.htm is pretty  
much all i need.

How can i solve this in R ?

thx in advance

m.

______________________________________________
R-help at 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.



More information about the R-help mailing list