abbreviation in while loop (Gauss version 6)

Dear Sir/Madam,

I am now working on a paper which used Gauss version 6. There are some lines in de code that I  don't understand:

question 1: what does 'ge' mean?

i=rows(Data); do while i ge 2;
t=DataCol+1;
Data[i,t] = (Data[i,t]-Data[i-1,t])/100; t=t+1;
i=i-1; endo;

 

question 2: what does 'le' mean?

i=1;
do while i le lags;
xx = xx~lagn(x,-(lags-i));
i=i+1;
endo;

question 3: Are there any other abbreviations for:

  • great than
  • great than equal to
  • smaller than
  • smaller than equal to

 

I would really appreciate your help.

1 Answer



0



You are correct that ge means greater than or equal and le means less than or equal. These operators still work in the current version of GAUSS as they did in GAUSS 6.

However, we now recommend the use of >= and <=.

These links have more information about operators in GAUSS:

1. Quick reference.
2. Logical and relational operators.

aptech

1,773

Your Answer

1 Answer

0

You are correct that ge means greater than or equal and le means less than or equal. These operators still work in the current version of GAUSS as they did in GAUSS 6.


However, we now recommend the use of >= and <=.

These links have more information about operators in GAUSS:

1. Quick reference.
2. Logical and relational operators.


You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.