R.E. Darnell (R.E.Darnell@newcastle.ac.uk)
22 Oct 1999 13:24:37 +0100
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
proportion.
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.
Thanks
Ross Darnell
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2.0b3 on Tue 04 Jan 2000 - 13:34:00 EST