On Aug 19, 2011, at 20:40 , David Winsemius wrote:

> 
> On Aug 19, 2011, at 1:28 PM, Stephen Davies wrote:
> 
>> I'm using chisq.test() on a matrix of categorical data, and I see that the
>> "residuals" attribute of the returned object will give me the Pearson 
>> residuals.
>> That's cool. However, what I'd really like is the standardized (adjusted)
>> Pearson residuals, which have a N(0,1) distribution. Is there a way to do 
>> that
>> in R (other than by me programming it myself?)
> 
> ?scale

chisq.test(...)$stdres, more likely.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd....@cbs.dk  Priv: pda...@gmail.com
"Døden skal tape!" --- Nordahl Grieg

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

Reply via email to