Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
32 views

Fitting a Nonlinear Mixed Model

I’m trying to fit a nonLinear Mixed Model (nLMM) to test whether the abundance of certain organisms was affected by the sampling period after an event that caused a significant increase. The data show ...
Pablo's user avatar
  • 33
1 vote
0 answers
34 views

Preprocessing and model selection strategies

I am working on a fault detection problem where each sample is a time series labeled with a specific type of fault. I am using a CNN model and a validation set for hyperparameter tuning. Currently, I ...
S.H.W's user avatar
  • 77
1 vote
1 answer
30 views

Identifying Poorly Forecastable Time Series Using tsfeatures

I am working on a problem involving the identification of poorly forecastable time series using features extracted with the tsfeatures library by Rob J. Hyndman. Below are the key details about my ...
Leon Vallender's user avatar
2 votes
1 answer
42 views

Why can't a non-stationary AR process be represented as an infinite MA process? [duplicate]

Consider the AR(1) process. If $|\phi|<1$, the process is stationary, and we can express the series as $$ Y_t = \epsilon_t + \phi\epsilon_{t-1} + \phi^2\epsilon_{t-2} + \phi^3\epsilon_{t-3} + \...
Tosh's user avatar
  • 121
0 votes
1 answer
36 views

Best parameter of exponential smoothing when applied on a random walk

Let's say I have a random walk: $$X_t = X_0 + \sum_{i =1}^t \epsilon_i$$ with the $\epsilon_i \sim \mathcal{N}(0, \sigma^2)$ and independent. Then what smoothing factor $\alpha$ in an exponential ...
ddddqdxqfq's user avatar
1 vote
0 answers
20 views

Regression models that depend on outputs of other regression models

There is a milk factory with the following variables available at the weekly level (i.e. data at the end of each week) and orders are finished on a first in first out basis: total incoming orders (...
urnproblems's user avatar
1 vote
2 answers
30 views

Should I conduct a multilevel for this or another analysis? Need help

I have three sources of data (teachers, parents and students) assessing students, in three waves. I want to assess all and see the differences between moments but then I also want to use variables for ...
Margarida Santos's user avatar
0 votes
0 answers
14 views

Determining how much timeseries relationships are driven by periodicity versus date relationships?

Given three timeseries of monthly data all ending at 11/30/2024 (A beginning at 12/31/2023, B beginning at 3/31/2024, and C beginning at 9/30/2024), one could present the timeseries as 1) aligned on ...
slothish1's user avatar
0 votes
0 answers
16 views

How to aggregate daily sales data to weekly for thousands of products? [closed]

I have a dataset with daily sales and prices of three thousand products for 5 years and three stores. I want to visualize price and sales trends during weeks of a year. I was thinking of creating a ...
Tim George's user avatar
0 votes
0 answers
21 views

Clarifications on Hurst Exponent Definitions and Persistence Properties

I have a question regarding the Hurst exponent that I hope someone here can help clarify. It is well known that there are different definitions of the Hurst exponent, but finding clear connections or ...
yalmajid's user avatar
0 votes
0 answers
24 views

Difficulty in Deriving a Estimator Using Survey Means from Individual Forecasts

I would like to clarify a doubt regarding the paper Testing the Rationality of Price Forecasts: New Evidence from Panel Data (by MICHAEL P. KEANE AND DAVID E. RUNKLE) that presents an estimator ...
user346624's user avatar
-1 votes
0 answers
8 views

what happens when a network has low closeness centrality - what happens to nodes on the periphery [closed]

I have thirty-nine nodes with closeness centrality scores but I do not know what to say about the nodes on the periphery who do not have scores.
user451331's user avatar
3 votes
1 answer
46 views

Calculate marginal effects for random effects model with two crossed random effects

I am trying to get effects marginal of two crossed random effects (using STAN or brms). I understand how to do it for a single random effect following McElreath's book and Kurtz's brms version of the ...
Christopher Rounds's user avatar
0 votes
0 answers
25 views

AIC from sarima vs arima functions in R

I am doing a report of time series, and while analyzing the time series in R, I noticed the using the sarima function ...
Ana Branco's user avatar
4 votes
2 answers
41 views

Accounting for non-independence and autocorrelation in HGAM

I am currently trying to fit a HGAM to model differences in daily activity patterns of fish in two treatments. Data were collected with high-resolution telemetry, and I currently have estimates of ...
Jack B's user avatar
  • 105
2 votes
3 answers
41 views

Testing forecasting accuracy - outliers [ with example]

I have a simple model that produces forecast values. The model works on hourly data. Now, I am only interested in observations with flags. I would like to identify where the forecasts are ...
Lohengrin's user avatar
0 votes
0 answers
22 views

Derive gamma-parameters from preset R^2 in mixed models

