[R] No LOGLM coefficients

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Apr 14 22:25:45 CEST 1999


On Wed, 14 Apr 1999, Cor en Aylin wrote:

> Dear R-helpers,
> 
> Im trying to fit a Log-linear model on a dataset with bird counts from
> 60 sites over 14 years for 12 months each (factors for the models). One
> of the aims is to predict the missing values in this dataset with model
> predictions.
> Ive first tried to work with GLM's, that worked fine except for models
> with one or more interaction-terms. The GLMs run, run .. for hours. So I
> switched to using LOGLM (MASS-library), and that worked swift. The
> deviances were the same so that worked well. The only problem is that my
> data contains both zero's (rarely) and  quite a lot of NA's. LOGLM
> doesn't report the params in these cases (the help file reports this)
> but I still want to use them for predicting my missing values.

What you want is the fitted values, not the coefficients, I think. You can
get those, I believe, from loglm/loglin.  If not, you know who to bug: the
author of loglm is WNV, although I made it work under R.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 mailing list