how i can calculate the threshold value

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator

eisamabodian
Posts: 13
Joined: Tue Aug 05, 2014 3:50 am

how i can calculate the threshold value

Postby eisamabodian » Thu Oct 12, 2017 10:17 am

i wrote this program in Eviews for threshold value.
in the second step i must obtain Sum Squared of resids and minimum of SSR and it's correspondent !K
but i don't know how to calculate it.
please help me



wfcreate a 1979 2015 'period of study

series y=nrnd
series x=nrnd
series m1=nrnd
series m2=nrnd
series m3=nrnd

for !k=0.001 to 1 step 0.001
equation equ1.ls y c x*(x<=!k) x*(x>!k) m1 m2 m3
equation equ2.ls y c x x*(x>!k) m1 m2 m3
next

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 7 guests