Re: [R] time series transformation....

2023-08-14 Thread akshay kulkarni
Dear ERic, THanks a lot! THanking you, Yours sincerely, AKSHAY M KULKARNI From: Eric Berger Sent: Monday, August 14, 2023 11:04 PM To: akshay kulkarni Cc: R help Mailing list Subject: Re: [R] time series transformation Hi Akshay, If

Re: [R] time series transformation....

2023-08-14 Thread Eric Berger
Hi Akshay, If you do > help(package="forecast") you will find that arfima is listed. Unfortunately, I don't see any ARCH-type models there, but you should check out the help page results. Good luck, Eric On Mon, Aug 14, 2023 at 8:04 PM akshay kulkarni wrote: > > Dear Eric, >

Re: [R-es] Expresión en un objeto

2023-08-14 Thread jose luis via R-help-es
Algo asi: En lunes, 14 de agosto de 2023, 17:29:37 CEST, jose luis via R-help-es escribió: Hola, no estoy seguro de si es esto lo que te hace falta. ¿conoces la funcion "coalesce"? coalesce function - RDocumentation | | |  | coalesce function - RDocumentation Given a set of

Re: [R] time series transformation....

2023-08-14 Thread akshay kulkarni
Dear Eric, THanks for the reply...will this also work with arfima() ? What if I want to fit a model like GARCH and friends? THanking you, Yours sincerely, AKSHAY M KULKARNI From: Eric Berger Sent: Sunday, August 13, 2023 10:34 AM To: akshay

Re: [R-es] Expresión en un objeto

2023-08-14 Thread jose luis via R-help-es
Hola, no estoy seguro de si es esto lo que te hace falta. ¿conoces la funcion "coalesce"? coalesce function - RDocumentation | | | | coalesce function - RDocumentation Given a set of vectors, coalesce() finds the first non-missing value at each position. This is i... | | | How to

Re: [R-es] Expresión en un objeto

2023-08-14 Thread Griera-yandex
Hola: Aplicando tu solución al problema original, seria: > V1 <- c (47, 71, 41, 23, 83, 152, 82, 8, 160, 18) > V2a <- c (NA, 36, 15, 5, 56, 18, NA, 5, NA, 5) > V2b <- c (37, NA, 15, NA, NA, NA, 90, NA, 161, NA) > ORD <- "(ifelse (is.na (V2a) & ! is.na (V2b), V2b,

Re: [R-es] Expresión en un objeto

2023-08-14 Thread Griera-yandex
Hola: Si, esto está mucho más cerca de lo que quería! Creo que es la solución. Gracias! Lo trabajo! Saludos. On Mon, 14 Aug 2023 10:14:06 +0200 Proyecto R-UCA wrote: > Buenas, > > ¿Qué tal esto? > > > V1 <- 1 > > V2a <- 20 > > V2b <- 200 > > ORD <- "(ifelse (is.na (V2a) & ! is.na (V2b),

Re: [R-es] Expresión en un objeto

2023-08-14 Thread Proyecto R-UCA
Buenas, ¿Qué tal esto? > V1 <- 1 > V2a <- 20 > V2b <- 200 > ORD <- "(ifelse (is.na (V2a) & ! is.na (V2b), V2b, V2a))" > V3 <- "((ORD - V1)/V1)*100" > V33 <- sub('ORD', ORD, V3) > V33 [1] "(((ifelse (is.na (V2a) & ! is.na (V2b), V2b, V2a)) - V1)/V1)*100" > eval(parse(text = V33)) [1] 1900 Un

Re: [R] Noisy objective functions

2023-08-14 Thread Enrico Schumann
On Sun, 13 Aug 2023, Hans W writes: > While working on 'random walk' applications, I got interested in > optimizing noisy objective functions. As an (artificial) example, the > following is the Rosenbrock function, where Gaussian noise of standard > deviation `sd = 0.01` is added to the function