Calcite | Level 5

## Rescale the data values for convergence

Hello SAS community,

I was reading one of the SAS global proceeding papers related to linear mixed models. That paper suggested to rescaling the data is one of the options to trouble shoot convergence issues in parameter estimation. I'm working on large dataset that consists of multple years and locations, and response variable is yield measured in tons/hectare. Since this dataset requires to estimate a large numbe of parameters, convergence is often a problem to estimate the parameters.  I was thinking to rescale yield values to kgs or some other form.

Thank you,

RVS

5 REPLIES 5
Super User

## Re: Rescale the data values for convergence

It might help to post a link to the paper so we can see which approach you may be contemplating.

Calcite | Level 5

## Re: Rescale the data values for convergence

Thanks for the response. Below is the link for the paper.

http://support.sas.com/resources/papers/proceedings12/332-2012.pdf

I'm refering to the Section II ("TROUBLE SHOOTING CONVERGENCE FAILURES IN MIXED MODELS") from the above paper.

Rhodochrosite | Level 12

## Re: Rescale the data values for convergence

Tons per hectare should be a good scaling. Vaules are typically between 2 and 10, so there are not extremes. Converting to kg per hectare would probably cause more problems, considering the values would be ranging up 10000 or so. The variance-covariance matrix would have lots of very large numbers (for variances), and covariances which could be very small or very large.

## Re: Rescale the data values for convergence

I suspect (unfortunately) that the model may be overspecified for the number of observations.  Consequently, some random effect values are really sensitive to changes, and thus convergence becomes a problem.

My usual approach is to "sneak up on" the model I want to use, starting with something less complex, and working there until it converges and is meaningful in some sense.  Then complexity can be added which, in mixed models, is almost always something in the random (or repeated, if in PROC MIXED) statement.

Steve Denham

Calcite | Level 5

## Re: Rescale the data values for convergence

Hi Everyone,

I am having similar problem on the issue of convergence using proc mixed. Three of my traits are in t/ha and the other one is in percentage. Two of the traits converged. I am thinking of rescaling by dividing by 10 to see if that would solve the problem. Is it a good idea?

Discussion stats
• 5 replies
• 2128 views
• 1 like
• 5 in conversation