Questions tagged [error-message]

Refers to errors generated by a computer program or a statistical package. Make sure your question is related to STATISTICS, MACHINE LEARNING, or DATA ANALYSIS and is not solely about programming, support, or bugs. Include additional tags referring to the statistical issues involved.

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

How to get betamultiplier to work for MaxEnt Variable Selection? [closed]

I've been using the package MaxEnt Variable Selection in R, and need to set a betamultipler for the variable selection process. I've scoured online to see if I'm missing a package or if there is an ...
user avatar
1 vote
0 answers
21 views

Optimal truncation in SVD

I am working with SVD on a matrix $$Y_{m,n} = T_{m,m} \Sigma D^T_{n,n} $$ where $T$ and $D$ describe the row and the column entities of Y, respectively. The truncated SVD takes the first $r$ ...
user avatar
0 votes
0 answers
11 views

Multilevel modeling, null model, R problem: very large eigenvalues

I found a problem when running the null model of my multilevel modeling in Rstudio. This is the error message that I receive ...
user avatar
1 vote
0 answers
14 views

Problem fitting quadratic model in 'dosresmeta' package due to error regarding "leading minor"

I am trying to use the doresmeta package in R to evaluate the dose-response relationship between supplemental intake of a micronutrient and risk of a disease. When ...
user avatar
0 votes
0 answers
11 views

Warning: "Intersecting linear/additive predictors" when fitting non-proportional odds ordinal regression model with VGLM()

I am fitting a partial proportional odds cumulative logit ordinal regression model. Response is an ordinal diagnosis, predictors are two urinary biomarkers. I fit the model using the following command:...
user avatar
0 votes
0 answers
13 views

GLMM: X=Non integer warnings for power estimation

For starters I am both new to R and out of practice for statistics. I am going to run an experiment where participants answer a survey every day for a week, and I want to figure out the sample size I ...
user avatar
0 votes
0 answers
39 views

Error Message with Mcar Test

I am trying to run a Mcar test in R-Studio on my dataset to test if the missing values in my data are missing at random. I am using the mcar_test function from the Naniar package. My missing values ...
user avatar
  • 1
1 vote
0 answers
34 views

Error when forecasting volatility with GARCH model in R [closed]

I am trying to forecast volatility on four different time series which is returns of SP500, Nasdaq 100, Dow Jones and Russel 2000. the four time series consists of 3259 observation and is divided into ...
user avatar
  • 11
0 votes
1 answer
24 views

How to fit VAR after differencing (Error:NA in y)?

I want to run VAR model by using vars::VAR. Since my X1 was not stationary, I differenced it by diff(data$X1), then got a data ...
user avatar
1 vote
1 answer
41 views

Trying to fit a Latent Growth Model in R and I get the error " Could not compute standard errors! The information matrix could not be inverted."

I know that there are several other posts dealing with this same issue but I still can't seem to figure out why my model isn't working. I don't believe it is under identified because it is a fairly ...
user avatar
0 votes
0 answers
31 views

Unusual model convergence problem with glmmTMB function

I had an unexpected problem while using glmmTMB function. I have three fixed effects in my model. One fixed effect is a categorical variable with 8 levels. These levels are: 'upper', 'upperright', '...
user avatar
0 votes
0 answers
49 views

Error in forecasting using ARIMA with multiple regressors

I'm trying to do a multivariate time series forecasting using dynamic regression. The data was collected for 148 weeks with two main variables- Shipment Qty(dependent variable) and Net.Production.Qty(...
user avatar
0 votes
1 answer
42 views

Error in auto.arima with seasonal dummy variables [closed]

