Hello, I have this script:
smpl @first @last-4
group demands *
for !i=1 to demands.@count
%name = demands.@seriesname(!i)
do %name.smooth(s,e) {%name}_sm_s
do %name.smooth(d,e) {%name}_sm_d
do %name.smooth(n,e,e) {%name}_sm_ht_ns
do %name.smooth(a,e,e,e) {%name}_sm_ht_ad
do %name.smooth(m,e,e,e) {%name}_sm_ht_m
do %name.ets(e=a,t=a, s=n) {%name}_ets_e_ad_t_ad
do %name.ets(e=m,t=m, s=n) {%name}_ets_e_m_t_m
do %name.ets(e=m,t=m, s=m) {%name}_ets_e_m_t_m_s_m
do %name.ets(e=a,t=a, s=a) {%name}_ets_e_a_t_a_s_a
next
but at the moment of running, it displays the following error: SMOOTH is not a valid view for RESID in "DO "RESID".SMOOTH(S,E) RESID_SM_S".
I do not know how to fix it....I will appreciate your help.
SMOOTH is not a valid view for RESID
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13315
- Joined: Tue Sep 16, 2008 5:38 pm
Re: SMOOTH is not a valid view for RESID
Code: Select all
smpl @first @last-4
group demands *
for !i=1 to demands.@count
%name = demands.@seriesname(!i)
do {%name}.smooth(s,e) {%name}_sm_s
do {%name}.smooth(d,e) {%name}_sm_d
do {%name}.smooth(n,e,e) {%name}_sm_ht_ns
do {%name}.smooth(a,e,e,e) {%name}_sm_ht_ad
do {%name}.smooth(m,e,e,e) {%name}_sm_ht_m
do {%name}.ets(e=a,t=a, s=n) {%name}_ets_e_ad_t_ad
do {%name}.ets(e=m,t=m, s=n) {%name}_ets_e_m_t_m
do {%name}.ets(e=m,t=m, s=m) {%name}_ets_e_m_t_m_s_m
do {%name}.ets(e=a,t=a, s=a) {%name}_ets_e_a_t_a_s_a
next
Follow us on Twitter @IHSEViews
-
- Posts: 2
- Joined: Mon Jul 23, 2018 3:14 pm
Re: SMOOTH is not a valid view for RESID
Thanks!!!
Who is online
Users browsing this forum: No registered users and 19 guests