[R] Chi-Square Goodness-of-Fit test
    Simon Blomberg 
    blomsp at ozemail.com.au
       
    Tue Dec  5 04:02:50 CET 2006
    
    
  
See pearson.test in the nortest package. Also, read the notes section in 
?pearson.test. You may not really want to do this test.
HTH,
Simon.
Ethan Johnsons wrote:
> Do you know/have a function that takes a vector x and provides a
> returned p-value that uses the Chi-Square Goodness-of-Fit test to test
> the goodness of fit of a standard normal distribution.
>
> Awaiting your positive reply.
>
> Thx
>
> ej
>
> ______________________________________________
> 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
> and provide commented, minimal, self-contained, reproducible code.
>
>   
-- 
Simon Blomberg, B.Sc.(Hons.), Ph.D, M.App.Stat. 
Centre for Resource and Environmental Studies
The Australian National University              
Canberra ACT 0200                               
Australia                                       
T: +61 2 6125 7800 email: Simon.Blomberg_at_anu.edu.au
F: +61 2 6125 0757
CRICOS Provider # 00120C
The combination of some data and an aching desire for 
an answer does not ensure that a reasonable answer 
can be extracted from a given body of data.
- John Tukey.
    
    
More information about the R-help
mailing list