I have a monthly data set for 15 years. I tried to apply SARIMA model on it. However, thanks to the comments here, I realized that it has deterministic seasonality. So I add seasonal dummy variables (...
user avatar
  • 49
2 votes
1 answer
68 views

Parameter 'C' cannot be optimized for 'nu-svr'? mlr3 with kernlab

I am trying to optimize an SVR model within the mlr3 ecosystem with the kernlab package and I am getting the following error: The parameter 'C' can only be set if ...
user avatar
0 votes
1 answer
33 views

Make Farm as a random effect in my model I am given Error: number of levels of each grouping factor must be < number of observations (problems: Farm)

I run ModelOne <- lm(OneMilkProd~ RobotsPen+FreshGroup+RobotFeeds+LiquidFeed, data = FarmAVG) but was suggested to include farm as a random effect. There is 1 farm per OneMilkProd, and each farm ...
user avatar
0 votes
0 answers
15 views

'fam.link.mer' error while estimating modavgShrink across glmer models

I encounter the following error trying to calculate model-averaged parameter estimates across a set of GLMM models using the AICmodavg package version 2.3.1. in RStudio(version1.2.5) ERROR: Error in ...
user avatar
2 votes
2 answers
76 views

How to plot a binomial GLM with a three way interaction?

I have the following model: all.fit <- glm(Presence/Total~Season*ToD*Site, family = binomial, weights = Total, data = all.dt) ...
user avatar
1 vote
0 answers
64 views

Difficulties reproducing an R-blogger's example of modelling dependency with copulas

This is the R-bloggers article in which a t-distribution copula (?) is fitted to explain the dependency between fluctuations in two stocks tickers. I don't understand what they are trying to achieve, ...
user avatar
2 votes
0 answers
108 views

Stata: testing for serial correlation in residuals of fixed effects model (xtqptest on reghdfe)

I want to test for first order serial correlation in the residuals of this Stata regression model: ...
user avatar
1 vote
0 answers
37 views

MSGARCH fitting doesn't work for the specific part of the data

I'm trying to do rolling (expanding) window forecast with MSGARCH and the model is failing for very specific $i$. For example I get error for $i=14$ and $i=30$. Data is snp500 returns data between ...
user avatar
1 vote
0 answers
443 views

ARMA GARCH not converging (rugarch)

I am running an ARMA (1,1) Garch (1,1) model on some log return stock data. I am interested in backtesting this model on every day and using a rolling window of size 300. Whenever I attempt to do this ...
user avatar
  • 159
0 votes
1 answer
370 views

Random Forest Error: Type of Predictors in new Data do not match training set [closed]

I am new learner with random forest and I am trying to run a code for predicting new variables. I did a test with Iris data (https://archive.ics.uci.edu/ml/datasets/Iris) using this code: ...
user avatar
  • 3
1 vote
0 answers
211 views

Error in friedman.test.default(c(3.7005, 1.3212, 2.0572, 1.8833, 0.4539, : not an unreplicated complete block design [closed]

I have a non-parametric data and would like to run Friedman Test. Here is my code: res <- data_copy %>% friedman_test( ten ~ res | order) res However, I got ...
user avatar
  • 11
2 votes
0 answers
46 views

Adding interaction term with multiple variables in gamm4?

I am using gamm4 model from R package gamm4 (random slope=age_m, random intercept=FLEHS_ID and groupdescription): m1 I only look ...
user avatar
0 votes
1 answer
1k views

Problem with user-written function: "Error in shapiro.test(a) : is.numeric(x) is not TRUE" [closed]

Dear StackExchange community, I am trying to write a function to automate some normality-checks. Here is my try (automates Shapiro-Wilk test, histogram and Q-Q plot creation ): ...
user avatar
0 votes
1 answer
508 views

dbinom(x, N, phat) in R returns "NaNs produced". How can I solve this?

Hope I find you well, and happy new year! I have a little problem with R. I just started using it for university and I'm trying to find the binomial distribution law using the CL column of the crabs ...
user avatar
2 votes
1 answer
328 views

Incidence rate ratio after negative binomial results in R

I am trying to calculate the incidence rate ratio of my negative binomial model. After running my negative binomial regression model, I use exp(Mymodel) in order to ...
user avatar
  • 63
0 votes
1 answer
110 views

Interaction Plot error: The lines do not meet

Hello I wanted to develop an alternative regression equation just to prove that my first regression equation is a better fit. I want to show the possibility that my independent variables my be ...
user avatar
2 votes
0 answers
190 views

Warning message after running emmeans in R

I was doing a tukey-adjusted comparison among 3 levels of a factor (“Factor B”) using the emmeans() function in R and got the following warning: ...
user avatar
  • 31
4 votes
2 answers
1k views

Why is betareg() giving "invalid dependent variable" error?

I am trying to run a beta regression using the betareg package and I am using the following script: ...
user avatar
  • 673
1 vote
0 answers
1k views

How to generate a ROC curve from ground truth and predictions (in R package pROC)?

I've trained several machine learning models (GLM, SVM, random forest) in R to perform binary classification (predicting the presence of gallstones) and plotted ROC curves/computed AUC using the pROC ...
user avatar
1 vote
0 answers
142 views

Error message when using lrm() and validate() from the rms package [closed]

I do not have a fully reproducible example as I am using proprietary data. Therefore, I am providing here an example that only partially reproduces the problem. I am trying to fit an ordinal logistic ...
user avatar
  • 153
1 vote
0 answers
100 views

Backtesting GARCH model [closed]

Hi I am wondering wether the tgarch model is better for predicting volatility than regular garch I built a garch model in R and im trying to predict future 1 day volatility of this equity I am ...
user avatar
  • 11
1 vote
0 answers
57 views

error code in finding confidence interval? [closed]

I optimized parameters from a function using mle2 from bbmle package. After I got the values, I tried to find profile likelihood ...
user avatar
  • 11
0 votes
1 answer
681 views

statsmodels ARIMA predict function on in sample data points [closed]

I'm trying to use the ARIMA predict function to predict on any test sample--this could include both in sample and out of sample data points, however the frequency will be fixed and equal to the ...
user avatar
0 votes
1 answer
93 views

How to generate a VAR(1) model? [closed]

I already written the code but something went wrong and I don't know why... here is the code. ...
user avatar
  • 23
2 votes
1 answer
3k views

Error while fitting data in auto.arima - R

I am running auto.arima for forecasting time series data and getting the following error: ...
user avatar
1 vote
1 answer
578 views

auto.arima throws error wrong length for 'fixed' [closed]

I am using auto.arima from the R forecast package. When using this function with lambda parameter, it is throwing error wrong length for 'fixed' Here is the code ...
user avatar
  • 43
1 vote
2 answers
929 views

Error when using vif() on glmmTMB obejct?

I have run a zero-inflated model as follows: number of birds ~ treatment * date + minutes after sunrise + snow cover + (1|site) This was the code (in ...
user avatar
  • 81
0 votes
1 answer
1k views

What post-hoc analysis should I use following a two-way ANCOVA with factor, integer and numeric variables?

I ran a two-way ANCOVA on the data below, in r-studio, to determine whether pupal weights Pupal.wt were affected by caterpillars' diet ...
user avatar
  • 101
1 vote
0 answers
855 views

Not available with this estimation method (ARMA ML) error message in eviews

I tried a Breusch–Godfrey LM test on an ARMA Maximum Likelihood model in eviews and I got the following error message: Not available with this estimation method (ARMA ML). I re-estimated the ...
user avatar
  • 153
0 votes
0 answers
664 views

Mixed effect logistic regression error: Model failed to converge with max|grad| = 0.0230258 (tol = 0.001, component 1)

Update on the study design and data: I am testing whether increased temperatures will affect dung burial by dung beetles. The beetle species that I have used makes balls of dung and buries each dung ...
user avatar
1 vote
2 answers
2k views

Error in Johansen procedure `ca.jo` in R: "system is computationally singular"

I am trying to model some data for a VECM in R. I have confirmed that all the variables are I(1), and I have 73 observations for each variable. My understanding is that to check for cointegration, you ...
user avatar
2 votes
1 answer
2k views

How to test whether covariates are significant with "xreg=" and "auto.arima()" (Error message)

I have 10 separate time series with one response variable (#users) and 4 predictor (dummy) variables (discount, feature_update, non_feature_update, bugfix). One exemplary time series looks like this: ...
user avatar
  • 63
0 votes
2 answers
111 views

R logistic regression [closed]

I was using the Smarket data in the ISLR package for logistic regression (in R) and find the error below. If I use the following command, I get the error (warning): ...
user avatar
0 votes
1 answer
2k views

Error in ARIMA function in R [closed]

I am analyzing time series data with 'Arima' function in R. As you know, to find optimum model, I have tried lots of cases. But, I am tired of finding and ...
user avatar
1 vote
0 answers
4k views

lme (nlme) error: "system is computationally singular"

I am starting a mixed-model selection analysis with lme in R. But when I start to fit the full model: ...
user avatar
0 votes
1 answer
615 views

Error when fitting ARIMA model in R [closed]

I am trying to fit ARIMA model on a monthly data. I checked for stationarity, it was not stationarity so I tried to difference, but this is the error message I got: ...
user avatar
1 vote
1 answer
5k views

Error in Math.data.frame…non-numeric variable in data frame [closed]

I have been trying to get some descriptive information from my dataset using R. The following code gives me error: ...
user avatar
4 votes
1 answer
3k views

Mixed effects model error message: Model is nearly unidentifiable: large eigenvalue ratio

I am fitting a mixed effects model with a binary outcome. I have one fixed effect (Offset, a 3 level factor) and one random effect (chamber, with multiple data ...
user avatar