Questions tagged [time-series]

A Time series is a sequence of data points with values measured at successive times (either in continuous time or at discrete time periods). Time series analysis exploits this natural temporal ordering to extract meaning and trends from the underlying data.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Multiple draw data annual monthly data by grouping years

I need a graph by grouping years (2030-2040, 2041-2050, 2051-2060) based on months (X axis should be on months, Y axis Discharge values (Observed, RCP 4.5 Simulated, RCP 8.5 Simulated)). I need a ...
ayfer ozdemir's user avatar
0 votes
1 answer
25 views

Same Pandas timestamp objects returns False when compared for eqality

I have a pandas dataframe with a time_stamp column with max value "Timestamp('2019-12-30 23:50:00+0000', tz='UTC')". I created another ts object from a string with exact same values but they ...
Md Zahidul Islam's user avatar
-1 votes
0 answers
11 views

Imputation for Cumulative Times-Series Dataset

I want to impute a cumulative time-series dataset like below: The cumulative dataset Each column is the cumulative sum of rainfall. I have tried GAIN method for imputing this dataset; however, the ...
Kunagisa Tomo's user avatar
1 vote
0 answers
13 views

How can I convert Julian dates to fit my data ? (eg. January 2nd would be "2" but I need it to be 365 +2 = 367)

so I am trying to look at day of year that ice is freezing in lakes over time. I have figured out how to convert my dates into Julian days, however, in some years ice-on is happening in the same year. ...
faith 's user avatar
  • 11
0 votes
0 answers
12 views

Creating Two Time-Dependent Array Like Datasets for Keras LSTM Model in R

