Questions tagged [robust]
152 questions
2
votes
0 answers
Robust optimization packages in R
I am currently working on Mixed integer linear programming problem and I was wondering if there is any software packages available about Robust Optimization in R.
Thanks in advance.

cananan
- 21
- 2
2
votes
1 answer
Cannot calculate robust standard errors (vcovHC): multicollinearity and NaN error
I have the following dataset:
share <-…

tiago
- 331
- 3
- 11
2
votes
1 answer
R's sandwich package producing strange results for robust standard errors in linear model
I am trying to find heteroskedasticity-robust standard errors in R, and most solutions I find are to use the coeftest and sandwich packages. However, when I use those packages, they seem to produce queer results (they're way too significant). Both…

cgmil
- 410
- 2
- 18
2
votes
0 answers
Portable c++ boost::iterprocess::mutex, an another try
I was looking for long time around to have portable robust solution for multiprocessing synchronization. Who touche this things know that good solution are boost::iterprocess named
sync objects. But ....
When your process have named_mutex locked and…

Ladislav
- 21
- 2
2
votes
1 answer
Outliers with robust regression in R
I am using the lmrob function in R using the robustbase library for robust regression. I would use it as, rob_reg<-lmrob(y~0+.,dat,method="MM",control=a1). When i want to return the summary i use summary(rob_reg) and one thing robust regression do…

Jason Samuels
- 951
- 6
- 22
- 40
2
votes
1 answer
Error computing Robust Standard errors in Panel regression model (plm,R)
I am using the plm library to run fixed effect regressions and the sandwich,lmtest libraries to compute robust standard errors. I have no problem running the regressions, but in some instances when I go to compute the standard errors I get the…

shadowprice
- 617
- 2
- 7
- 14
2
votes
1 answer
How to delete files but not directories via FTP (with TLS encryption) in Perl?
I am currently traversing directories of a bunch of servers using TLS encryption with Net::FTPSSL::Robust. I am wanting to download the files and then delete them as I download. I do NOT want to delete folder names.
Problem is, Robust only has a…

Derek R
- 95
- 1
- 1
- 8
2
votes
1 answer
Using ggplot2 to plot predicted values with robust standard errors
I am trying to use ggplot2 to plot the predicted values of negative binomial regression, one with a binary variable turned on, and another with it turned off. So there will be two two plots that can be compared.
The link here demonstrates how to do…

exl
- 1,743
- 2
- 18
- 27
1
vote
3 answers
Some problems about the mexLasso function
I am a student who is envolving in a research about robust visual tracking.
And these days ,I had met a problem in my study.
The teacher gave me a project of matlab code about the research, when I try to run this code, and the program error is…

ioxxxoi
- 11
- 3
1
vote
0 answers
Lmrob returning infinity for t-value of the parameter incorrectly
I have time series with outliers, and I want to get a robust estimate of the trend and its t-value. For that I use lmrob, which works fine in most cases. However, in some cases, it returns -inf for the t-value (due to an error which is 0), and I get…

Tom
- 31
- 4
1
vote
1 answer
Variable in a function is not used as the value
I am using the package robust.arima in R, which works fine when I call it in a script. However, I want to organize my files and therefore call robust arima in a function. Here all of a sudden the variable is not found. Let me give an example
# Works…

Tom
- 31
- 4
1
vote
0 answers
Manually calculate robust standard errors of 2SLS regression
I used the "systemfit" function in R to estimate a 2SLS model as it allows to specify the first and second stage separately which is important for my estimation. I need robust standard errors but I am having problems replicating the robust standard…

JJ1214
- 31
- 2
1
vote
0 answers
automatic selection of lag order in robust arima R always returns maximum number of AR lags
I am using library robustarima, which has an option auto.ar=TRUE. According to the description and the book (https://onlinelibrary-wiley-com.eur.idm.oclc.org/doi/pdf/10.1002/9781119214656 chapter 8 page 322) this function should return the…

Tom
- 31
- 4
1
vote
1 answer
Extract residuals from heteroskedasticity robust standard model (lm_robust())
I need to extract residuals from a model in R where I have used
lm_robust(XS1 ~ rmrf + smb + hml + umd, data=df)
Does anybody know how to do it, please?
The use of residuals(), resid(), rstandard() don't work with this function.

Gabriel Guevara
- 21
- 2
1
vote
0 answers
Summary from Statsmodels after rlm_model not matching the norm that was used
I am using the below code to perform a TukeyBiweight(Bisquare) Robust linear Model Regression of data X and y.
from sklearn import datasets, linear_model
from sklearn.metrics import mean_squared_error, r2_score
import statsmodels.api as sm
X =…

Avi Kanakam
- 21
- 1