Re: [R] identical values not so identical? newbie help please!

From: maiya <maja.zaloznik_at_gmail.com>
Date: Thu, 10 Mar 2011 13:47:24 -0800 (PST)

Quite fascinating, if annoying. Nice example Petr!

Turns out my expected values are causing even more trouble because of this! I've even gotten negative chi square values (calculated using Cressie and Read's formula)!

So instead of kludging the error measurement code, I think I'm going to have to round the actual expected values. Like

exp <- round(exp, digits=10)

Are there any ethical reservations to doing this?

--
View this message in context: http://r.789695.n4.nabble.com/identical-values-not-so-identical-newbie-help-please-tp3346078p3346880.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.
Received on Thu 10 Mar 2011 - 22:00:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 10 Mar 2011 - 22:10:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive