13.07.2015 Views

Download pdf guide - VSN International

Download pdf guide - VSN International

Download pdf guide - VSN International

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

102 8 Using commands with menus or spreadsheetsTo run the commands withexplanatory variates Employ andOpdays, for example, you canhighlight their lines in the SelectColumns for Analysis window andthen click on Run. Alternatively,click on the Save and Close button tostore the commands with the sheet.You can then run the analysis at anytime: first highlight the columns byclicking on their names at the top ofthe spreadsheet; then either selectthe Sheet Analysis line in the Runmenu on the menu bar, or make aright-mouse click on the spreadsheetand select User Defined (SheetAnalysis) from the Analysis section ofthe resulting menu (Figure 8.6). If,as in Figure 8.6, the line Load datainto menu is checked, GenStat willopen the Analyse Spreadsheet Figure 8.6Columns menu with Employ andOpdays already selected in the Select Columns for Analysis window, ready for you to clickon Run. If it is unchecked, GenStat simply runs the analyses.The initial lineMODEL Wateris common to all the analyses. Wecan arrange that this command isexecuted only once (and thusimprove efficiency) by moving it tothe Spreadsheet AnalysisSetupDirectives menu (Figure 8.7). Thismenu is obtained by clicking on theSetup button of the AnalyseSpreadsheet Columns menu. Aftermoving the line, you click on the OKbutton on the Spreadsheet AnalysisSetup Directives menu, and then onthe Save button of the AnalyseSpreadsheet Columns menu.8.4 PracticalFigure 8.7Paste the linear regression program from Practical 8.2 into the Analyse SpreadsheetColumns menu. Put dummy X into the program instead of height or age. Run theanalysis with some other x-variates.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!