Skip to content

Variance

3 messages · Dat Mai, Andrew Robinson

#
A couple of points here ....

First, note that q doesn't increment in the code below.  So, you're
getting the same variance each time.

Second, note that (t$Rec1==input3 & t$Rec2==input4) evaluates to F?T
or 0/1, and it's not clear from your code if that is what you intend.

Finally, it's much easier to work with commented, minimal,
self-contained, reproducible code.  Please consider submitting that
with future questions.

I hope that this helps,

Andrew.
On Thu, Apr 28, 2011 at 05:58:24PM -0400, Dat Mai wrote: