[R] Rcommander and simple chisquare

John Fox jfox at mcmaster.ca
Thu Sep 15 17:31:01 CEST 2005


Dear Christian,

>From the Rcmdr menus, select "Statistics -> Summaries -> Frequency
distributions", and check the "Chisquare goodness of fit test" box in the
resulting dialog. This will bring up a dialog box where you can enter
hypothesized probabilities from which expected frequencies will be
calculated.

Regards,
 John

--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox 
-------------------------------- 

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Christian Jost
> Sent: Thursday, September 15, 2005 5:40 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Rcommander and simple chisquare
> 
> In this years biostat teaching I will include Rcommander (it 
> indeed simplifies syntax problems that makes students 
> frequently miss the core statistical problems). But I could 
> not find how to make a simple chisquare comparison between 
> observed frequencies and expected frequencies (eg in genetics 
> where you expect phenotypic frequencies corresponding to 3:1 
> in standard dominant/recessif alleles). Any idea where this 
> feature might be hidden? Or could it be added to Rcommander?
> 
> Thanks, Christian.
> 
> ps: in case I am not making myself clear, can Rcommander be 
> made to perform
> >  chisq.test(c(61,39),p=c(0.75,0.25))
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html




More information about the R-help mailing list