For a simulation study in R, I want to select the effect sizes according to a preset $R^2$. Consider this two level random intercept mixed model, with one L1 predictor $X_{ij}$ and one L2 predictor $...
Linus's user avatar
  • 153
0 votes
0 answers
7 views

How should I input and output feature and target timeseries to timeseries transformer

I am trying out PatchTST timeseries transformer (paper, code) on a timeseries data that I have. The way PatchTST handles data is as follows: Note that on line 78-79, the repo does following: ...
Mahesha999's user avatar
0 votes
0 answers
18 views

ACF Diagnostic for Shifted Distribution Univariate Time Series Data

I have these 1920 observations with shifted distribution. For some reasons I want to use all of observations for time series modeling but I have difficulty in reading the ACF plot. I need detail ...
Aulia Rahman's user avatar
4 votes
1 answer
126 views

How to approach time series forecasting

I am working on a time series forecasting problem involving high-frequency data (hourly or every 10-15 minutes), such as energy consumption or other IoT device metrics. My goal is to predict the ...
pato's user avatar
  • 83
0 votes
0 answers
9 views

Extracting individual level posterior class memebership probabilities in multilevel LCA

I am conducting a multilevel laten class analysis using the R package multilevLCA. I have fitted the model using multiple steps (i.e. determining optimal number of classes as well as clusters). I now ...
Simon's user avatar
  • 1
3 votes
1 answer
98 views

How to calculate autocorrelation manually

I was taught the autocorrelation in a time-series at lag $k$ is the correlation between all pairs of values separated by this lag. Suppose I want to give it a go and calculate it manually for lag 1. ...
Mihail's user avatar
  • 572
1 vote
1 answer
21 views

Ecological temporal statistical analysis question

I collected animal samples without replacement over three time periods from the same locality: seven years apart in the deep-sea (eg, no known seasonality). I want to know whether the mean difference ...
halfaxa's user avatar
  • 11
0 votes
0 answers
19 views

Difference between Rho and Tau statistics in ADF test

