## Report 10/6/2012

Design of Experiments project includes functions dedicated to model building. In the already existing relevant functions, I added *doetbx_least_squares.sci* and *doetbx_rsquared.sci*.

The first macro computes the slope and intercept of a linear model, using backslash operator and the latter computes the coefficient of determination R^{2}. I committed both of them in Scidoe repo. Next step is to test these functions for accuracy and speed, using datasets provided by NIST.

Further investigation is needed for doe_yates.sci and builder.sce.

In doe_yates.sci, I replaced *sortrows()* function with *gsort*, but I get error when I call for sorting the effects *[ef,id] = doe_yates(y,%T)*, while *builder.sce* presents *control instruction error* when executing.