Questions tagged [convergence]
The convergence tag has no usage guidance.
convergence
312
questions
0
votes
0
answers
22
views
non-positive-definite Hessian matrix/non-convergence problem with glmmTMB [migrated]
I've got a dataset that has temperature (21c or 29c), inoculation (mock (m),single inoculations (c or r), or coinoculation (rc)), and age group (y or o). I am trying to model the interactive effects ...
0
votes
0
answers
26
views
Python - The fitness value is oscillating up and down
I am solving a p-median problem using genetic algorithm for facility location problem. However, after running the code I found that the fitness value come out is not stable. The code is as shown below:...
0
votes
0
answers
28
views
Problem with double-mesh and error estimation
I am writing a Matlab code for a first-order nonlinear singularly perturbed parameterized problem with integral boundary condition. I have successfully achieved the desired order of convergence for ...
0
votes
0
answers
11
views
Pointwise convergence from an L^p convergence in the case where the limit is infinite
Let ${v_n}\subset L^p(\Omega)$ and suppose that $$|v_n|_p\longrightarrow +\infty,$$
as $n\longrightarrow +\infty$.
My question is the following: Can we ensure the existence of a subsequence of ${v_n}$,...
0
votes
1
answer
49
views
Firth's model stuck (with non-converge warning and CPU usage 99%) in R using the logistf package
Here is the process of creating the datasets. I saved in both rds and csv format in case any internal data characteristics changes during the saving process:
# Save the data frame
saveRDS(...
0
votes
1
answer
44
views
lme4 convergence warning and rescaling in longitudinal data analysis
I have a longitudinal data with ~2400 participants and ~15000 observations. When fitting the mixed effects model using lmer() with a random slope of time, I received a warning:
optimizer (nloptwrap) ...
1
vote
0
answers
29
views
Having issues coding a EM algorithm in R to a mixture poisson distribution to converge to the maximum values for p, lambda1, and lambda2
# Function for the E step (Expected Value Part of the Algorithm) for Poisson Distribution
E_step <- function(Y, lambda1, lambda2, p) {
# Get the Poisson 1 distribution probability
...
0
votes
0
answers
24
views
bert finetune:When the training loss is unstable(decreasing), the validation loss has already started to rise
I am currently fine-tuning BERT using the bert-base-uncased model from Hugging Face. I have set the learning rate for the classification head to 5e-3 and for the other parameters to 5e-5. However, my ...
0
votes
0
answers
19
views
ugarchroll object does not converge even when using a hybrid solver. what can i do?
I am trying to do VaR backtesting using ugarchroll (rugarch). When setting the solver to "hybrid", the model still does not converge. Is there anything I could do?
This is my code:
arima_fit&...
0
votes
0
answers
36
views
How to check what is the radius of convergence of a Taylor series with SymPy?
How to check the radius of convergence for a Taylor series?
Let's say you have a function $f(x) = 1 / (1 + a * x^2)$, then I can expand it in a Taylor series around zero, e.g.,
In [2]: series(1 / (1 + ...
0
votes
0
answers
19
views
SDC in R: ProtectTable() does not converge
I have a dataset that contains 4 categorical variables, with two of them with a cardinality of 4, one of 2 and one of 3. I want to apply ProtectTable() from the R Package SDC.
To include the ...
0
votes
0
answers
52
views
Model Convergence after R Crash. (Warning: Model failed to converge with max|grad| = 0.00247628 (tol = 0.002, component 1))
While working on examining interactions in a set of linear models, my R session crashed and restarted. I work from a .rmd file, so it was easy to restore my work up to that point, and I verified all ...
0
votes
0
answers
20
views
I need help in estimates lme models
I'm analyzing two models of class LME for longitudinal data (observations in two times), but
this message appears Error in lme.formula(y ~ x, random = ~1 | id, data = data_long) : nlminb problem, ...
0
votes
0
answers
18
views
Avoiding convergence warnings with time series of counts
For several very sparse and irregular time series of counts, I am trying to fit them (one at a time) to a range and extract the coefficients as a way to "describe" each time series. However, ...
0
votes
0
answers
19
views
relation between radius of convergence of Grand canonical partition function and Canonical partition function
I want to show that the radius of convergence of Grand canonical partition function shows the exponential behavior of Canonical partition function.
I do this:
In this picture I find radius of ...