Hello, All
Is there a way to save predicteds when the the "to be predicted" data is grouped using a By statement.
I am using a code like this one:
Fit Group( Biv_GRAV_T1 = Bivariate( Y( :Gravimetric_Flow1_L ), X( :RatioID ), Fit Where( :DOY == 31, Kernel Smoother( 1, 1, 0.1, 1 ) ), Fit Where( :DOY == 32, Kernel Smoother( 1, 1, 0.1, 1 ) ), Fit Where( :DOY == 33, Kernel Smoother( 1, 1, 0.1, 1 ) ), Fit Where( :DOY == 34, Kernel Smoother( 1, 1, 0.1, 1 ) ), Fit Where( :DOY == 35, Kernel Smoother( 1, 1, 0.1, 0 ) ), Fit Where( :DOY == 36, Kernel Smoother( 1, 1, 0.1, 0 ) ) ), Biv_GRAV_T2 = Bivariate( Y( :Gravimetric_Flow2_L ), X( :RatioID ), Fit Where( :DOY == 31, Kernel Smoother( 1, 1, 0.1, 1 ) ), Fit Where( :DOY == 32, Kernel Smoother( 1, 1, 0.1, 1 ) ), Fit Where( :DOY == 33, Kernel Smoother( 1, 1, 0.1, 1 ) ), Fit Where( :DOY == 34, Kernel Smoother( 1, 1, 0.1, 1 ) ), Fit Where( :DOY == 35, Kernel Smoother( 1, 1, 0.1, 0 ) ), Fit Where( :DOY == 36, Kernel Smoother( 1, 1, 0.1, 0 ) ) ); Biv_GRAV_T1 << (curve[1] << save predicteds);
Given that I want to save predicteds by DOY, is there a way to save all days in the same column?
With:
Biv_GRAV_T1 << (curve[1] << save predicteds);
I can save any curve I want, but I want all the curves in the same column. Is there a way to do this?
Something like:
Biv_GRAV_T1 << (curve[1&2&3&4&5&6] << save predicteds); [I know this does not work, of course ]
Any help would be appreciated!
-JGL