# Questions tagged [univariate]

Pertaining to a single variable. Univariate statistics deal with only one variable - e.g. the mean, standard deviation, range etc. Univariate distributions involve only one variable e.g. the univariate normal, uniform etc. distributions.

159 questions
Filter by
Sorted by
Tagged with
18 views

### Multiple Univariate regression (lm) using a for loop but problem with missing values. (Using R studio) [closed]

I want to execute this code that work well when there is no missing values : ...
23 views

### Correcting p-values when accounting for age and sex in a study where the main objective is to find differences between disease/control

So I analyzed my metabolomics data using Mann Whitney U tests and OPLS-DA. My data is super small, with the control group only having 5 samples and the other groups having 10 and 14 samples ...
33 views

### Anomaly Detection in Multivariate and Univariate timeseries

I just started exploring Anomaly detection in timeseries for Univariate, Multivariate timeseries. I read few articles about it, few research papers as well. But every article/research paper has ...
40 views

### Univariate vs. Multivariate Standardization

There are several common methods for scaling input features to machine learning models prior to training the model. The most popular methods seem to be standardization (centering by the mean and ...
48 views

### How to classify univariate time series data in real-time? [closed]

I have a robotic arm doing three different tasks, each task is colored differently as seen below. Data correspond to a Z-axis of the gyroscope sensor. The idea is to detect anomalies. However, I need ...
26 views

### How to implement Girardi & Ergun's (2013) three-step multivariate GARCH estimation of CoVaR in R?

I'm trying to calculate multivariate GARCH estimation of conditional value-at-risk, by adopting a three-step model from Girardi & Ergun (2013) paper entitled "Systemic risk measurement: ...
24 views

### what R function can be used to fit an additional MA term at lag 3 to my ARIMA model?

I want to fit an ARIMA(1,1,0)(0,1,1) with drift, with an additionnal MA at lag 3 as when I have fitted an ARIMA(1,1,0)(0,1,1) with drift model, I have seen there was still autocorrelation in ...
45 views

### Selecting optimal lag values for Neural Network in univariate time series forecasting - How many lags to use as input variables?

What is the recommended approach for selecting lag values in a univariate time series forecasting problem, specifically for input variables in a feedforward neural network (FFNN)? In my research ...
16 views

### How to stationarise a univariate time series in R when auto.arima gives a model to fit that doesn't stationarise it? [closed]

I am currently working on a univariate time series that I try to modelize (following the Box-Jenkins methodology, I try to identify the model before I estimate it, using correlograms, in order to ...
40 views

### Expected value of $R^2$ for univariate regression [duplicate]

I'm trying to solve the following: Given a standard one-variable linear regression model $$y = \beta_1 x + \beta_0 + \epsilon$$ where $\beta_1, \beta_0\in\mathbb{R}$ and $\epsilon\sim N(0, \sigma^2)$ ...
28 views

### What is the relationship between walk_forward_validation (WFV)/series_to_supervised (STS) with Direct/Recursive multi-step forecasting & Backtesting

I'm experimenting with univariate time series using the following approaches that suit time-series analytics in order to transform the data in a way that the inputs to the model are the targets of ...
1 vote
71 views

### How to apply the Box-Cox transformation to a univariate time series in R?

I have tried to follow the steps indicated on this page and it doesn't work as it doesn't identify the function "recipe" (which I fail to understand anyways...). I am trying to find the best ...
19 views

### Negative RSquare Value but Good View on Chart for RNN Time Series

I'm fairly new on univariate time series forecasting and deep learning. My task is to forecast energy consumption values. May data looks like: I'm usin simple RNN, because I have tested with linear ...
1 vote
35 views

### RMSE of Training data is lower compared to test dataset

First of all, this is not a case of Overfitting. The task is to forecast Temp using univariate Single Step forecasting. I have trained the LSTM model with on jena climate dataset(Dataset https://...
86 views

### Which piece of data should I choose in univariate analysis

What I want is to use univariate analysis to initially identify variables with significant effects for subsequent multivariate analysis.And this is a retrospective study.The data structure is shown in ...
73 views

### Relationship between univariate and multivariate normal distribution

I have a portfolio consisting of N assets with known average historical returns ($r_1$, $r_2$, ...$r_N$) and a known set of weights ($a_1$, $a_2$, ...$a_N$) subject to $\sum_{i=1}^N a_i$ = 1 I am ...
1 vote
63 views

### How do I interpret and plot the interaction from a glm in R?

I am currently trying to analyze the duration of the egg stage of two species of insect (factor 1; 2 levels - HA and AP) at several different temperatures (factor 2: 5 levels - 20, 23, 26, 29, 32). ...
109 views

### Logistic regression feature ranking reliability using bootstrapping [R]

I wish to display the (un)reliability in ranking of variables in an omics dataset in the classification of disease vs healthy. In this case it’s mostly of academic interest, as many use rank-based ...
1 vote
91 views

### When to specify multivariate versus univariate priors on parameters?

Suppose a linear regression model: $$y \sim Normal(\beta X, \sigma)$$ For our purposes, assume $y$ is a univariate outcome and $X$ is a design matrix containing an intercept and one additional ...
25 views

### How many points should be used on time series linear regression if the time series has rapid changing trends

I am studying a time series that has no seasonal patterns and no overall trend. The trend changes rapidly over time and I want to fit a linear regression model to some windows of the series to make ...
649 views

### Why does univariate Mahalanobis distance not match z-score?

I am using Mahalanobis distance for outlier detection. Sometimes my dataset only has 1 feature, sometimes many more. I believe the univariate Mahalanobis distance should be equal to the z-score of the ...
683 views

### Non-Continuous Time Series Forecasting

I have the following time series that contains the past 12 months data as well as data for the 24th month:- ...
1 vote
1k views

### CNN-LSTM or LSTM better for univariate Time series forecasting?

I am working with simulated univariate sequential data and the goal is to forecast that data. I was wondering which model CNN-LSTM or LSTM is better for predicting univariate time series data. Both ...
46 views

### How would you show that there is no difference between three groups?

I'm trying to convey data as such: Unfortunately I have not found a better way than to run a multinomial regression and then show that there at least is no difference between groups A, B and then the ...
130 views

### Univariate vs multivariate GLMs for inferring covariate-response relationships with no interactions

I understand that multivariate GLMs/multiple regression are valuable for predicting responses for observations with multiple covariates and for inferring interactive effects of different combinations ...
87 views

### Univariate after stepwise regression?

My aim is to understand and describe the effect that independent variables (ordered and unordered factors and continuous) have on a continuous dependent variable. First, I thought about using a ...
138 views

### Joint density and univariate time series models

Is the picture below an example of univariate time series model since I am observing the same random variable just at different time points? Can joint density be used to explain univariate time series ...
1 vote
85 views

### Under what conditions does univariate variable prescreening fail? (random forest modeling)

Univariate statistical methods are often used to prescreen variables for possible inclusion in a model. For example, running random forests (RF) with only a single predictor at a time to prescreen ...
31 views

### Survival analysis - univariable and multivariable regression [duplicate]

I am running an analysis of various factors that determine whether an individual is likely to have an event. My outcome is binary (0 vs 1), and my explicative variables can be both quantitative or ...
213 views

### how to quantify the strength of trend in univariate time series data?

I have data that looks something like this: ...
271 views

### How to handle missing data in the univariate analysis

Can someone please advise me on how to handle missing data in a univariate analysis (e.g. t-test, chi-squared test)? Given that multiple imputation techniques (MICE package) are for multivariate ...
1 vote
28 views

### How does aggregation across time bring about feedback?

On page 11 Pankratz says: "Sometimes there is sound theoretical reasoning in favor of a one-way relationship from the inputs to the output (no feedback). But even then it is important to have a ...
2k views

### Regression not significant on univariate but significant when adding controls

I have a data on job type (i.e. dummy variable 1 if bad job and 0 if good job) and amount of debt individuals hold before finding a job. I ran a regression of job type on debt level, and I did not get ...
416 views

### Can a (possibly infinite) mixture of Gaussians be Gaussian?

Suppose we define a (possibly infinite) mixture of zero-mean Gaussians: $$p(x) = \int_{\mathbb{R}^+} N(x; 0, \sigma^2)\ \pi(\sigma)\,\text d\sigma,$$ where $\pi$ defines the mixture components. ...
309 views

### How to establish a standardized score for non-normal/long-tail distribution

Apologies if this is an elementary question. My rusty high school understanding of statistics has left me a bit lost to the following problem. Essentially, I have several long-tail distributions of ...
1 vote
253 views

### Is this an example of a univariate analysis?

Nonstatistician needs help with terms. Is the following an example of a univariate analysis?: Chances of getting a job at Microsoft with respect to demographic variables such as age, gender, race, etc....
3k views

### Rolling vs Recursive vs Fixed Window Regression

What precisely are the differences between rolling, recursive and fixed window regression? As far as I understand, recursive: we train on a period $y(0)$ to $y(n)$ then predict $\hat{y}(n+1)$. Then ...
47 views

1 vote
152 views

### forecasting with optimised theta method (otm) using time series cross validation with R

I want to do an out-of-sample forecast experiment using the optimised theta method (otm) on a time series. Further, time series cross validation with a fixed rolling window size should be applied. ...
1 vote