I am working on a time series forecasting project using a Keras LSTM - CNN model in R, and I need help creating two specific datasets for model training. My data spans from 2007 (week 26) to 2021 (...
toastershock's user avatar
0 votes
0 answers
4 views

Restart cnosdb, panic

Restart cnosdb, panic version:cnosdb 2.3.0, revision = 954d3b6f581e74b520f4a964700832cf39545b20 I am monitoring the environment, restarting the cnosdb single node, process panic the logs as follow: ...
Baker X's user avatar
  • 118
0 votes
0 answers
9 views

adf test summary may be unreliable

#Augmented Dickey-Fuller Test for Life Expectancy adf_LE_none <- ur.df(norway$mortality,type=c("none"),lags=1, + selectlags=c("AIC")) Warning messages: 1: ...
Umut Cevizci's user avatar
0 votes
0 answers
8 views

Cross-version upgrade, cnosdb panic

Cross-version upgrade, cnosdb panic version:cnosdb 2.3.0, revision = 954d3b6f581e74b520f4a964700832cf39545b20--->cnosdb 2.3.4, revision 508f669fb723daa5195f05e8b020ebf3f322064d In version 2.3.0, I ...
Baker X's user avatar
  • 118
0 votes
0 answers
7 views

Error in Python's TimeSynth for generating Autoregressive Process

I am trying to create a AR(2) using python's TimeSynth. However, I am getting the following error. I know that it is because the code is trying to cram some inconsistent array into a numpy array ...
Reza Afra's user avatar
-1 votes
1 answer
14 views

Why did Apache IoTDB popped "Request method `POST` not supported" warning?

When I try to set Apache IoTDB standalone version, IoTDB cannot start and a warning said WARN o. s.w. s.m. support. DefaultHandlerExceptionResolver - Resolved org.springframework.web....
zlyf's user avatar
  • 38
0 votes
0 answers
29 views

Adding Multiple Trend Lines with Dynamic Color Change in Time Series Plot

I'm working on a time series data visualization project in Python using Pandas and Matplotlib. I've successfully plotted individual trend lines for multiple categories on the same time series plot ...
jin_god132's user avatar
0 votes
0 answers
27 views

Unable to figure out why the ARMA model is not working . The prediction is extremely drifting towards a high value

This is my originnal data : https://pastebin.com/jXYsR5u7 The pastebin has data and no code To make the series stationary I've taken the log difference two times. Thus effectively setting the d ...
slick's user avatar
  • 63
-1 votes
0 answers
29 views

What steps can I take to make this series stationary for prediction using ARIMA model?

I have a set of 488 oberservation. These are over a span of 24 hours. I am trying to do time series forcasting but I am not able to get the series to be stationary. I've already tried taking the log ...
slick's user avatar
  • 63
0 votes
0 answers
39 views

How do I consistently interpret PineScript series indexing?

I am trying to analyse the code by jdehorty posted here: https://www.tradingview.com/script/ia5ozyMF-MLExtensions/ The issue I am facing very often is that I do not understand how PineScript ...
Leon-Josip Dzojic's user avatar
0 votes
0 answers
7 views

Extracting significance from (WaveletComp) wavelet in R

I am using the R package WaveletComp for spectral analysis of a time series. after fitting my data with: WVT <- analyze.wavelet(Fits_16s_10C, "FvFm", method = "...
Tash's user avatar
  • 1
0 votes
1 answer
40 views

extracting data between specific dates in timseries using ts() function

I want to separate train and test set out of a single time series and i need to handle with DAILY dates. As I'm trying to separate, it doesn't work, the code shown put all data to the train set. My ...
user22855085's user avatar
0 votes
1 answer
26 views

Analyzing Impact of a Single Independent Time Series Variable on a Cluster of Dependent Variables in R

Hello Stack Overflow Community, I am an economic researcher seeking statistical advice for an analysis I am conducting in R. My dataset includes one independent time series variable, X, and a large ...
Liran Maymoni's user avatar
0 votes
0 answers
21 views

Underestimation in the VAR model

I am trying to predict with a VAR model the number of orders of product X in company Y. It uses various indexes to do this. Unfortunately, the problem is that orders are specified in millions and such ...
Ashtart's user avatar
  • 131
1 vote
1 answer
48 views

MLP Loss calculated as NaN

I am trying to prepare a MLP model for a time-series data. Its parameters are: Model is Sequential Layers: a- Hidden layer: One dense layer, with 100 nodes input_dim = flattened array of my input ...
HOSSAM's user avatar
  • 63
0 votes
1 answer
51 views

How can I plot multiple graphs on one plot, using a dictionary to contain the filename with the x and y values for each graph?

I'm creating a function that takes 3 inputs. 1 is a list of file names and 2 and 3 are the headers of the columns for 'TIME' and 'X' Values within each file. . The function will plot the Time vs X ...
Passion4Cats22's user avatar
0 votes
1 answer
44 views

Interpolating time-series with the date format

I have the following time series data: Image I want to interpolate the data monthly or yearly, and my code is as follows: df = pd.read_csv('Data/data_processing.csv', encoding='latin1') df['Date'] = ...
Mehdi MA's user avatar
-3 votes
0 answers
33 views

bruesch pagan test for "single" time series [closed]

I'm trying to check heteroskedasticity in a "SINGLE" time series. I am modelling through ARIMA (1,0,0) and as im checking for heteroskedasticity by bptest() by 2 codes as below, the errors ...
user22855085's user avatar
0 votes
0 answers
8 views

Sequence-to-Sequence RNN predicting Multiple Timesteps of Multiple Features

I've looked through the other "RNN model and data shape" questions on here but none of them handled this many dimensions. Basically the question is whether or not the output_timesteps idea ...
Michael's user avatar
  • 11
0 votes
0 answers
20 views

Problem with nested data using purrr: converted TS object has datatype character instead of dbl. Issue persist despite explicit coercion

I have nested table with 45 rows, and I would like to convert train data to time series objects ts and msts for fitting. So that has been done with no issue, however I notice that the params list ...
Sugarplum_fairy's user avatar
0 votes
0 answers
13 views

tf.data performance for timeseries forecasting

I am training a time series forecasting model in Tensorflow. I create a tf.data.Dataset containing batches of windows of data using the approach presented in the example notebook https://www....
giulatona's user avatar
  • 147
0 votes
1 answer
7 views

Why `timeout to get a connection from null:-1` error happened in session of Apache IoTDB?

The Apache IoTDB server and session is Version 1.0.1. The serssion API reflected an error: org.apache.iotdbrpc.loDBConnectionException: timeout to get a connection from null:-1, and get several ...
leonbear's user avatar
  • 120
0 votes
1 answer
8 views

fetching specific data range from influxDb

In my application I am displaying data fetched from influxDb, in a table. The table has pagination and the max number of row for each page is 10. I am fetching initial data in a 100 item packages. ...
m-alptekin's user avatar
0 votes
0 answers
12 views

Kafka vs Redis vs InfluxDb for candleStick processing

We are building an app that will process historic candlesticks on each update of the current candle. These updates ocurr every 10 seconds, and the processing requires several different indicators like ...
yael martinez's user avatar
0 votes
0 answers
7 views

XGBoost Regressor same prediction values issue

I am trying to make a comparison between several different methods and only on XGBoost and Random Forest I am having the issue of same prediction value for the test period. Data is USA Consumer Price ...
Gar field's user avatar
0 votes
0 answers
22 views

How do you do a rolling window regression (with panel data) to get time-variant firm betas in R?

I have the following dataset of monthly returns of 25 portfolios (the columns) and the market excess returns for corresponding months. I need to get the betas of each of those 25 portfolios but using ...
Chelsea Samantha's user avatar
0 votes
1 answer
30 views

How to Calculate and Maintain Last Two Distinct Values of Rolling Max in Time series Pandas DataFrame

I'm working with a pandas DataFrame that contains daily price data, and I'm trying to calculate a rolling maxover a 6-month period (using a window of 126 days). In addition to the rolling max, I want ...
Aliz's user avatar
  • 57
0 votes
1 answer
24 views

Interpretation of darts MAPE

I have fitted a lgb_model and am experimenting with the backtest() method from darts. Just to confirm, the output is 5.7%, the MAPE correct? from darts.models.forecasting.lgbm import LightGBMModel ...
Manish Joyeuse's user avatar
-1 votes
0 answers
31 views

Solving a system of intertemporal equations and inequalities [closed]

I've got the following problem: I've got a system of 120 intertemporal equations and inequalities to solve, and am struggling to find the right approach. The problem is: maximize x[0] and find from x[...
the_dude's user avatar
-3 votes
0 answers
11 views

How to handle 2 data types(numeric and Categorical) in a single feature to forecast the future trend? [closed]

It is a time series Price forecasting problem where I am trying to forecast the different prices of different products using fb-prophet. Out of the target columns there are few columns which have both ...
Momin Shaik's user avatar
-1 votes
1 answer
30 views

Recursive time series forecasting with LSTM [closed]

I would like to use the recursive approach in time series forecasting with LSTM. In this approach, the previous outputs (predictions) are used as the next inputs. However, I suppose that a model makes ...
Ten's user avatar
  • 41
0 votes
0 answers
24 views

Why there's error for pycaret.containers.models.time_series.Basecdsdtforecaster? Curious about Basecdsdtforecaster.fit(y)-> what type for y?

from pycaret.containers.models.time_series import BaseCdsDtForecaster from sktime.transformations.series.summarize import WindowSummarizer from sktime.regression.distance_based import ...
고준호's user avatar
0 votes
0 answers
30 views

Forecasting dataset China Population period must be >= 2

I'm attempting to use the Deterministic Process to forecast based on my dataset, which contains information like: Date Population Increase in Population Population Density Increase in Population ...
Martín Ávila's user avatar
0 votes
0 answers
9 views

Influxdb, flux query, bucket contains 2 string columns, how to get average of count of columns

I have a bucket with multiple tags, measurements and fields. Mostly fields contains string values. Example, car country manufacturer gearboxtype etc. I want to take average in such way: What is the ...
Vivek Sagar Pandey's user avatar
0 votes
0 answers
39 views

How to define correlation value of autoregressive LME model

I am using Linear Mixed Effect model for a time series and would also like to add an autoregressive effect (p=1) but I don't know how to select correlation value [-1, 1] in the corAR1() argument of ...
Yacine Hajji's user avatar
  • 1,188
0 votes
0 answers
18 views

Time Series Forecasting for data with Multiple features

I have a sample dataset with the following structure: Date Store ID Product ID Quantity Sold I have the data for 10 months and I am trying to predict the quantity required for the 11th month. But in ...
Habis K V's user avatar
0 votes
1 answer
40 views

Speeding up Time Series bootstrapping

I want to perform bootstrapping to time series data and then apply to each different sample a function to calculate various metrics. The bootstrapping itself, that is simulating different samples is ...
msh855's user avatar
  • 1,511
0 votes
0 answers
32 views

Deterministic time series returns an assertion error?

I am trying to see how the Transit of Venus could be predicted, I generated data by an algorithm where there's 11000+ rows of datetime objects representing each day and my frequency is set to 'D'. The ...
Literalomicus's user avatar
0 votes
0 answers
29 views

Handling last day of February of each year in POSIXct string

I have a time series from 2014 until now (2023-11-15) in 10min intervall. The data gets aggregated to a 1-hour interval. data_2014_now_stations_hourly <- data_2014_now_stations %>% group_by(...
talocodat's user avatar
0 votes
2 answers
44 views

Difference in the lenghts of two lists

I have this function which calculates the period under water of a series (sp_500): def period_under_water(series: pd.Series): max_to_date = np.empty(len(series)) max_to_date[0] = series.iloc[0] ...
aaaapython's user avatar
-1 votes
0 answers
13 views

Time Series Forecasting of Weather using Deep Learning

I am trying to build a time series forecasting to predict weather factors such as wind speed and wind direction over a city in India. My input variables are - Timestamp, Wind speed, Wind Direction, ...
Abhishek Patil's user avatar
0 votes
0 answers
6 views

timeseries_dataset_from_array() indexing the data parameter

import numpy as np from tensorflow import keras int_sequence = np.arange(10) sequence_length = 3 offset = 1 delay = sequence_length + offset - 1 dummy_dataset = keras.utils....
PythonNewb's user avatar
0 votes
0 answers
31 views

Place tick labels between ticks for time series charts

When plotting a time series, plotting software (like Matplotlib) generally puts the ticks at a specific instant in time. But I find labeling periods or spans of time to be a much more natural way to ...
ShaunH's user avatar
  • 45
0 votes
0 answers
6 views

Time Series dataset preparation

I am a bit confused with the time series dataset preparation. From the internet, I saw all examples which used tree-based models, had input features and target defined as: X = df.drop(['target'], axis=...
kg__'s user avatar
  • 69
0 votes
0 answers
27 views

Time series in R - Can't calculate weekly returns with different day as a reference

I'm learning time series in R. I can't calculate weekly returns with specified days as a closing date. The problem is in slicing but I'm able to find the solution. The syntax is as follows: library(...
ronzenith's user avatar
  • 385
0 votes
1 answer
11 views

How to delete all the data under certain node of Apache IoTDB (normal command did not work)?

Please tell me how to delete all the data of a node in Apache IoTDB. For example I have three time series: root.ln.wf01, root.ln.wf02, root.ln.wf03, and I want to delete all the data of root.ln.wf03. ...
Hester Tso's user avatar

1
2 3 4 5
307