You have to understand the ``scope'' argument to add1. As Rui Barradas
points out, that argument expects a formula, but you pass it a data frame,
YET you only get two warnings. You should practice having that feel
strange to you, and having it make you investigate:
1- Why did you not have to giv
Homework? There is a no homework policy on this list.
-- Bert
On Sat, Jan 5, 2013 at 3:06 AM, Katarzyna Nurzynska
wrote:
> Hi
>
> I am trying to build a regression model. My data looks like this:
>
> A B C DE
> 1 1 12.575
> 2 0 0 1.64
Hello,
The "error" is just a warning, these are not the same thing. And the
warning says that you're giving a wrong scope argument, one that
includes the response. See ?add1. Argument 'scope' is "a formula giving
the terms to be considered for adding or dropping." And you're passing
the entir
Hi
I am trying to build a regression model. My data looks like this:
A B C D E
1 1 1 2.57 5
2 0 0 1.64 3
0 5 1 4.8 1
1 3 0 3.56 168
1 1 1 2.13 1
0 3 1 5
Hi
I am trying to build a regression model. My data looks like this:
A B C D E
1 1 1 2.575
2 0 0 1.643
0 5 1 4.8 1
1 3 0 3.56168
1 1 1 2.131
0
5 matches
Mail list logo