Extending EqTab significance indication
Posted: 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:
For the asterix to be added to the SEs, the code now looks like this:
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
Thanks for your help!!!
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
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
I'm really new to coding, so please be easy on me here
Thanks for your help!!!