Skip to content

StructTS hang?

6 messages · Richard.Kiefer at rwe.com, Uwe Ligges

#
On 25.01.2010 11:03, Richard.Kiefer at rwe.com wrote:
Even better: report a reproducible example to the package maintainer who 
is certainly happy to fix bugs in the package.

Best wishes,
Uwe Ligges
#
No problem!

Working:
z<-ts(sin(1:1000), start=1, freq=10)
x<-StructTS(z, type='BSM')
Hang:
z<-ts(sin(1:1000), start=1, freq=100)
x<-StructTS(z, type='BSM')
(Both on WinXP, R 2.9.2)

I don't, however, know who the package maintainer is, nor can I track down where exactly the hang is caused.

Maybe somebody else can help me with that.

Cheers,
Richard Kiefer


-----Urspr?ngliche Nachricht-----
Von: Uwe Ligges [mailto:ligges at statistik.tu-dortmund.de]
Gesendet: Dienstag, 26. Januar 2010 10:32
An: Kiefer, Richard
Cc: r-help at r-project.org
Betreff: Re: [R] StructTS hang?
On 25.01.2010 11:03, Richard.Kiefer at rwe.com wrote:
Even better: report a reproducible example to the package maintainer who
is certainly happy to fix bugs in the package.

Best wishes,
Uwe Ligges
----------------------------------------------------------------
Irgendwann kommt jeder drauf! WWW.ENERGIEWELT.DE
-----------------------------------------------------------------------------------
Vorsitzender des Aufsichtsrates: Dr. Rolf Martin Schmitz
Vorstand: Dr. Johannes Lambertz (Vorsitzender), 
Prof. Dr. Gerd Jaeger, Antonius Voss, 
Erwin Winkel

Sitz der Gesellschaft: Essen und Koeln
Eingetragen beim Amtsgericht Essen
Handelsregister-Nr. HRB 17420
Eingetragen beim Amtsgericht Koeln
Handelsregister-Nr. HRB 117
#
On 26.01.2010 10:55, Richard.Kiefer at rwe.com wrote:
Apologies, thought that code was from a contributed package rather than 
from the base distribution of R.
In this case, and given the code, we should try to debug a little bit.

My first impression is that it will take some time given experiments 
with smaller numbers it looks roughly exponential in runtime. I'll be 
off for a meeting now and will look at results in 1-2 hours (when I 
expect them to appear on my machine).

Uwe Ligges
#
Exponential, you say?

Maybe I am just not patient enough.
After being unresponsive for several minutes, which in the larger examples that I work with has probably appeared like a hang, the code I just mentioned has given a result (a convergence error, but still).
So, I must say I can no longer reproduce the hang.

I remember to be able to reproduce a significant change in behaviour upon the frequency passing some threshold. Maybe by chance, this threshold parting "hang" from normal operation agreed with a number someone claimed ts-objects could not handle properly.
But I can't reproduce this now. I'm sorry...



-----Urspr?ngliche Nachricht-----
Von: Uwe Ligges [mailto:ligges at statistik.tu-dortmund.de]
Gesendet: Dienstag, 26. Januar 2010 11:15
An: Kiefer, Richard
Cc: r-help at r-project.org
Betreff: Re: AW: [R] StructTS hang?
On 26.01.2010 10:55, Richard.Kiefer at rwe.com wrote:
Apologies, thought that code was from a contributed package rather than
from the base distribution of R.
In this case, and given the code, we should try to debug a little bit.

My first impression is that it will take some time given experiments
with smaller numbers it looks roughly exponential in runtime. I'll be
off for a meeting now and will look at results in 1-2 hours (when I
expect them to appear on my machine).

Uwe Ligges
----------------------------------------------------------------
Irgendwann kommt jeder drauf! WWW.ENERGIEWELT.DE
-----------------------------------------------------------------------------------
Vorsitzender des Aufsichtsrates: Dr. Rolf Martin Schmitz
Vorstand: Dr. Johannes Lambertz (Vorsitzender), 
Prof. Dr. Gerd Jaeger, Antonius Voss, 
Erwin Winkel

Sitz der Gesellschaft: Essen und Koeln
Eingetragen beim Amtsgericht Essen
Handelsregister-Nr. HRB 17420
Eingetragen beim Amtsgericht Koeln
Handelsregister-Nr. HRB 117
#
On 26.01.2010 11:52, Richard.Kiefer at rwe.com wrote:
Right, your example takes roughly 30 minutes on my machine.

Uwe