Questions tagged [mse]

MSE stands for Mean Squared Error. It is a measure of the performance of an estimate or prediction, equal to the mean squared difference between the observed values and the estimated / predicted values.

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

Does increasing number of observations lead to the decreasing of Mean Square Error of consistent estimators?

I know that not all weakly consistent estimators exhibit MSE-consistency : https://stats.stackexchange.com/a/610835/397467. Anyway, does increasing the sample size leads to a reduction in their mean ...
whn's user avatar
  • 1
0 votes
2 answers
52 views

Mean squared error (MSE) vs Least squares error (LSE)

From my understanding the only difference between MSE and LSE is that with MSE you divide the sum of squared errors by the total number of values to get an average rather than just using the sum. This ...
Frobot's user avatar
  • 2,091
3 votes
2 answers
1k views

Can someone help me understand why the MAE, MSE and RMSE scores for my regression model are very low but the R2 is negative?

I am using a random forest regression model to make predictions and leave one out cross validation for my prediction task. I am having a difficult time understanding why my R2 score is negative when ...
Rai's user avatar
  • 33
0 votes
0 answers
9 views

Help needed for interpretation of mtry and MSE calculation for bagging and random forests

I have a question regarding the mtry values for the two models Bagging and Random Forests. I applied the mtry measure for the California Housing Dataset and then for another dataset about white wine. ...
Marie_wue's user avatar
14 votes
3 answers
733 views

Best estimator of the mean of a normal distribution based only on box-plot statistics

Suppose $X_1,\ldots,X_n\sim\operatorname N(\mu,\sigma^2)$ and you can observe only the sample size $n,$ the two extreme values, and the first, second, and third quantiles of the sample. Among unbiased ...
Michael Hardy's user avatar
1 vote
1 answer
19 views

How to combine a noisy (but unbiased) estimate with a precise (but possibly biased) estimate in A/B tests?

Suppose I want to estimate some set of unknown quantities $\theta_1$, …, $\theta_N$. For each $i \in \{1, …, N\}$, I have two estimators: $\hat{\theta_i}_A$ and $ \hat{\theta_i}_B$. The goal is to ...
frelk's user avatar
  • 1,297
1 vote
0 answers
29 views

How should I write the units for MSE in its formula and in a plot axis?

I am trying to write a paper for IEEE and would like to know if for MSE, which can have any units, it correct to write "MSE (error^2)" in its formula (i.e. MSE (error^2) = ) and in a plot ...
Baldovín Cadena Mejía's user avatar
0 votes
1 answer
66 views

How to choose between R2 and MSE scores?

I have a dataset with approximately 2500 observations and 50 variables. The response variable is numerical, so my objective is to build a regression model. I have built one penalized linear regression ...
Alberto Perez Martinez's user avatar
1 vote
0 answers
42 views

Which evaluation metric should I choose? AIC or MSE?

I am currently at a total loss, so I hope someone can point me in the right direction regarding my model selection. The situation I want to create a linear model that best forecasts my data. I am ...
eork's user avatar
  • 53
0 votes
0 answers
4 views

Understanding tensorflow calculation of MSE for output vector of N dimensions

Here is the code example with variable names guiding the process: ...
Mah Neh's user avatar
  • 29
0 votes
0 answers
33 views

How to compare the performance of a volatility forecast like GARCH (1,1) with exogenous variables (MSE?)

I want to investigate, weather financial news have an influence on the volatility prediction of asset returns (daily data) when including them into the variance model/mean model. I have fit a GARCH/...
Jascäcilie's user avatar
0 votes
0 answers
27 views

What is the general procedure to come up with different estimator with smaller MSE?

