Worksheet Learn and AI Assist
The worksheet toolbar has two ways to get guidance. Learn opens the lesson library, including worked examples and practice questions that you can use without an AI connection. AI Assist opens a conversation for the current workbook. While it is open, AI Assist follows the workbook you bring to the front after any reply finishes, restoring that workbook’s conversation and sharing choice.
Ask a question
AI Assist opens to the right of the worksheet. The header shows the workbook and your current selection, for example Selection: Sheet!A1:B6 or Current cell: Sheet!A1. The conversation scrolls above Your reply, which stays at the bottom. Type a question and choose Send. Enter (Return on Mac) sends your reply. Hold Shift with that key to add a line. ChatGPT can use relevant StatsDirect Help as well as general statistical and R knowledge. Keep names, patient identifiers and other confidential information out of your question.
Open More for New conversation or ChatGPT connection…. On Windows you can also choose Pop out and use Dock to put the pane back. Stop and Reply in progress… appear while AI Assist is responding. If you switch workbooks during a reply, the reply stays with the original workbook. The pane follows the new workbook when the reply ends or you choose Stop. Each workbook keeps its conversation, draft and sharing choice.
An empty workbook offers Open example workbook and Workbook help. A new conversation in a workbook with data offers Help me choose a method or Browse methods. These opening choices leave room for the conversation once you start.
If you ask the assistant to choose a test, it may first ask what you measured, what you want to compare or how the observations are related. Explain the meaning of any numeric codes, your comparison goal and which measurements come from the same people or units. If the question offers answers such as Matched observations or Separate groups, select the answer that describes your study. Help me choose a method follows Statistical Method Selection, and StatsDirect asks its first questions itself. It asks what sort of investigation you are tackling: Comparison of two independent groups, Comparison of response of a group under different conditions or Relationship between two variables measured on the same group, with Assess agreement as a further choice. For either comparison it then asks you to select a measurement scale: Interval or ratio, Ordinal, Nominal with order, Nominal without order or Dichotomous. To compare proportions, choose the comparison and then Dichotomous. For an interval or ratio scale the next card checks the two columns you have selected. Other answers go to the assistant. Use I’m not sure when you need help deciding. If you already know which method you need, ask for it by name.
Share workbook data
To ask a question without sharing workbook values, leave the sharing control beside Send on Workbook not shared. To share values, open that control and tick Share open workbook data for the named workbook. Remove names, IDs and anything else that could identify someone before sharing. Then tick This workbook contains no information that identifies people. The options close and the control reads Workbook shared. Open it again to turn sharing off. Each workbook needs its own confirmation. If two open workbooks have the same name, check the location shown in the sharing options.
The unchanged workbook opened from Help > Example workbook is public and shows Sharing the public Example workbook. An edit ends this automatic sharing. A new conversation starts with sharing off, and a copy opened normally needs its own confirmation.
On Mac, use Send only the current question in the sharing options to exclude earlier messages, and include any details AI Assist asked for. In ordinary use the recent conversation can provide context on both platforms. After you have sent a question with workbook sharing on, turning it off limits later sends to the current question until you share again or start a new conversation.
When workbook sharing is on, you can ask about analysis results in the report in front. The first time, AI Assist asks May I read the report, followed by the report’s name. Choose Yes to allow it to read those results. Your answer is remembered for that report until you start a new conversation or turn workbook sharing off. The automatically shared Example workbook still requires your permission to read a report. After you run a method opened through AI Assist, the assistant may ask for that permission automatically and offer to interpret the results.
Expand Data used under a reply to see the workbook, worksheet and ranges read. (headings) marks first-row text sent as column titles. (part of the worksheet’s used range) marks a partial read. If a reply stops or fails after reading cells, its note remains, even if the reply shows only [Reply stopped before any text.] or [No reply was received.].
Open suggested R code
AI Assist answers questions and leaves worksheet cells unchanged. If a reply includes code, expand the suggested code to see it. Choose Open in R to open an editable script. StatsDirect includes a fixed snapshot of the worksheet values read for that reply. Ask a follow-up to get a new analysis using current approved values.
Review the code, then choose Run script in the R window. When R finishes, choose Add output to report to save the text output and charts in a StatsDirect report. This adds the newest run that has output. To add an earlier run, choose it from the list beside the button first. The report names the script and the run. It says if the run was interrupted or if some of its output is no longer in the console. On Mac, an R window that runs without the interactive console adds its one result and has no list.
Choose and confirm a method
Select the cells you want to analyse. Browse methods opens the same list as Analyse on the worksheet toolbar. On Windows you can also open More > Browse methods during a conversation. If a report is active on Windows, the picker returns to the workbook associated with the chat and the selected report remains the destination for results. Search for a method such as Mann–Whitney and select it. AI Assist can also suggest a method from this list in response to a question.
When asked about your study design, select Same people or units if both measurements come from each person or unit, or Separate groups for independent samples. The next card helps you choose a method using the size and distribution of the samples. Select two adjacent visible columns in one worksheet range. On Mac, if First row has column names is ticked, select data below the names. A selection of the names alone contains no data.
- For paired data, use Check selected pairs if prompted. The local check counts complete pairs, can show Shapiro–Wilk W and P for up to 100 pairs, and may ask you to review the differences. Above 100 pairs it reports the number outside the 3 × IQR fences, skewness and excess kurtosis. Large sample (n > 100) and Small to medium sample from a normal distribution lead to the paired t test. Small to medium sample from a non-normal distribution leads to Wilcoxon signed ranks, as does Non-normal differences above 100 pairs. Consider Wilcoxon for a shift in location when the differences are roughly symmetric. Use the paired t test for a question about the mean difference.
- For independent samples, choose Check two sample columns if prompted. The card shows each group’s count and can show Shapiro–Wilk for a group with up to 100 observations. Large sample (n > 100) leads to the two-sample z test, Small to medium sample from a normal distribution to the unpaired t test, and Small to medium sample from a non-normal distribution to Mann–Whitney, as does Non-normal distributions within groups above 100 in each group.
These two cards use the wording of Statistical Method Selection. A card offers only the choices that fit the counts it shows; above 100 a non-normal choice remains. For independent groups, two selected columns are taken as the two samples. If they hold the same number of observations, the card first asks whether they are independent groups or paired measurements. The card says what the Shapiro–Wilk results mean. Treat them as a guide and look at a plot of the data as well, for example a histogram, a box and whisker plot or a normal plot.
Check the reason under Suggested branch, or follow Review the differences before deciding. Use Change design to go back. The checks run on your computer even when workbook sharing is off. If a choice conflicts with the counted sample size, the card explains which choices apply. If the card refreshes after a change to the selection, choose again on the updated card.
The confirmation in the chat shows the method, its menu location, the worksheet and selected cells, and the destination when the method produces a report. Check these details, then choose Continue on Mac or Continue to analysis on Windows. StatsDirect opens the usual controls or runs the method with the available settings. It asks you to choose the method again if the worksheet, selection or report destination has changed.
Use Change sample choice in a confirmation to return to the sample card, or Change design when that option appears. On Mac, choose Cancel to close the confirmation.
AI Assist can read approved worksheet data. On Windows, a native Data command may change worksheet cells after you confirm and use its usual StatsDirect controls. Choosing a method and continuing in StatsDirect sends no workbook data or results to ChatGPT.
Using AI Assist under an organisation's policy
On Mac, an administrator can turn off online AI. The lesson library, local Help and the Analysis menu stay available.
On Windows, when your organisation restricts data sharing (level 2), AI Assist can answer questions using packaged Help. You can still use the local method cards, check a selection and confirm and run an analysis. Workbook sharing is unavailable. Each request sends the latest question and relevant Help. Your workbook, earlier conversation and local results stay on your computer. If the assistant asks for more information, send the full question again in one message with all the requested non-confidential details, such as what you measured, what you want to compare and how the observations are related.
On Windows, when your organisation restricts AI (level 3), AI Assist cannot connect. Learn, local help, and the analyses on the Analysis menu remain available. See Script AI for sign-in and Windows policy details.