data-modeling

How to use ARIMA in GARCH model

旧街凉风 提交于 2021-01-01 10:04:22
问题 I have financial data and my goal is to be able to forecast. I ran an arima model and found that the best fit was arima(1,1,1) w/ drift. I want to use GARCH on the data set because it is the better model to use due to volatility and when I squared my residuals it did have the arch effect. But I know that GARCH takes in a 2 parameter arima and I am not sure how that translates from the 3 parameter arima I currently have. library(dplyr) library(tidyr) library(lubridate) library(ggplot2) library

Where should I store a foreign key?

半城伤御伤魂 提交于 2020-12-27 08:11:07
问题 If I have a relationship between two tables (both tables have their own primary keys) what should guide my decision as to which table should store the foreign key? I understand that the nature of the relationship probably matters (one-to-one, one-to-many, many-to-many, uni-directional, bi-directional), and probably access patterns matter too. What is a systematic way of making that decision though? 回答1: Which table is the child in the relationship? Answer that, and you know which table needs

Modeling Tool for NOSQL Databases [closed]

非 Y 不嫁゛ 提交于 2020-08-20 18:07:12
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Improve this question I know that most of the time NOSQL databses are schema-less or at least have a flexible database schema. However, the basic schema needs to be modeled beforehand and may evolve later. So,in this case, is there a modeling tool/language for NOSQL databases? Like UML

Modeling Tool for NOSQL Databases [closed]

末鹿安然 提交于 2020-08-20 18:04:18
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Improve this question I know that most of the time NOSQL databses are schema-less or at least have a flexible database schema. However, the basic schema needs to be modeled beforehand and may evolve later. So,in this case, is there a modeling tool/language for NOSQL databases? Like UML