Welcome, Register  | Login
Search Options
Electronic Statistics Textbook
StatSoft Blog
 Video TutorialsWebcasts
BrochuresWhite Papers
..\Example ApplicationsHelpInstallation InstructionsSTATISTICA Software UpdatesVersion ManagerVisual Basic Examples
 Free STATISTICA 9 Trial
Chat Live with StatSoft
Featuring
  • Credit Scoring
  • Upgrade to 64-bit
  • STATISTICA User Forum
  • Free Electronic Statistics Textbook
Product Information
  • STATISTICA Product Catalog
  • Predictive Analytics Solutions
  • Statistical Consulting, Training
  • Enterprise Solutions
  • Web-based Analytics
  • Energy & Utilities
What's New

Odds Ratios in Generalized Linear/Nonlinear (GLZ) Models

Mon, 30 Aug 2010 22:29:00 -0500

SPOTLIGHT ON: John Elder, Ph.D.

Mon, 30 Aug 2010 20:33:00 -0500

Monte Carlo and Sample Size

Mon, 30 Aug 2010 17:48:00 -0500

Skip Navigation Links.
Collapse SubscriptionsSubscriptions
STATISTICA Newsletter
STATISTICA Webcasts
AnalyticBridge
YouTube
Twitter
Facebook
LinkedIn

Example Applications

Our current release is STATISTICA 9. Read about the new features in STATISTICA 9. Current customers can fill out the upgrade to STATISTICA 9 form to request a quote. Please contact your local StatSoft office with any questions.

The COM-based architecture of STATISTICA allows access to its library of functions through any COM-compliant programming language, such as Visual Basic, Visual Basic.NET, C#, and C++. In the case of C++, developers can integrate the Object Model of STATISTICA seamlessly with other libraries such as the Microsoft Foundation Classes, the C++ Standard Library, and the Standard Template Library. For example, the STL's rich set of algorithms and function objects can easily work in unison with the library of objects and functions of STATISTICA within a custom application.

One advantage of using C++ within a custom STATISTICA application is the optimized speed performance associated with C++. Because of the language's low-level capabilities (e.g., the ability to embed inline assembly instructions), custom algorithms written in C++ are extremely efficient. Another advantage of C++ is that it is a compiled language, which offers source code security to keep your custom applications proprietary.

To utilize STATISTICA's library in a C++ application, simply include the *.dll (dynamic link library) or *.exe that you wish to import classes from into your project and import its COM interface. Most compiler implement COM importing differently, so please examine the examples provided along with reviewing your compiler's documentation.

  • C++ Programs
  • C# Programs
  • VB.NET Programs

STATISTICA C++ Programs

DownloadDownload Memory Statistics Example

The Memory Statistics example will retrieve the total amounts of memory available (categorized by physical, page file, and virtual memory). Next, descriptive statistics are ran on the two variables (total memory and available memory). Finally, the variables are totaled and the sum is appended to the spreadsheet.

To build the Memory Statistics Project:

  1. Place copies of sta_bas.dll and statist.exe (located in the directory where you installed STATISTICA) into the memory statistics project directory.
  2. Open MemoryStatistics.dsw in Microsoft Visual C++ 6.0.
  3. Build MemoryStatistics.exe.

DownloadDownload Save Spreadsheet Example

The Save Spreadsheet example will open Boston2.sta from the examples directory and export it as a text file into the same directory.

To build the Save Spreadsheet as Text Project:

  1. Place a copy of statist.exe (located in the directory where you had installed STATISTICA) into the SaveSpreadsheetAsText project directory.
  2. Open SaveSpreadsheetAsText.dsw in Microsoft Visual C++ 6.0.
  3. Build SaveSpreadsheetAsText.exe.

STATISTCA C# Programs

DownloadDownload C# Box and Whiskers Example

The C# Box and Whiskers example will prompt for a spreadsheet, open the spreadsheet in a new instance of STATISTICA, and finally create a Box and Whisker plot based on the dataset.

To build the C# Box and Whiskers Project:

  1. Open CSharpBoxWhisker.sln in Microsoft Visual Studio.NET.
  2. Build CSharpBoxWhisker.exe.

STATISTICA VB.NET Programs

DownloadDownload VB.NET CustomStats Example

The VB.NET CustomStats example will open a new instance of STATISTICA, open the dataset Adstudy.sta from your Examples directory, and then run custom VB.NET statistical functions defined in StatsMgr.vb.

To build the VB.NETCustomStats Project:

  1. Open VB.NETCustomStats.sln in Microsoft Visual Studio.NET.
  2. Build VB.NET.exe.

 

Home   |   Products   |   Services   |   Solutions   |   Support   |   Customers   |   Academic   |   Company   |   Contact Us
Copyright (c) 2010 www.statsoft.com Privacy Statement   |  Terms Of Use