Questions tagged [starting-values]

Many computational statistical problems (including some estimation problems, such as fitting GLMs) cannot be solved in a single calculation step - their algorithms must be iterated repeatedly until convergence. Such algorithms need starting-values at the beginning of the algorithm.

Filter by
Sorted by
Tagged with
3 votes
1 answer

Non-linear regression. Need some help implementing a model from a paper

I found this paper very useful for my research, however, I'm not familiar with non-linear regressions and I'm finding it tricky replicating it. Using the first f=model for example: ...
Favour Onyido's user avatar
1 vote
0 answers

Box-Cox power transformation, adding or subtracting constants, and interval scales

I am trying to understand how the Box-Cox power transformation works. So I took one of my datasets and ran the powerTransform function of the "car" package (via R Commander) after having computed a ...
EduardodlVega's user avatar
0 votes
0 answers

using own data as starting parameters for modeling

I'm currently having a heated debate with coworkers on whether it's acceptable to use estimates derived directly from the data as starting parameters for modeling. For example, if I want to fit a ...
Dadabazooka's user avatar
0 votes
0 answers

Trouble fitting my data with non-linear Regression model

I have a dataset that contains tree height and diameter measurements among the tree stem. I tried to fit my data with GNLS in R, but I'm getting this "step halving factor reduced below minimum in NLS ...
Onur Alkan's user avatar
0 votes
0 answers

Initial conditions for nonlinear models using the nlsLM function

I have a data frame containing 70000 rows. For each row, I am trying to apply the nlsLM function (minpack.lm package) to find ...
Pierre's user avatar
  • 103
1 vote
2 answers

Specifying starting values/modes for K-modes Clustering

I have a very large data set with 9000 observations and 25 categorical variables, which I've transformed into binary data and preformed hierarchical clustering and K-modes clustering in R. ...
PennyR's user avatar
  • 11
2 votes
1 answer

Non linear regression - Von Bertalanffy Growth Function - Error: "singular gradient matrix at initial parameter estimates"

I am trying to estimate VBGF parameters K and Linf using non linear regression and nls(). First I used a classic approach where I estimate both parameters together as below with "alkdyr" being a ...
Xochitl C.'s user avatar
30 votes
3 answers

Why is nls() giving me "singular gradient matrix at initial parameter estimates" errors?

I have some basic data on emission reductions and cost per car: ...
Amanda's user avatar
  • 431
4 votes
1 answer

MLE2 (in R): I can't find the right starting values

I am trying to fit several MLEs on a small dataset. I have managed to get it done for all my potential models except for this last one. This last one is actually the model that I expected to be the ...
Robbie's user avatar
  • 417
4 votes
2 answers

Exponential smoothing models backcasting and determining initial values python

I have made python code for exponential smoothing (ES) that takes in about 15 different cases including: Simple Exponential Smoothing (SES) Simple Seasonal models (both multiplicative and additive) ...
ccsv's user avatar
  • 1,068
15 votes
5 answers

How to choose initial values for nonlinear least squares fit

The question above says it all. Basically my question is for a generic fitting function (could be arbitrarily complicated) which will be nonlinear in the parameters I am trying to estimate, how does ...
Fixed Point's user avatar
13 votes
2 answers

What are "starting values" in glm() function?

What are parameters start, etastart, mustart in the glm() function? I have been looking in ...
Tomas's user avatar
  • 6,133