Sir i have described all the conditions and tried to solve it but for fist else condition , i donot know how to choose
[significant pv(2) or significant pv(3)] and if there are many choices for both , or one one for each , choose SOLUTION FOR lag value with minimum aic].
the code for this step is no executing. i cannot execute AND OR operator.pls help me in this regard
Code: Select all
if eq{!i}.@pval(2) <!pval_C and eq{!i}.@pval(3) <!pval_D AND eq{!i}.@aic < !aic then ' SELECT EQUATION IF XA AND XB HAS PV LESS THAN 0.1 AND if it has many pairs of pv<0.1 THEN SELECT PAIR WITH MINIMUM AIC
!bestlag_a =(!lag_a) ', then store this lag as !bestlag.
!bestlag_b =(!lag_b)
HERE !pval_C and !pval_D both are less than 0.1;
sir can you help me this expression. i want to select first lag combination that contains pv values less than 0.1;HOWEVER if program finds more than one solution , it should choose lag selection with least aic value. it is that if there is no one obvious solution can be selected , the expression should add aic min value criteria to execute.
furthermore my understanding is , if there is only one solution , automatically its aic value would be minimum.i donot know if i have written right code.it never runs or selects any solution
and simply loops into else if and writes the last lag combination of 4
but this code doesn't execute that.
i donot know and /or implementation problem it is facing
HOW CAN REWRITE OR SPLIT IT TO ACHIEVE THIS FUNCTIONALITY;
if anyone can help PLEASE
thanks