Report

Powerful Programming Options for Users and Developers

You don't have the latest version of Adobe Flash Player.

Please update your flash player.

Get Adobe Flash player

Please login or register to make a comment!

Powerful Programming Options for Users and Developers PASW ® Statistics Programmability Extension 18 The PASW Statistics Programmability Extension* dramatically increases the power, capabilities, and usability of PASW ® Statistics*. Developers and end users can use this feature to extend the command syntax language, introduce additional statistical func- tionality, and access the PASW Statistics engine from external applications. The PASW Statistics Programmability Extension enables your organization to extend PASW Statistics with external programming languages such as Python ® , R, and the .NET version of Microsoft ® Visual Basic ® .

It also allows external applications to access the PASW Statistics Processor and draw upon its vast wealth of functionality. With the PASW Statistics Programmability Extension, you can: n Use external programming languages from within the PASW Statistics command syntax by using the BEGIN PROGRAM and END PROGRAM commands 3 The external language for which you have installed integration support is invoked via BEGIN PROGRAM 3 Statements between BEGIN PROGRAM and END PROGRAM are written in the external programming language you have chosen, and are executed entirely by the external language 9s processor 3 Different supported languages can be called in separate programs within command syntax n Gain programmatic access to the ... more. less.

PASW Statistics analytical engine through an application program interface (API). APIs provide programs with: 3 Direct access to the active dataset 9s variables, variable properties and attributes (name, format, labels, measurement level, type, and user-defined attributes), case count, and case data 3 Access to an in-memory, XML version of the data dictionary and procedure output 3 An XPath evaluation engine that allows access to and navigation of the in-memory XML workspace 3 A method for queuing and executing command syntax 3 Direct access to the last error code and message n Develop your own procedures 4 including those for statistical analyses not included in PASW Statistics 3 Define new syntax in PASW Statistics style via an XML schema and have PASW Statistics handle parsing and error checking 3 The procedure can send results into an PASW Statistics pivot table or into text blocks 4 essentially extending the analytical capabilities of PASW Statistics Benefits n Extend PASW Statistics functionality.<br><br> The PASW Statistics Programmability Extension enables you to add functionality not included in PASW Statistics Modules. n Write generalized and more flexible jobs. Create generalized jobs by controlling logic based on the Variable Dictionary, procedure output (XML or datasets), case data, and environment.<br><br> Reusable code means data are not tied to a single program. n Handle errors with generated exceptions. The PASW Statistics Programmability Extension makes it easy to check whether a long syntax job worked.<br><br> n React to results and metadata n Build PASW Statistics functionality into other applications Take advantage of procedures created and shared by other users through SPSS Developer Central How to get started 3integration plug-ins Since the PASW Statistics Programmability Extension is included with PASW Statistics, you can get started quickly. PASW Statistics Programmability Integration Plug-Ins are available online at SPSS Developer Central, www.spss.com/devcentral . This allows you to take advantage of this advanced programmability functionality immediately.<br><br> n Obtain server-side scripting through external languages 3 An open extension to the PASW Statistics backend enables you to write code using suitable external programming languages and include the code within production syntax jobs 3 Scripts execute at the location of your PASW Statistics processor. Depending on the type of system you are using, your scripts will execute on either the client or the server. If you execute scripts on PASW ® Statistics Server*, you can perform operations previously available only through client-side scripting.<br><br> Programming capabilities Combining backend processor APIs with an external programming or scripting language opens up a limitless set of new possibilities from within syntax jobs. For example, use the PASW Statistics Programmability Extension to control the flow of your command syntax jobs through conditional execution control statements (such as cIf/Then/Else d) and looping control statements (such as cFor d and cWhile d) found in the external programming language 9s syntax. Use scripts written in external programming languages to conditionally execute or make decisions about which syntax is executed based on a particular condition, such as: n The value of the variable attributes in the data dictionary n Values in the output n Values in the active dataset n Error-level return codes from PASW Statistics procedures In short, you can create reusable code that speeds the process of turning data into decisions.<br><br> Additionally, take advantage of all your external programming language 9s non-PASW Statistics-related capabilities in your scripts. For example, have a production job trigger an e-mail notification once your job has successfully completed. PASW Statistics Syntax Job Flow Command 1 Check state of dictionary, output, or return code Command 2 Command 3 Pass Fail Control the flow of your PASW Statistics syntax jobs.<br><br> In this example, command 1 is executed. Then, if the dictionary, output, or return code passes, command 2 is performed. If it fails, command 3 is performed instead.<br><br> * PASW Statistics Programmability Extension, PASW Statistics, and PASW Statistics Server, formerly called SPSS Programmability Extension, SPSS Statistics, and SPSS Statistics Server , are part of SPSS Inc. 9s Predictive Analytics Software portfolio. Before installing the PASW Statistics-Python Integration Plug-In, you will need to install Python. The version of Python recommended for your version of PASW Statistics is included with your PASW Statistics software.<br><br> PASW Statistics-.NET Integration Plug-In The PASW Statistics-.NET Integration Plug-In is a complete, freeware example plug-in for integrating the .NET*** version of Microsoft Visual Basic with the PASW Statistics Programmability Extension. The PASW Statistics-.NET Integration Plug-In includes: n An installer that configures itself for use with PASW Statistics n A native .NET package, which contains a library of functions that interact with the PASW Statistics backend processor API n Complete documentation with examples The PASW Statistics-.NET Integration Plug-In allows you to drive the PASW Statistics analytical engine from an external application. Before installing the PASW Statistics-.NET Integration Plug-In, you will need to download and install a copy of the .NET Framework from the Microsoft Download Center at www.microsoft.com/downloads.<br><br> ** SPSS Inc. is not the owner or licensor of the Python software. All Python users must agree to the terms of the Python license agree- ment located on the Python Web site.<br><br> SPSS Inc. does not make any statement about the quality of the Python program. SPSS Inc.<br><br> fully disclaims all liability associated with your use of the Python program. For more information on Python, visit www.python.org. *** SPSS Inc.<br><br> is not the owner or licensor of the .NET Framework. All .NET users must agree to the terms of the license agreement located on the Microsoft Web site. SPSS Inc.<br><br> does not make any statement about the quality of the .NET Framework. SPSS Inc. fully disclaims all liability associated with your use of .NET Framework.<br><br> For more information on .NET, visit www.microsoft.com/net. A PASW Statistics Programmability Integration Plug-In provides the crucial link and configuration instructions that enable a syntax job to take advantage of a specific external programming language or dynamic link library (DLL). Also available for download is the PASW Statistics Programmability Extension SDK.<br><br> This provides software developers with the information needed to develop a PASW Statistics Programmability Integration Plug-In for a programming language 9s use with the PASW Statistics Programmability Extension. In addition to providing documentation for creating a new plug-in, it includes the full source code for the example PASW Statistics-Python Integration Plug-In. New Programmability Integration Plug-Ins are being developed by SPSS Inc., and will be available to download at SPSS Developer Central as soon as they are ready.<br><br> PASW Statistics-Python Integration Plug-In The PASW Statistics-Python Integration Plug-In is a complete, freeware example plug-in for integrating the open source Python** programming language with the PASW Statistics Programmability Extension. The PASW Statistics-Python Integration Plug-In includes: n An installer that configures itself for use with PASW Statistics n A native Python package, which contains a library of functions that interact with the PASW Statistics backend processor API n Complete documentation with examples The PASW Statistics-Python Integration Plug-In enables you to use the BEGIN PROGRAM and END PROGRAM syntax commands to extend syntax with Python programming. You can also use this plug-in to access and drive the PASW Statistics backend processor from an external application.<br><br> SPSS Developer Central SPSS Developer Central can be found at www.spss.com/ devcentral . It is the online resource for end users and software developers interested in PASW Statistics-related programming and development. From this Web site, you can download programmability extensions and sample code, access forums and participate in discussions on programmability practices, and read in-depth articles on PASW Statistics programmability topics.<br><br> At SPSS Developer Central, you 9ll also find many example libraries and syntax jobs for use with plug-ins such as the PASW Statistics-Python Integration Plug-In. Some examples of Python resources include: n Functions for simplifying the calls to the PASW Statistics backend processor for common tasks n Functions for working with the PASW Statistics Viewer n Bootstrap regression n Poisson regression Another great resource for programmability in PASW Statistics is SPSS Programming and Data Management: A Guide for SPSS and SAS ® Users . This book documents the wealth of functionality beneath the PASW Statistics user interface.<br><br> It includes detailed examples of command syntax, the Output Management System (OMS), and extending command syntax with the Python ® programming language. For information on how to obtain a copy of this guide, visit www.spss.com/statistics/base/data_management_book.htm. PASW Statistics-R Integration Plug-In The PASW Statistics-R Integration Plug-In is a complete, freeware example plug-in for integrating the R programming language with the PASW Statistics Programmability Extension.<br><br> The PASW Statistics-R Integration Plug-In includes: n An installer that configures itself for use with PASW Statistics n An integrated R package, which contains a library of functions that interact with the PASW Statistics backend processor API n Complete documentation with examples The PASW Statistics-R Integration Plug-In enables you to use the BEGIN PROGRAM and END PROGRAM syntax commands to extend syntax with R programming. Before installing the PASW Statistics-R Integration Plug-In, you will need to download and install a copy of the R language from www.r-project.org . Create user-defined procedures Extend the functionality of PASW Statistics by creating user- defined procedures for specific statistical applications.<br><br> Using the Custom Dialog Builder in combination with the PASW Statistics Programmability Extension enables you to: n Build customized user interfaces to support algorithms written in Python or R n Add those custom interfaces to your menu system, where they can be accessed by other users To learn more, please visit www.spss.com. For SPSS Inc. office locations and telephone numbers, go to www.spss.com/worldwide.<br><br> SPSS is a registered trademark and the other SPSS Inc. products named are trademarks of SPSS Inc. All other names are trademarks of their respective owners.<br><br> © 2009 SPSS Inc. All rights reserved. SPE18INS-0709 SPSS Inc.<br><br> is not the owner or licensor of R. All R users must agree to the terms of the license agreement located on the R project web site. SPSS Inc.<br><br> does not make any statement about the quality of R. SPSS Inc. fully disclaims all liability associated with your use of R.<br><br> For more information on R, visit http://www.r-project.org/.

less

Copyright © 2010 beepdf.com. All rights reserved.