search for: psubset1

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

Did you mean: subset1
2011 Dec 09
0
Summary model with observations taken out and dummied back in - not working
...wing 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 + pct.emp + dummy15, data = mydata, *subset = as.logical(s...