Displaying 1 result from an estimated 1 matches for "a_ex".
Did you mean:
__ex
2010 Dec 11
2
Specifying Prior Weights in a GLM
...ariable is a proportion. According to R
Documentation in "a binomial GLM prior weights are used to give the number
of trials when the response is the proportion of successes." However when I
run my code I get the following error message:
Error in model.frame.default(formula = PER_ELA ~ A_EX + COMM + ENG + S_R +
:
variable lengths differ (found for '(weights)')
I'm not sure what I am doing wrong. My response variable is Y/M, which is
the proportion of 1's (successes) among M binary responses. My prior weight
is a variable indicating the number of trials for each...