search for: crimepred

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

2006 Sep 10
2
formatting data to be analysed using multinomial logistic regression (nnet)
...count data, such as the housing data in MASS? Id Crime paranoia hallucinate toc disorg crimhist age 1 2 1 0 1 0 1 25 2 2 0 1 1 1 1 37 3 1 1 0 1 1 0 42 4 3 0 0 0 0 1 25 5 2 1 0 1 0 0 49 2. Can a ratio variable such as $age be included into a model, such as the one below? crimepred <- glm (crime ~ paranoia + hallucinate + toc + crimhist, family = poisson, data = mht ) Any assistance with the above is appreciated, regards Bob Green