;;Example of a ViDAL (ViSta Data Analysis Language) script file.
;;Load this file with the Load-Edit command.

;;Performs the Simple Regression Example on the Bicycle data reported
;;in Luke Tierney's LispStat book (see pp. 53-57).


(when *guidemap* (send *guidemap* :close))  
(show-workmap)

(load-data (strcat *examples-data-dir-name* "regres" *separator* "bicycles.lsp"))

(regression-analysis
      :response '("separation")
      :predictors '("TravelSpace"))

(visualize-model)
(report-model)

(vista-message "Example Finished")