[R] Binomial Reponses
R.E.Darnell at newcastle.ac.uk
Fri Oct 22 14:24:37 CEST 1999
I understand that there are two ways to define the response for
binomial case in R(S).
1) As a vector of p's for which the number of trials is assumed
to be 1
2) As a 2 column matrix, the first being the number of sucesses, the
second being the number of failures.
Before the weighted least squares function is used, the prior weights
need to be generated as well as the numer of success converted to a
Two questions I have concern the 2nd case.
Does the model.response function convert the number of successes
into a propn? I couldn't see that it did.
and how is the denominator included as a (prior) weight?
I would appreciate any help with these questions.
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help