How to programme in EViews if I have to select a regression model among many based on R square
Posted: Sun Jul 26, 2020 1:53 am
Hi,
I've a problem selecting and appending one equation in model which have higher R square. How to do that.
E.g I have three equations as given below and I want to append those equations in my model for %x which have higher r Square, like for IN liner model have higher r square but for UK it is Dlog one and for US it is log one so how to make a final model object with these final equations?
model m_final
%x IN US UK RU PC
equation T_eq{%x}.ls (phv_{%x}) = c(1)+c(2)*(KM_{%x})
equation T_eqLog{%x}.ls log(phv_{%x}) = c(1)+c(2)*log(KM_{%x})
equation T_eqDlog{%x}.ls Dlog(phv_{%x}) = c(1)+c(2)*Dlog(KM_{%x})
Best Reagrds,
APS
I've a problem selecting and appending one equation in model which have higher R square. How to do that.
E.g I have three equations as given below and I want to append those equations in my model for %x which have higher r Square, like for IN liner model have higher r square but for UK it is Dlog one and for US it is log one so how to make a final model object with these final equations?
model m_final
%x IN US UK RU PC
equation T_eq{%x}.ls (phv_{%x}) = c(1)+c(2)*(KM_{%x})
equation T_eqLog{%x}.ls log(phv_{%x}) = c(1)+c(2)*log(KM_{%x})
equation T_eqDlog{%x}.ls Dlog(phv_{%x}) = c(1)+c(2)*Dlog(KM_{%x})
Best Reagrds,
APS