PDF of a random variable $X$ is, $$ \begin{equation} f\left(x|\gamma\right)= \begin{cases} \frac{1}{\gamma} \exp(-\frac{x}{\gamma}) & x > 0 \\ 0 & \text{otherwise.} \end{cases} \end{...
N00BMaster's user avatar
1 vote
0 answers
127 views

Mean Squared Error (MSE) formula for data points in higher dimensions

The form for MSE for $N$ data points with scalar values $Y=[Y_1,Y_2,...,Y_N]$ is given by the formula: $$ MSE = \frac{1}{N} \sum_{i=1}^N (Y_i - \hat{Y}_i)^2 $$ How I see it, $ d_i = Y_i - \hat{Y}_i$, ...
Aditya's user avatar
  • 13
2 votes
0 answers
337 views

Gaussian Negative log likelihood loss vs MSE

I'm training a neural network on a regression problem. I wanted to compare between (1) Gaussian negative log likelihood (GNLL) loss (the output of the network is the mean and log variance) and (2) the ...
Eman.suradi's user avatar
1 vote
1 answer
79 views

Why can LASSO MAE be worse than individual feature linear regression MAE?

I am comparing the MAE of LASSO regression of multiple features vs. MAE of linear regression of each individual feature, and I am having trouble understanding why the LASSO MAE can be worse than some ...
Anna's user avatar
  • 11
-2 votes
1 answer
51 views

What does the error in artificial neural network stand for, is the same with mean square error (MSE) [closed]

How do I calculate mean square error (MSE) from the error obtained from ANN output
Chris's user avatar
  • 1
0 votes
0 answers
10 views

Pairwise comparison test for out-of-sample MSEs

In order to compare the out-of-sample forecasting accuracy of two competing models, I am trying to implement the equal accuracy test proposed in this article: http://www.timberlake-consultancy.com/...
Residual Claimant 's user avatar
1 vote
0 answers
17 views

If the most likely value is that which minimizes squared-error, what are the possible distributions?

Gauss uniquely characterised the 1D normal distribution by asking for a distribution that: is symmetric is decreasing on either side of some center point $\mu$ has the data likelihood maximized by ...
Kevin's user avatar
  • 121
3 votes
1 answer
60 views

In the problem of best linear predictor, why is $E(XX')$ positive definite equivalent to $E(XX')$ being invertible?

I came across the following statement in a textbook when discussing the classic best linear predictor problem in statistics. It says $E[XX']$ being positive definite is equivalent to it being ...
ExcitedSnail's user avatar
  • 2,516
0 votes
0 answers
227 views

Variational Autoencoder - What's the best way to output and which loss function? [duplicate]

I'm hoping this is the right place to ask. I'm new to deep learning and especially variational NNs. I'm trying to create a VAE using tensorflow/tensorflow_probability which can recreate a gaussian ...
Chris's user avatar
  • 1
0 votes
0 answers
17 views

Optimal kernel regression with random target functions

The classic kernel regression problem fixes a target function $f^*$ that we seek to learn, and says that for a dataset/observations $D = \{x_i, y_i\}_{i=1}^n$ where $y(x) = f^*(x) + \epsilon$, for ...
Tanishq Kumar's user avatar
1 vote
0 answers
66 views

Numerical Stability of Transformer Training

I am trying to train a Transformer for sequence model, specifically for time series denoising. I have observed that the loss function (MSE) has been significantly improved during the evaluation which ...
chen shao's user avatar
1 vote
1 answer
45 views

How do you interpret the value of RMSE/MSE in English to stakeholders?

For example, if you have a R^2 of 0.95, you can explain this number to stakeholders in a presentation as: Our model explains 95% of the total variance within the data. However, if we have a RMSE of 11,...
Katsu's user avatar
  • 704
0 votes
0 answers
40 views

How to compare Predictive Power of Models, why will some models work better than others?

for an assignment, I am doing a regression problem on this dataset: https://archive.ics.uci.edu/ml/datasets/Online+News+Popularity, where I need to run Multiple linear regression, Forward stepwise, ...
John Smith's user avatar
2 votes
1 answer
148 views

GLM: Sigmoid link with MSE for linear regression?

I have a relatively simple regression problem where I wanted to model y given x. X is continuous and is bounded [0,inf); y is bounded (0,1). My question is, is it appropriate for me to insert a ...
jbuddy_13's user avatar
  • 2,377
3 votes
1 answer
45 views

Ideas for a loss function to use for a cost sensitive problem setting?

I have trained a model to perform regression on a dataset with MSE as its loss function. The y_real values are between 0 and 1.5 and MSE of test set is around 0.009 which if fine. However, the ...
Maz's user avatar
  • 33
0 votes
0 answers
108 views

Comparison of RMSE (root mean squared error) values

I want to see if my models work better univariate or multiple. But how can I do this? Normally I train the model, calculate the RMSE/MSE on the test data and compare these values. Now I trained the ...
Sally's user avatar
  • 21
1 vote
1 answer
138 views

Equivalent of $E[(a-X)^2] = E[(a-E(X))^2] + Var(X)$ for $E[|a-X|]$ and $med(X)$?

The minimzer of the MSE $E[(a-X)^2]$ is $a=E(X)$, and the MSE can be decomposed into $E[(a-X)^2] = E[(a-E(X))^2] + Var(X)$. I am wondering whether there exists a similar expression th MAE $E[|a-X|]$ ...
FZS's user avatar
  • 385
1 vote
2 answers
60 views

Does the average of a random sample minimizes MSE when you "know nothing about the distribution"?

Consider any random variable $X$ and any random sample $(X_1,\dots, X_n)$ such that $X_i \sim X$. As is well-known, $E(X)$ is the constant that minimizes the MSE of $X$, i.e., $E(X) = \arg\min_a E[(a-...
FZS's user avatar
  • 385
1 vote
0 answers
160 views

MSE or RSE, and how to interpret each?

I'm on page 69 of ISLR 2nd Edition. I've created a linear regression modeled after the toy dataset in the book, where we predict number of unit sales given a particular TV advertising budget. Here are ...
Katsu's user avatar
  • 704
9 votes
1 answer
270 views

Expectation as a minimizer of the loss function

It is a well-known fact that the minimizer of the mean-squared loss (MSE) $$\min\limits_\mu \mathbb{E}_{X} \left(X - \mu \right)^2$$ equals the expectation of $X$. Are there any alternative non-...
Denis  Korzhenkov's user avatar
0 votes
0 answers
14 views

Choosing the best hyperparameter combination from a fluctuating MSE vs Epoch graph

I have chosen five hyperparameters and a total of 216 combinations to search the best one in a regression task. When I draw the MSE vs Epoch graph on the validation data, it improves with increasing ...
MM Khan's user avatar
  • 115
1 vote
1 answer
170 views

Why mean squared error surface takes bowl shape

I was trying to understand geometric interpretation of regularization and came across following statement here: $$\text{Mean Square Error}\; E(y,\hat{y})=\frac{1}{n}\lVert\hat{y}-y\rVert^2$$ $$=\frac{...
Mahesha999's user avatar
0 votes
0 answers
51 views

MSE for multivariate case

This is very basic, but I want to clarify the MSE in a vector-valued setting. Given observations $$ \begin{bmatrix} [x_1, y_1,z_1] \\ \vdots \\ [x_n, y_n,z_n] \end{bmatrix} $$ And estimations $$ \...
oliverjones's user avatar
2 votes
1 answer
106 views

The Monte Carlo of the mean square error of the maximum likelihood estimates

I try to get mean square error of the maximum likelihood estimators in R (using Monte Carlo). I can write the calculation for the MLE that is repeated once, but I need to repeat the Monte Carlo ...
Hermi's user avatar
  • 647
0 votes
1 answer
74 views

RMSE for model-selection

Can I use RMSE,r2 or other metric to compare models of different datasets and variables? And if I have the same dataset but different variables?
Valt Yo's user avatar
  • 51
1 vote
0 answers
23 views

How to choose a predictive model between MSE and graphical plot (observed against predicted value)?

After regularisation with Lasso and Ridge, I currently have a model under each, taking MSE values as shown below, MSE, Ridge = 0.1923102 MSE, Lasso = 0.1292252 Both models have the same number of ...
scooch's user avatar
  • 11
1 vote
0 answers
64 views

Polynomial regression has good Mean Squared Error but poor prediction on unseen data [closed]

In a dataset, the unseen target value is 2500000000. In a polynomial regression with degrees from 1 through 7, I have the following results: ...
PS Nayak's user avatar
  • 169
0 votes
0 answers
8 views

Maximum likelihood estimation - effect of reducing the number of data rows (by averaging)

Say I want to estimate $\overline x$ given matrix $A$ and $\overline y$ and assume $\overline \epsilon \sim N(0,\sigma^2 I)$: $$\overline y = A \overline x + \overline\epsilon$$ I want to study the ...
Surzilla's user avatar
  • 101
0 votes
0 answers
11 views

How to perform crossvalidation for regression on 100 time series and one hyperparameter?

I want to find the best hyperparameter $\lambda$ for a penalized linear regression. For the regression I use 100 time series with random starting conditions (derived from simulation). 80% of the date ...
Timo's user avatar
  • 11
1 vote
1 answer
234 views

How error derivative becomes zero in gradient descent

Previous questions this & this does not answer my question Code ...
F.C. Akhi's user avatar
  • 667
1 vote
0 answers
47 views

Problem in showing $\rm MSE = Var + Bias^2.$ [duplicate]

I am trying to prove the equality of $$\rm MSE(\langle I\rangle)=Var(\langle I \rangle)+Bias(\langle I \rangle)^2$$ but obviously I got something wrong as they don't equal in my calculation: So here ...
ali's user avatar
  • 143
0 votes
1 answer
64 views

Can there be any situations where MLE performs better than MPS in terms of MSE or Bias?

Cheng and Amin (1983) proposed the maximum product of spacing estimation method as an alternative to maximum likelihood estimation. They stated that MPS behaves better in small sample cases than MLE ...
DevD's user avatar
  • 93
3 votes
1 answer
51 views

Confused on the definition of Residual standard error

I am confusing with the actuarial text book. It said the residual standard error is s =RSS/(n-2), why it is not $\sqrt{\frac{RSS}{n-2}}$? And also, what is the difference between the MSE and RSS, ...
Liu Zhou's user avatar
1 vote
0 answers
21 views

Foreacast Combinations: derivation of minimum MSE / variance approach

I am just despairing of the derivation of the minimum variance procedure. The method of the combination of forecasts was first established in 1969 by Bates and Granger. They also invented the minimum ...
witnes-real's user avatar
1 vote
1 answer
1k views

How to interpret MSE, RMSE and MAE

I understand in general MSE, RMSE and MAE means average distance between the actual and predicted value, and the lower the MSE, RMSE and MAE, the better the model fits the dataset. I try to understand ...
user032020's user avatar
4 votes
1 answer
344 views

Backpropagation in mini-batch stochastic gradient descent with mean squared error loss

Suppose I have an ANN which has one input layer of size $128$, one hidden layer of size $64$ and one output layer of size $10$ for a classification problem. Let's assume we have a training sample of $...
harlem's user avatar
  • 143
0 votes
1 answer
25 views

Which factor should I consider to choose the best model, stationarity or lowest MSE?

Recently, I did a project where I modelled a dataset of Gold price. I used ARIMA(1,1,1) and ARIMA(2,2,3) to model the data. The results that I get was ARIMA(1,1,1) was not stationary but the MSE value ...
Akmal Irfan's user avatar
4 votes
2 answers
2k views

MAE vs MSE for Linear regression

Several articles says that MAE is robust to outliers but MSE is not and MSE can hamper the model if errors are too huge. My question is that MSE and MAE both are error matrices, our priority is to ...
Parth Sharma's user avatar
1 vote
0 answers
73 views

Is the use of approximate MSEs of seperate and combined ratio estimators apt for small sample sizes?

The problem below is from Cochran's Sampling Techniques, chapter 6, titled Ratio Estimators: The following data are for a small artificial population with $N= 8$ and two strata of equal size. $ \...
User1865345's user avatar
  • 6,327

1
2 3 4 5
9