Worksheet Learn and AI Assist
The Windows 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
Ask how to organise or analyse your data. At the start of a conversation the assistant uses a short guide based on Statistical Method Selection to help you choose an analysis. It can search and read the entire bundled Help and draw on general statistical and R knowledge for questions beyond StatsDirect. Leave Share open workbook data unticked to ask a question without sharing the workbook. When you press Send, ChatGPT receives your question and can use the relevant Help. Leave names, patient identifiers and other confidential information out of your question. In ordinary use, the recent conversation also provides context. Choose New conversation to leave earlier shared content out.
If you ask the assistant to choose a test, it may first ask what you measured and how it was recorded (for example a quantitative measurement, an ordered rating or a category), what you want to compare, or how the observations are related (for example independent groups or matched pairs). Explain the meaning of any numeric codes, your comparison goal, and which measurements come from the same people or units. If you already know which method you need, ask for it by name.
If you want advice based on worksheet values, tick Share open workbook data above the question box. The workbook name appears in parentheses. Before sharing that workbook for the first time during a session, check it for person identifiers and tick I have checked the documents selected above contain no person identifiers. Remember this confirmation for those documents during this session. This confirms sharing for the named workbook. Each workbook needs its own confirmation, which is remembered when you switch between workbooks. Turn sharing off to stop further workbook reads.
Open suggested R code
AI Assist answers questions and leaves worksheet cells unchanged. If a reply includes code, expand Show R 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.
Choose and confirm a method
Select the cells in the worksheet, then select Choose a method in the chat. This opens the same list as Analyse on the worksheet toolbar. If a report is active, Choose a method returns to the workbook associated with the chat. The selected report remains the destination for results. You can 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.
Select Compare two means at the start of a new conversation. Choose Same people or units for a paired t test when the same people or units contributed both measurements. Choose Separate groups for an unpaired t test when the samples are independent. Use Change design if you need to change that choice.
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 to analysis. 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.
AI Assist can read approved worksheet data. 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
When your organisation restricts data sharing (level 2), AI Assist can still answer questions using packaged Help and suggest an analysis for you to confirm and run locally. 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.
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.