Skip to content
Prev 22681 / 398502 Next

Why can't Anova (car package) see the data?

On Wed, 14-Aug-2002 at 08:26AM -0400, John Fox wrote:
|> Dear Patrick,
|> 
|> It's difficult for me to tell from your description what the specific 
|> nature of the problem is, though it seems to be some kind of scoping issue.
|> 
|> I've experimented a bit and found that the call to update (indirectly) from 
|> Anova.glm (with LR type-II tests) seems to cause problems:

The glms I've been using commonly use update directly, so it's even
more likely to be a problem.


|> I don't see an immediate way around the problem, but I'll think
|> about it.  In addition, if you send me some more information -- the
|> data that you were using, the model that you fit, the function from
|> which you called Anova -- I'll take a look a it. I'm leaving town
|> for several days tomorrow. If you send me the information before
|> then, I'll take it with me.

Thanks for the offer.  It would be a bit involved getting you an
appropriate piece of the data to replicate it, but I've been able to
get around the problem by attaching the dataframe and leaving out the
data = part of the call.

However, if the work around that Brian Ripley suggested isn't enough
to hunt down a more elegant fix and you need a problem to use, let me
know, and I'll extract a piece for you.

Thanks for your help.