R-integration into STATISTICA.
Introduction. STATISTICA provides the facility to run R-code into the statistica software. If R-software is installed in user machine, only they have to installed R DCOM library to integrate Statistica with R. R DCOM library should automatically installed the first time STATISTICA is open. If that does not work, then you can download it from “ Download and install the “rscproxy” R package. This should happen automatically the first time STATISTICA is open. If that does not work, then you can do it manually as follows: contd…..
How to write R-code? Go to the File,select “New” tab and click on “Macro”. Give a file name and select “R (requires R statistical environment)” and click ok.
In the macro editor you can direct write R-code, starting from data importing. At the last part user need to define “Route Output” to get the result into the Statistica spreadsheet. ( It is not required for graph).
Out put. The output will come according to the order that has been defined into the macro. (red circled).
First table showing the values of fitted and residuals. Second table is the Scatter plot of every pairs. Graph automatically comes into “.stg” format.
First graph is for Normal probability plot of residuals. Second graph is for outlier detection.
Thank you. Krishnendu Kundu StatSoftIndia.