question

Upvotes
Accepted
1 0 0 0

robfilter and visualization of smoothed curve

Hi everyone.

I am using the robust filter with time series data. In my example I use the following time series data (boston):

install.packages("fma")
library(fma)
install.packages("robfilter")
library(robfilter)
bank <- as.data.frame(boston)
series1 <- bank$nyase series2 <- bank$bse
bank.rf1 <- robust.filter(series1,width=11)
bank.rf2 <- robust.filter(series2,width=11)
plot(bank.rf1)
plot(bank.rf2)

so far, the plots look good.

How can I now visualize the time series together with the smoothed signal?

r
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

hi @kenandlc

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,
AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


1 Answer

· Write an Answer
Upvotes
Accepted
22.1k 59 14 21

Hi @kenandlc,

We can only help with Refinitiv products or services on these forums. Can you please confirm that you are using one?

For generic programming questions, I would recommend that you ask question on the generic programming forums like stackoverflow.com.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.