search for: newdv

Displaying 2 results from an estimated 2 matches for "newdv".

Did you mean: newdf
2012 Mar 10
1
problem with effects : 'subscript out of bounds'
hello. help with effects plots. here's the last bit of code before running the model and then the effects, then the error. nor.dem <- norway$v162 ## nor.dem is my DV & it is continuous. nor.dem <- as.numeric(nor.dem)-5 str(nor.dem) (i had to do a great deal of coding here so i am snipping down to the end) tmp[which(norway$v128 == "trust completely" & norway$v127
2007 Jun 20
2
Extracting t-tests on coefficients in lm
I am writing a resampling program for multiple regression using lm(). I resample the data 10,000 times, each time extracting the regression coefficients. At present I extract the individual regression coefficients using brg = lm(Newdv~Teach + Exam + Knowledge + Grade + Enroll) bcoef[i,] = brg$coef This works fine. But now I want to extract the t tests on these coefficients. I cannot find how these coefficients are stored, if at all. When I try attributes(brg) I do not find the t values as the attributes of the object. T...