Displaying 1 result from an estimated 1 matches for "smajparty".
Did you mean:
hmajparty
2011 Apr 20
1
Error in dimnames(x) for Poisson EWMA model
...mnames(x) <- dn :
length of 'dimnames' [1] not equal to array extent
Dimnames(x) looks like this:
[[1]]
NULL
[[2]]
[1] "mip" "div" "nom" "unity" "mood" "times"
[7] "hmajparty" "smajparty" "pres"
It seems to me that the NULL value here is causing the problem but I can't figure out (1) why the null value is showing up and (2) how to get rid of it. Background code is as follows:
cr.pois<- glm(countlaw ~ mip + div + nom + unity + mood + times + hmajparty + sm...