Questions tagged [convergence]
303 questions
0
votes
0 answers
Statsmodel Zero Inflated Poisson doesn't converge (statsmodels.discrete.count_model.ZeroInflatedPoisson)
Lately, I've been working with a risk model in Python.
My target variable is a frequency (float), which was calculated as
freq = number of events/total exposition
and my dataset is really unbalanced, so that the frequency distribution can be…

Lídia Gusmão
- 33
- 2
0
votes
2 answers
polynomial extrapolation using numpy
I have a signal that I wish to fit using polynomial fitting first and then use that polynomial expression for extrapolation. Meaning, originally, my x axis range is 192.1-196THz. And I have corresponding y axis values for this range. But I want to…

MRR
- 45
- 1
- 6
0
votes
0 answers
How to run a multivariate multilevel model in R using nlme or lme4 packages?
Multivariate multilevel model with R (nlme or lme4 packages)
I am trying to run a multivariate multilevel model with R.
We're analyzing an RCT study with four measurement points and two outcomes.
We have already performed two separate MLMs but the…

Toni
- 1
0
votes
0 answers
Data structure query for parallel study using lme4
Fairly new to R, I'm wondering whether I am setting my linear mixed model up correctly.
My outcome DV is score, and my fixed effect is intervention (placebo + treatment) and time(pre + post). The participant repeats the questionnaire on 2 occasions,…
0
votes
1 answer
Why is the definition of convergence different for root finding algorithms as compared to sequences?
The definition of convergence for root finding algorithms is given in a few sources as:
A sequence ${x^k}$ generated by a numerical method is said to converge to the root $\alpha$ with order $p\geq 1$ if:
$\exists C > 0 : \frac{|x^{(k+1)} - \alpha…

Username_57
- 9
- 1
0
votes
1 answer
Problem with glmmTMB function in R: gives NaN in summary
I have a large motor insurance dataset with which I want to make a mixed model regression to model the expected claim frequency using glmmTMB, with the purpose of determining an initial base premium.
My script looks like this:
glmmTMB(response ~…

Kat
- 1
- 1
0
votes
0 answers
Traceplot for mixed GLM for circular data (bpnme) not converging - I've tried numerous combinations of predictors and plots are still not converging
I am trying to fit a mixed model GLM for circular data on R (circular response variable, theta (I have tried this for radians and degrees) and continuous and/or categorical predictor variables. I have run this with standardised predictor values and…

heather
- 1
0
votes
0 answers
lmer Warning message: Model failed to converge with 2 negative eigenvalues: -2.2e+01 -4.4e+01
I have an issue with a linear mixed-effect model trying to estimates the effects of color cues on individuals' perception of parties ideological position and the way they interact with statements providing information about party policy…

Ng1996
- 1
0
votes
0 answers
neural networks average the output
For my bachelor thesis I am currently working with neural networks in finance with R.
In one part of my thesis I want to explain why it can be important to average the output of neural networks.
I have written the following code.
num_nn <-…

noahae
- 1
0
votes
0 answers
Why is giving me this convergence problem
I'm running mixed models with the database pasted below
It`s a simple linear mixed model in which the particular situation is when I want to include the quadratic effect of time. For time being linear I don't have any convergence problem but…

Javier Hernando
- 181
- 7
0
votes
1 answer
finding function convergence in time
this is related to math and ideally I would like you to advice me the procedure or tool to find a proper input of the power (0-255) for a heating element in time to reach particular temperature.
The heating element power output is controlled by PWM…

greengold
- 1,184
- 3
- 18
- 43
0
votes
0 answers
How do I optimize the convertion of AI using NEAT Library - Neural Network?
I've created this game and coded an AI using NEAT library to learn the game and play by it self, although it learned a few techniques to collect the points, it's not as optmized as it should and i'm not being able to make it converge into direct…
0
votes
0 answers
convergence & large eigenvalues/ scaling issues in R trying to run glmer with continuous and factor variables
Help!
I have a nested mixed effects model I am trying to run with site and plot ("plotID") as my random effects. Multiple plots fall within sites (9 plots per site) so site is assigned as a shared number between all 9 plots within that site, i.e.…

Emma Neigel
- 1
- 2
0
votes
0 answers
Deep Q learning with CNN - How can l know if my reinforcement learning model is actually learning?
I am trying to train a bot in a game like curve fever. It is like a snake which moves with a really precise turn radius (not 90°), which makes random hole (where he can passes throw) and like for a snake game he dies if he goes out of map or hits…

Wolf
- 11
- 2
0
votes
0 answers
Divergence problems in Memristor Model in LtSpice
I am simulating a Memristor circiut (tran sim). in this simulation, I got received an error called divergence problems.this is the error!
How can I find the problem? I mean how can I understand what is wrong with my simulation?
this is my circuit…