Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interner Fehler bei Zeitreihenanalyse #2

Open
chrisgahlert opened this issue Nov 30, 2012 · 2 comments
Open

Interner Fehler bei Zeitreihenanalyse #2

chrisgahlert opened this issue Nov 30, 2012 · 2 comments
Labels

Comments

@chrisgahlert
Copy link
Member

Fehler: Es kommt eine Fehlermeldung "Bei der Berechnung ist intern ein Fehler aufgetreten. Leider ist dieser noch nicht behoben, bitte informieren Sie das zuständige Projektteam."

Vorgehen zur Reproduzierung:

  1. Starte das Programm
  2. Erstelle ein neues Projekt
  3. Erstelle ein neues stochastisches Szenario
  4. Fuege 2 Perioden mit den Werten FreeCashFlow=123.456 und BilanzwertFK=654.321 hinzu.
  5. Klicke auf das Szenario
  6. Waehle als stochastischen Prozess die Zeitreihenanalyse aus.
  7. Waehle bei den Feldern FreeCashFlow und BilanzwertFK
  8. Klicke auf Unternehmenswert berechnen

Dabei wird in der Console folgender Stack trace angezeigt:

2012-11-30 11:18:02,923 FATAL [Calculation Thread] org.bh.platform.ScenarioController$CalculationListener$1: Calculation of matrix in time series failed!
org.apache.commons.math.MathRuntimeException$4: standard deviation must be positive (0)
    at org.apache.commons.math.MathRuntimeException.createIllegalArgumentException(MathRuntimeException.java:305)
    at org.apache.commons.math.distribution.NormalDistributionImpl.setStandardDeviationInternal(NormalDistributionImpl.java:140)
    at org.apache.commons.math.distribution.NormalDistributionImpl.<init>(NormalDistributionImpl.java:78)
    at org.apache.commons.math.distribution.NormalDistributionImpl.<init>(NormalDistributionImpl.java:63)
    at org.bh.plugin.timeSeries.TimeSeriesCalculator_v3.kalkuliere_weisses_Rauschen(TimeSeriesCalculator_v3.java:752)
    at org.bh.plugin.timeSeries.TimeSeriesCalculator_v3.calculateCashflows(TimeSeriesCalculator_v3.java:275)
    at org.bh.plugin.timeSeries.TimeSeriesa.calculate(TimeSeriesa.java:241)
    at org.bh.platform.ScenarioController$CalculationListener$1.showStochasticResult(ScenarioController.java:889)
    at org.bh.platform.ScenarioController$CalculationListener$1.run(ScenarioController.java:825)
    at java.lang.Thread.run(Thread.java:722)
@ChristianScherer
Copy link

Fraglich für uns ist natürlich jetzt ob wir darin Zeit investieren möchten?
Da wie sowieso eine neuimplementierung der Zeitreihenanalyse anstreben machen wir es ja hoffentlich so sauber, dass es zu nichts derartigem kommt? :)
Zumindest handelt es sich ja wohl um einen mathematischen Fehler und nicht ein Laufzeitfehler der uns auch reinspielen könnte/sollte.

@chrisgahlert
Copy link
Member Author

Sollte dennoch geprueft werden, wenn die neue Implementierung fertig ist. Falls die Werte zu einem mathematischen Fehler fuehren, sollte eine entsprechende Fehlermeldung angezeigt werden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants