[R] GLM
David Winsemius
dwinsemius at comcast.net
Mon Apr 5 15:47:40 CEST 2010
On Apr 5, 2010, at 5:32 AM, Nuno Miguel Madeira Veiga wrote:
>
> Hi,
> I am working on GLM models. However I am having some problems that I
> would like that someone give me some guidance
>
> One of the explanatory variables ERECTANGLE is not present in all
> the individual rows.
>
> 1 when I delete the rows for which the variable ERECTANGLE is
> missing I get the following results
> Null deviance: 290.884 on 774 degrees of freedom
> Residual deviance: 85.863 on 760 degrees of freedom
> AIC: 11385
>
> 2- when I run the model with all the rows including the null
> ECTANGLE I get the following results
> Null deviance: 480.75 on 1232 degrees of freedom
> Residual deviance: 140.30 on 1211 degrees of freedom
> AIC: 18113
>
>
> So I am curious on how the algorithm functions in terms of model
> adjustment
Which algorithm? You have not included any code.
What data? Most routines wouled either exclude missing data if
properly registered as NA. It you used a missing data indicator of
your own construction then who know what might be happening.
--
David.
>
> I will be waiting for your answer Thanks
> Nuno
> _________________________________________________________________
>
> veja como
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list