Displaying 2 results from an estimated 2 matches for "c_x01".
Did you mean:
c_01
2007 Feb 09
1
subset function
...problem with the subset function:
See the following simple linear model. Here everything works fine:
>germany<-lm(RENT~AGE1, in.mi01)
However, if a use the same regression equation and only specify a subset, I
get an error message:
> berlin<-lm(RENT~AGE1, in.mi01, subset=C_X01=="Berlin")
Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) :
0 (non-NA) cases
The datasets contains no missing values and for the city Berlin there are
2200 observations.
> summary(in.mi01$C_X01)
Berlin Düsseldorf F...
2006 Dec 01
1
Box Tidwell / Error Message
Dear R-Users,
I used the box.tidwell () function of the car Package.
When I used the following formula:
semi.sub.in.mi1.boxtidwell_h<-box.tidwell(RENT_LG ~ I(age+1)+I(age2+1)+X06A
+ I(X08B+1) + I(X22+1) + I(X24+1) + X31A, ~B_YEAR + C_X01 + C_X14 + C_X19 +
C_X29A +C_X21 + C_X23 + D_X12 + D_X17 + D_X18 + D_X25 + D_X27 + D_X30 +
D_X32 + D_X35, data = semi.sub.in.mi1)
everything is fine.
However, when I replaced the time dummy variable:
semi.sub.in.mi1.boxtidwell_h<-box.tidwell(RENT_LG ~ I(age+1)+I(age2+1)+X06A
+ I(X08B+...