I need to check several interest rate time series for stationarity with ADF test, lag = 2. SAS output generates three types of test statistics: Rho, Tau and F. for three types of test (Trend, Single ...
RVD's user avatar
  • 1
3 votes
1 answer
48 views

How to best forecast a time series showing level changes and square wave kind of behavior with noise

This is AC power data measured at 1 min interval from March-Dec 2019. I want to model the time series but the out of sample forecast is essentially constant. I found the following from EDA: Power is ...
bbt_wb's user avatar
  • 31
6 votes
1 answer
126 views

Is there a way to forecast by subgroup without forecasting each subgroup separately?

I am trying to find an appropriate model to forecast the number of applications received at the end of a recruitment cycle based on previous recruitment cycles and the number of applications received ...
Richard Manser's user avatar
0 votes
0 answers
8 views

Time series - Linear filter model

I was going through the linear-filter-model in Time series. "Linear Filter Model. an observable time series 𝑧𝑡 in which successive values are highly dependent can frequently be regarded as ...
eashwar natarajan's user avatar
0 votes
0 answers
17 views

Unable to Extract Pattern from Data from Multiple Devices with Different Distributions

I have been provided with a data set of measurements on the amperage (the only feature) of 3 different Internet of Things (IoT) devices in the form of time series. Measurements on each device have ...
ExhaustedCProgrammer's user avatar
0 votes
0 answers
18 views

Advise to test if two time series are statistically different

I have two time series of paired data (t1 and t2) of dimensions 1x134, obtained by averaging two matrices of 16x134 elements each. I want to study if these two time series (curves) are statistically ...
Víctor Martínez's user avatar
1 vote
1 answer
27 views

Stationarity Conditions VECM

Suppose we have a vector error correction model (VECM) $$ \Delta y_{t}=\Pi y_{t-1}+\Gamma_{1}\Delta y_{t-1}+\cdot\cdot\cdot+\Gamma_{p-1}\Delta y_{t-p+1}+u_{t} $$ A simple way to confirm that it is a ...
John's user avatar
  • 2,297
2 votes
0 answers
15 views

Forecast optimality for categorical dependent variable

I am familiar with several criteria of forecast optimality for variables on a ratio scale. E.g. Diebold Forecasting in Economics, Business, Finance and Beyond introduces the unforecastability ...
Richard Hardy's user avatar
2 votes
1 answer
33 views

"Strength" of cointegration

In various non-academic articles/posts, I have come across the claim that the magnitude of the first eigenvalue in Johansen's cointegration test for a pair (pairwise test) might indicate the "...
VovaM's user avatar
  • 123
7 votes
0 answers
74 views
+50

Why don't we typically worry about stationarity in panel data models with fixed effects?

Why don't we typically worry about stationarity in panel data models with fixed effects? In time series analysis, stationarity is often a crucial assumption. However, I've noticed that in applied ...
Daycent's user avatar
  • 229
1 vote
0 answers
13 views

Dealing with non-stationary time series in Granger Causality

I am working on determining the Granger Causality of two time series. One thing to note is that for my specific project, I have around 100k time series across two different dimensions, say Product ...
jmoore00's user avatar
  • 391
1 vote
0 answers
50 views

Opposite results using Bayesian (STAN) vs Multilevel model (nlme). How is this possible?

My datasets contains the median wages and the cumulative installed wind-capacity for 4000 counties over a period of 20 years. The wages tend to rise over the period and the capacity tends to highly ...
user442239's user avatar
3 votes
2 answers
208 views

Why are the HAC (Newey-West) standard errors smaller than the ordinary standard errors in my regression? [duplicate]

I used time series to perform a regression, and then I conducted the Breusch-Godfrey (BG) test and the White test. The test results indicated the presence of both autocorrelation and ...
Xu  Yang's user avatar
  • 41
0 votes
0 answers
16 views

Embeddings in time series prediction

Increasingly, I’ve noted that embeddings are used in pure prediction ML tasks. For example, instead of predicting whether user i will purchase item i and thereby adding thousands or millions of inputs ...
jbuddy_13's user avatar
  • 3,520
0 votes
1 answer
20 views

Problems with using ACF and PACF for ARMA modelling

This is the ACF and PACF for my the first difference of my variable $\Delta y_t,$ I used the ADF test, the PP test, the Schmidt Phillips test and the DFGLS test, and got the same result that my ...
alyosha's user avatar
0 votes
0 answers
10 views

Conflicting results in DF and ADF tests

I am conducting unit root tests on the globtemp dataset, which is clearly a series with a trend and some seasonality (not stationary). However, when applying the ...
juliana marchesi's user avatar
2 votes
0 answers
34 views

How Are The Initial Value of Conditional Variance Calculated in rugarch Package?

I am trying to verify the calculations of my zero-mean GARCH(1,1) model using the rugarch library. At first I thought the initial first value of the conditional ...
Nate Muliabanta's user avatar
0 votes
0 answers
18 views

How to Forecast Sales for Sub-Locations Without Historical Proportion Data?

I have a time series dataset of total sales for a product in a store over time. This product is available in two different locations within the store: one stand near the checkout and another stand in ...
Raheshi Knuwga's user avatar
0 votes
0 answers
28 views

LSTM Limitations for Time Series Forecasting

I am working on a project where I generate synthetic data which is the sum of 5 random sine functions sampled every 0.01s (and I add mean reverting brownian motion noise to the data). ...
Arnav Tapadia's user avatar
0 votes
0 answers
22 views

Forecasting Multiple steps of a Multivariate Time Series for ALL Features

I am working on a project where I have 100 multiple time series of length 1-10 minutes (samples every 0.1s). Each time series is a recording of human emotions stored as a vector of 7 features with ...
Arnav Tapadia's user avatar
4 votes
1 answer
42 views

Uncertain serial autocorrelation in GAM count model residuals

I wish to use Generalised Additive Models (GAMs) to smooth count time series and estimate first derivatives, i.e. to identify periods where the counts are increasing, stable or decreasing. I'm using R ...
stweb's user avatar
  • 509
1 vote
0 answers
20 views

Time Series Analysis - AR model

I am new to the subject and trying to learn and equip well into the topic. I got a problem to solve and it only contains the model equation - {Generic AR(N) model} modelled using the equation: v[k] + ...
eashwar natarajan's user avatar
0 votes
0 answers
7 views

How do I account for replicates at the same sites when looking for spatial autocorrelation?

I am trying to examine the effect of spatial patterning/autocorrelation on a response variable at a number of sites distributed unevenly across a landscape (probably using Moran's I) but I'm unsure ...
user23876315's user avatar
0 votes
0 answers
12 views

Data augmentation for Bootstrapping low-variance data

I am working on local block bootstrapping of student right/wrong (0,1) data from an online learning tool. Note. (local block bootstrapping creates moving blocks of responses but sets guardrails on ...
Mary Ann Simpson's user avatar
0 votes
0 answers
14 views

Under which conditions does PCA consistently estimate latent factors in a Dynamic Factor Model?

Consider a dataset of N time series and T observation periods. Assume each series $x_t$ is generated from a single (unobserved) common factor $f_t$ following this model: $$ X_t = \Lambda f_t + \...
NicGeraci's user avatar
1 vote
0 answers
44 views

Creating a non-homogenous queue based on another statistical model?

I have a question on how construct/approximate a statistical queue based on changing parameters. I created/simulated this approximate version of a MMK queue in R: ...
user_436830's user avatar
0 votes
0 answers
24 views

Multilevel Model in R

I have data from a study in which 19 participants (9 males, 10 females) have each completed 4 jumping conditions (BW, 20, 25, 30) whilst I have measured joint level data for the hip, knee and ankle. I ...
teli95's user avatar
  • 1

1
2 3 4 5
327