search for: tp1577655p1577971

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

2010 Mar 04
1
logistic regression by group?
Hi, Looking for a function in R that can help me calculate a parameter that maximizes the likelihood over groups of observations. The general formula is: p = exp(xb) / sum(exp(xb)) So, according to the formulas I've seen published, to do this "by group" is product(p = exp(x_i * b_i) / sum(exp(x_i b_i))) Where i represents a "group" and we iterate through each group.