Ben,
It helps us help you if you provide a simple example with code that anyone
can run. When I created a simplified version of you situation, the NAs in
the response variable yielded NAs in the residuals just as the help for
na.exclude indicates.
?na.exclude
Can you replicate the problem (and
lf
> Of Ben Ammar
> Sent: Monday, October 28, 2013 6:20 AM
> To: r-help@r-project.org
> Subject: [R] How to extract residuals from multiple regressions from a loop
>
>
>Dear all
>
>I've got the following problem, I want to extract the residuals from
>
Dear all
I've got the following problem, I want to extract the residuals from
regression loops. The problem here is that some columns include NA's at the
beginning and end (i.e. each time series of stocks starts at different
points in time and ends at different points in time).
3 matches
Mail list logo