Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I create full-featured Scrollsheets in STATISTICA BASIC?

0
Posted

Can I create full-featured Scrollsheets in STATISTICA BASIC?

0

In addition to the various report, external file, or data file output options (see the previous topic), you can create new Scrollsheets or cascades of Scrollsheets (directly from within your BASIC program) and display your tabular or text results in a way that is most efficient to review. Creating a simple output Scrollsheet takes just one line of code, and as a result. The following program will compute a correlation matrix and display it (and then print) in a Scrollsheet: ReDim corr(NVars, Nvars); {declares a square array corr of size equal to the number of variables in the current data file} MatrixCorrelations(Data, 1, corr); {computes correlations from data in the array corr} name$ := VarName(1); {places 1st variable name in string variable name$} for i := 2 to NVars do {beginning of a loop: FOR..TO..DO..} name$ := name$ + ‘|’ + VarName(i); {builds a delimited string containing variable names} scr := NewScrollsheet(NVars, Nvars, corr, ‘Correlations’, name$, name$); {displays the co

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123