# Mean log-likelihood value

0

Hi,

After running a model in GAUSS, I have been getting a mean log-likelihood value at convergence of -3.78188 +        0.000000i.

All the other values at convergence seem to be normal such as following:

return code = 0
normal convergence

Also, the gradient of all the parameters are 0.0000 at convergence.

I am worried about the 0.000000i part of the log-likelihood value, why is it showing up as a complex number. Is this an indication of something been not going right during the estimation?

I would appreciate your response in this regard.

Annesha

0

I would look at the first 15 digits of the complex portion of the value. If they are all zeros, I would not worry about it. Some functions that very commonly return complex values, such as some of the eigenvalue functions, can sometimes return a 0 complex portion. However, if any nonzero digits start before the 15th digit, I would investigate further.

0

How can I investigate the first 15 digit of the value, its been only showing up upto 6 digits before i.

Thanks and Reagrds

Annesha

0

You can view all of the digits of a symbol in GAUSS by either:

1) Use the format statement to change the precsion with which GAUSS will print numbers. For example:

```x = pi;
print x;
```

will return:

```       3.1415927
```

The format statement takes: A) a flag which tells GAUSS whether to use decimal or scientific notation and whether to left or right align B) Two numbers separated by a comma. The first number is the spacing between numbers to the right and left. The second number is the precision to use.

For example:

```A = rndn(2,2);

format /rd 16,16;
print a;
```

returns something like:

```-0.1527442166532356 1.1864915567903966
0.6950789587785460 -0.2879276687480430
```

We can give more spacing between the elements of A by increasing the first number:

```format /rd 24,16;
print a;
```

returns:

```     -0.1527442166532356       1.1864915567903966
0.6950789587785460      -0.2879276687480430
```

Finally:

```format /re 10,3;
print a;
```

will return:

```-1.527e-01  1.186e+00
6.951e-01 -2.879e-01
```

2) View the matrix on the GAUSS Data Page.
a) Click on the Data tab on the left of GAUSS.
b) Double-click on the matrix, array, strong or structure that you would like to view in the list of 'Active Symbols' on the left.
c) If you click on an element of a matrix or array, the status bar at the bottom of the symbol editor will show all digits of the symbol.
d) You can also change the default number of digits shown in the symbol editor by seleting Tool->Preferences from the main application menu, then seleting 'Symbol' prefernces and changing the 'Precision' field.

0

I would look at the first 15 digits of the complex portion of the value. If they are all zeros, I would not worry about it. Some functions that very commonly return complex values, such as some of the eigenvalue functions, can sometimes return a 0 complex portion. However, if any nonzero digits start before the 15th digit, I would investigate further.

0

How can I investigate the first 15 digit of the value, its been only showing up upto 6 digits before i.

Thanks and Reagrds

Annesha

0

You can view all of the digits of a symbol in GAUSS by either:

1) Use the format statement to change the precsion with which GAUSS will print numbers. For example:

```x = pi;
print x;
```

will return:

```       3.1415927
```

The format statement takes: A) a flag which tells GAUSS whether to use decimal or scientific notation and whether to left or right align B) Two numbers separated by a comma. The first number is the spacing between numbers to the right and left. The second number is the precision to use.

For example:

```A = rndn(2,2);

format /rd 16,16;
print a;
```

returns something like:

```-0.1527442166532356 1.1864915567903966
0.6950789587785460 -0.2879276687480430
```

We can give more spacing between the elements of A by increasing the first number:

```format /rd 24,16;
print a;
```

returns:

```     -0.1527442166532356       1.1864915567903966
0.6950789587785460      -0.2879276687480430
```

Finally:

```format /re 10,3;
print a;
```

will return:

```-1.527e-01  1.186e+00
6.951e-01 -2.879e-01
```

2) View the matrix on the GAUSS Data Page.
a) Click on the Data tab on the left of GAUSS.
b) Double-click on the matrix, array, strong or structure that you would like to view in the list of 'Active Symbols' on the left.
c) If you click on an element of a matrix or array, the status bar at the bottom of the symbol editor will show all digits of the symbol.
d) You can also change the default number of digits shown in the symbol editor by seleting Tool->Preferences from the main application menu, then seleting 'Symbol' prefernces and changing the 'Precision' field.

• ### Aptech Systems, Inc. Worldwide Headquarters

Aptech Systems, Inc.
2350 East Germann Road, Suite #21
Chandler, AZ 85286

Phone: 360.886.7100
FAX: 360.886.8922

• ### Training & Events

Want more guidance while learning about the full functionality of GAUSS and its capabilities? Get in touch for in-person training or browse additional references below.

• ### Tutorials

Step-by-step, informative lessons for those who want to dive into GAUSS and achieve their goals, fast.

• ### Want to find out more?

Get a real answer from a real person

• ### Have a Specific Question?

Get a real answer from a real person

• Need Support?
• ### Support Plans

Premier Support and Platinum Premier Support are annually renewable membership programs that provide you with important benefits including technical support, product maintenance, and substantial cost-saving features for your GAUSS System or the GAUSS Engine.

• ### User Forums

Join our community to see why our users are considered some of the most active and helpful in the industry!