' This is a Headline (with a blank after the ') 'This is a comment (without a blank after the ') create ols u 1 200 vector( 3 ) beta series y = nrnd for !i = 1 to 3 beta( !i ) = !i series x!i = 1 + log( !i ) * nrnd y = y + beta( !i ) * x!i next y = y + nrnd table res for !i=1 to 3 res( 1 + 2 * !i, 1 ) = "C(" + @str( !i ) + ")" next res( 9, 1 ) = "R2" res( 10, 1 ) = "Rbar2" res( 11, 1 ) = "RSS" %s = "y = c(10)" for !i=1 to 3 %s = %s + "+c(" + @str(!i) + ")*x" + @str(!i) next equation eviews.ls %s res( 1, 2 )="EViews" for !i=1 to 3 res( 7, 2 ) = eviews.@coefs(!i) res( 8, 2 ) = eviews.@stderrs(!i) next res( 9, 2 ) = eviews.@r2 res( 10, 2 ) = eviews.@rbar2 res( 11, 2 ) = eviews.@ssr