Displaying 1 result from an estimated 1 matches for "s1q12_gbh".
2012 Dec 09
1
Some coefficients are doubled when I use the step() function
...t out at all. Using binomial glm
models, and the step() function, so the call looks like this:
sectionmodel = glm(formula = Target3 ~ S1Q12_NUM.1 + S1Q9_NUM.1 + S1Q5_NUM.1 +
S1Q7_NUM.1 + S1Q8_NUM.1 + S1Q6_NUM.1 + S1Q10_NUM.1 + S1Q12_BURG.1 +
S1Q12_CD.1 + S1Q4.1 + S1Q12_OTHVIOL.1 + S1Q8.1 + S1Q12_GBH.1 +
S1Q11.1 + S1Q7.1 + S1Q12_THEFT.1 + S1Q12_DRIV.1 + S1Q5.1 +
S1Q9.1 + S1Q12_DRUG.1, family = binomial, data = moddata)
But when I run step() on the resulting model, some of the coefficents
are doubled when it comes back, with a "2" at the end, e.g. like this:
mymodel = step(se...