search for: dummy15

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

Did you mean: dummy1
2011 Dec 09
0
Summary model with observations taken out and dummied back in - not working
...iables. I have removed 4 observations as they were skewing the data analysis but I want to dummy them back in, (not entirely sure on the reason, but have been told I should try). I have used this in order to do it, but I am not getting any statistical analysis with my dummy it's all NA. > dummy15=rep(0, times=n) > dummy15[15]=1 > which(psubset1==0) [1] 10 15 21 27 > dummytest = lm(price ~ pct.children + wealth + pct.walk + pct.emp + > dummy15, data = mydata, *subset = as.logical(subset)*) > summary(dummytest) Call: lm(formula = price ~ pct.children + wealth + pct.walk + p...