search for: mixed94

Displaying 1 result from an estimated 1 matches for "mixed94".

Did you mean: mixed
1999 Mar 02
1
Can't understand error message :-{
...are the lines I'm trying to execute: size <- read.table(file="/u67/abasl70/surveys/annenberg/mega/smschl.dat", header=T) sizef <- data.frame(size, row.names=size$unit) attach(sizef) mschmod <- lm (mavgres ~ crimesch + socstat + povnojob + ploinc94 + aa94 + hisp94 + minty94 + mixed94, data=sizef) plot(mschmod$residuals ~ size94) The last line gives this error message: Error in model.frame(formula, rownames, variables, varnames, extras, extranames, : variable lengths differ In fact, the lengths are different: > length(mschmod$residuals) [1] 379 > length(size94) [1] 384...