STATISTICA Visual Basic Object Model
View All Classes View All Enums
The STATISTICA Visual Basic Object model is a COM-based application programming interface (API) that allows programmatic access to all STATISTICA applications. Everything that can be accomplished interactively in the program can be achieved through the STATISTICA API. Since the API is based on Microsoft COM technology, it allows the interface to be exposed to all external programs that support COM. This includes scripting languages (VBScript, Perl, PowerShell, etc.) as well as native high-level languages (VB, C, C++, etc.) and all .NET languages (C#, VB.NET, ASP.NET) via the .NET –COM interop layer.
The STATISTICA Application Programmer's Interface (API) offers a rich object model that grants you access to all of the functionality available to STATISTICA interactively. Anything that can be performed through STATISTICA's interface can also be programmed. STATISTICA's object model is designed to mirror the user interface of STATISTICA. For example, there is a class for every analysis dialog box; additionally, each of these classes encompasses all of the successive properties that you would find in the respective dialog box.
To simplify STATISTICA programming, all analysis and graph creation scripts can be recorded for you, saving you valuable time and effort by turning repetitive tasks into simple, automated procedures. After selecting any of the statistical analyses from the Statistics tab or Data Mining tab, or graphics analyses from the Graphs tab, all actions such as variable selections, option settings, output, etc., are recorded “behind the scenes.” You can transfer this recording to the STATISTICA Visual Basic editor window at any time; this is accomplished by selecting Create Macro from the Options button menu available in all analysis and graph dialog boxes.
Even multiple analyses can be recorded by creating a master macro. You can record a master macro of your entire session that can consist of several analyses and graphs; this recording will “connect” all analyses performed from the Statistics, Data Mining, or Graphs tabs. The master macro recording will begin when you turn on the recording, and it will end when you stop the recording. In between these actions, all file selections, analyses, and most data management operations are recorded. Once you are finished, you simply stop the recording and an SVB macro will be created with all of your analysis and data management operations generated for you.
Along with analyses and graphs, STATISTICA's object model also exposes all of its document types; you can easily customize a graph, manipulate data in a spreadsheet, format a report, and organize a workbook via automation.
This documentation is organized by object type. The
Core section contains the basic objects and document types. The
Application object is the main STATISTICA application object; creating one of these will instantiate a STATISTICA application or library, and all other objects should be created from this object. The
Spreadsheet is the STATISTICA document that is the data container for the STATISTICA application. The
Report is a document that can contain tabular text and graphics summarizing analysis results. The
Workbook is a document type that contains hierarchical nesting of other STATISTICA objects in a tree view. The Macro is a document representing a STATISTICA Visual Basic program
Graphics has a special category with all its extensive objects to create and customize STATISTICA Graphs.
Analysis category contains the objects that represent all the different analysis types. Each maps to an analysis type that is present in the main application window.
View All Classes View All Enums