Re: [R] Dealing with NAs in lm or gmm

2014-10-21 Thread Frederic Ntirenganya
ven body of data. > ~ John Tukey > > Van: jpm miao [mailto:miao...@gmail.com] > Verzonden: dinsdag 21 oktober 2014 11:35 > Aan: ONKELINX, Thierry > CC: r-help > Onderwerp: Re: [R] Dealing with NAs in lm or gmm > > I tries "na.action = na.exclude" but it returns

Re: [R] Dealing with NAs in lm or gmm

2014-10-21 Thread ONKELINX, Thierry
pm miao [mailto:miao...@gmail.com] Verzonden: dinsdag 21 oktober 2014 11:35 Aan: ONKELINX, Thierry CC: r-help Onderwerp: Re: [R] Dealing with NAs in lm or gmm I tries "na.action = na.exclude" but it returns a fitted vector with NAs removed. Is there any way to return the fitted vector wit

Re: [R] Dealing with NAs in lm or gmm

2014-10-21 Thread jpm miao
Tukey > > > -Oorspronkelijk bericht- > Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > Namens jpm miao > Verzonden: dinsdag 21 oktober 2014 10:29 > Aan: r-help > Onderwerp: [R] Dealing with NAs in lm or gmm > > Hi, > >My question is

Re: [R] Dealing with NAs in lm or gmm

2014-10-21 Thread ONKELINX, Thierry
oun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens jpm miao Verzonden: dinsdag 21 oktober 2014 10:29 Aan: r-help Onderwerp: [R] Dealing with NAs in lm or gmm Hi, My question is about NAs in the function "gmm", but I believe that the same issues occur in the case of

[R] Dealing with NAs in lm or gmm

2014-10-21 Thread jpm miao
Hi, My question is about NAs in the function "gmm", but I believe that the same issues occur in the case of "lm". I try to estimate a model by "gmm" function (GMM, generalized method of moments). Each of the variables has 94 rows, but the resulting fitted model has only 89 rows. Then the f