rtain standard deviation
residuals[abs(residuals) > (2*sd)]
gcm <[hidden email]> wrote on
07/16/2012 07:07:31 AM:
> Jean, how would you modify your function to grab all the selected
> and not just the first?
> Thank you so much!
>
> From: Jean V Adams [via R] [
t;- c(1, 2.1, 3, 4, 3, 1, 0, -4, -1)
# logical, indicating if the residual exceeds 2 standard deviations
exceed <- abs(residuals) > (2*sd)
# indices of the first exceeding residual of a series
which(first(exceed) & exceed)
Jean
gcm <[hidden email]> wrote on
07/12/2012 11:07
al exceeds 2 standard deviations
exceed <- abs(residuals) > (2*sd)
# indices of the first exceeding residual of a series
which(first(exceed) & exceed)
Jean
gcm <[hidden email]> wrote on
07/12/2012 11:07:49 AM:
> I have a graph of residuals and I am attempting to get a list of
I have a graph of residuals and I am attempting to get a list of the indexes
of each time the residual is greater than 2 standard deviations or less than
-2 standard deviations, but only the first point of the section. And then
I'd also need the first point where the point returns to the range betw
4 matches
Mail list logo