Skip to content

about linear model in R

1 message · Bert Gunter

#
Solip:

You should usually cc R-help on your responses to increase the chance
that others can help or to correct bad advice.

To respond to your explanation: Read ?glm and ?family to read about
how to construct glm models and family functions for them. glm models
are by default fit by iterated least squares based on a likelihood
function (minimization of deviances), so I do not know how it would
work with your "own" distribution. AFAIK, only exponential family
distributions  will work, so:

a) Are you sure you have a glm?
b) Do you know what you're doing, statistically?

If the answer to either of these questions is no or uncertain, I
suggest you consult a local statistical expert or learn more about
glm's and statistics. If I have misunderstood you, my apologies, and
maybe someone else will be more helpful. If I have made errors,
hopefully someone will correct them

Cheers,
Bert

Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374

"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
H. Gilbert Welch
On Tue, Jan 14, 2014 at 9:00 AM, Solip Park <imagineyd at gmail.com> wrote: