Message-ID: <OFC7310315.49BD3E31-ONC1257948.002D157E-C1257948.002D386F@precheza.cz>
Date: 2011-11-14T08:13:20Z
From: PIKAL Petr
Subject: help in fitted values in lm function
In-Reply-To: <1321255323522-4038642.post@n4.nabble.com>
Hi
>
> Hi,
>
> I have a data set of 10000 rows and ran a linear regression by using the
> function lmres = lm(formula,data)
>
> then got the fitted value by using the value fit=fitted(lmres).
>
> but the number of rows in the fitted one is about 9548,
>
> What could be the reason for reduction in the number of rows in the
fitted
> one
Some NA values in your data?
Petr
>
> --
> View this message in context: http://r.789695.n4.nabble.com/help-in-
> fitted-values-in-lm-function-tp4038642p4038642.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.