dt = Open( "::Desktop:assignment10.jmp" );
window = 4321; //recursive window beginning
rp = dt << New Column( "LnRV.SPY Recursive", numeric );
For( i = 0, i <= N Rows( dt ) - window - 1, i++,
dt << clear row states();
If( i,
dt << Select Rows( 1 :: window + i ),
dt << Select Rows( 1 :: window )
);
dt << Invert Row selection();
dt << Exclude(); //exclude rows outside window
fm = dt <<FIT model=""></FIT>
I am using JMP 17 Pro and can not seem to figure out this error.