Extending EqTab significance indication

For questions about EViews Add-ins available from the EViews Add-ins webpage. Note each add-in available on our webpage will have its own individual thread.

Moderators: EViews Gareth, EViews Moderator, EViews Esther

EconStudentMaas
Posts: 7
Joined: Thu Jun 11, 2015 2:39 am

Extending EqTab significance indication

Postby EconStudentMaas » Tue Jun 16, 2015 8:05 am

Hey everyone!

I'd like to augment the source code, so that instead of having asterix behind the SE or TS to indicate significance, I have them right behind the coefficients.
I already defined the following:

Code: Select all

         !sig01 = 0
         !sig5 = 0
         !sig1 = 0
         if !pval < 0.01 then
            !sig1=1
         endif
         if !pval < 0.05 then
            !sig5=1
         endif
         if !pval < 0.10 then
            !sig01=1
         endif


For the asterix to be added to the SEs, the code now looks like this:

Code: Select all

         if !SEasterisk then  'add asterix if significant
            if !sig01=1 then
               %se = %se + "*"
            endif
            if !sig5=1 then
               %se = %se + "*"
            endif
            if !sig1=1 then
               %se = %se + "*"
            endif
         endif


How and where do I need to change the code to add these asterix behind the coefficients? Which lines do I have to add?

I'm really new to coding, so please be easy on me here :wink:
Thanks for your help!!!

EconStudentMaas
Posts: 7
Joined: Thu Jun 11, 2015 2:39 am

Re: Extending EqTab significance indication

Postby EconStudentMaas » Wed Jun 24, 2015 5:59 am

anyone? please? :? :?:


Return to “Add-in Support”

Who is online

Users browsing this forum: No registered users and 11 guests