Displaying 2 results from an estimated 2 matches for "sasch2".
Did you mean:
sascha
1999 Mar 09
2
summary() of lm() problem (PR#135)
...uot;x28"]+tmp[, "x29"]+tmp[, "x30"])
> summary(.Last.value)
But this has no problem. So it doesn't seem to be singularity of X or
the length of the model formula at fault (my problem data has 27
variables).
What follows now is what *does* give a fault. The data (in sasch2) is
truncated to just the first 10 rows. I made it so the modified dataset
is called sasch2 so that I could cut and paste the exact same lm() call:
> tmp<-sasch2[1:10,]
> holdsasch2<-sasch2
> sasch2<-tmp
> dump('sasch2','bugs.dump')
> lm(sasch2[, "ddiff...
1999 Mar 09
1
lm() using data frames
...ervations,70 explanatory variables)
and plenty of memory, specifically
> gc()
free total
Ncells 886738 1000000
Vcells 7912909 8388608
I get a fatal error when attempting summary() on the fit of an lm() on a
large-ish set of dummy variables (stored in a matrix):
Call:
lm(formula = sasch2[, "ddiff"] ~ sasch2[, "td30"] + sasch2[, "td60"]
+ sasch2[, "td90"] + sasch2[, "td120"] + +sasch2[, "td180"] +
sasch2[, "td240"] + sasch2[, "td300"] + sasch2[, "td360"] +
sasch2[, "td420"...