Statistica is geared for point and click building of statistical models. I strong dislike modeling building software that does not allow scripting of models. Without the ability of scripting your models reproducing your results can become impossible if you forget the one, obscure menu option you selected on the twenty-third run of the model. Statistica has, however, an extensive object model that can be accessed via Visual Basic for Applications and a great macro generation feature. By scripting your models you can easily reproduce your results and run many alternative models systematically looping through control tables. Generating SVB is simple in Statistica. There is an auto-generate feature that will save your menu commands as SVB scripts. From those logs you can learn the basics of programming in Statistica.
Tip1 |
Generate scipts Use the an auto-generate scipts. |
Tip2 |
Open new Spreadsheet Dim S1 As Spreadsheet
Set S1 = Spreadsheets.Open ( C:\project\data\myProject.sta ) |
Tip3 |
Add a variable to a spreadsheet Dim S1 As Spreadsheet |
Tip4 |
Run a model Dim newanalysis1 As Analysis With newanalysis1.Dialog |
Tip5 |
Refer to variable by name not number. One major issue I have with Statistica is the variables are referred by the order they appear in the spreadsheet. This can create issues when reproducing results when you are not sure if variable 23 was income or weight. Icol = 1 Dim StrVarList As String Dim StrNameList As String StrNameList = MyDependant = MyCatoragory MyInt1 MyInt2 MyInt3 |