Guided analysis: from columns to a result you can share
Walk the seven steps of the Guided page. Give columns their roles, screen which ones matter, let Fit Y by X choose the method, answer what the data can't, and share a result with its checks.
What runs in CodeSplash
- Association screen (one outcome, many features) Verified in Python and R
You will be able to
- Start a guided plan from a dataset and give its columns roles
- Use the association screen to find which columns relate to the outcome
- Read how Fit Y by X picks a method from the column types
- Answer the design questions the data can't answer
- Choose between Explore and Confirm before you see results
Seven steps, one plan
ReadThe Guided page walks you from a dataset to a result in seven steps: Data, Columns & roles, Relationships, Question, Method, Results and Share. You can go back to any step at any time.
Everything you choose is saved in a plan. Each change has a reason, and History lists them all. When an earlier step changes after you finished a later one, the later step is marked out of date.
Start a plan from a dataset's menu with Guided analysis…, from Combine's Continue to analysis, from an Insights finding, or with New plan in the plan list.
Give every column a role
In the appOn Columns & roles, the Outcome is what you want to explain. Features might explain it. Adjust for holds columns constant, Group by splits the results, and Subject / ID says which rows belong to the same unit.
Roles that were filled in for you say where they came from, such as the data dictionary. The Leave out list ticks constant, duplicate and ID-like columns for you. Possible leaks are suggested, never ticked: you decide.
The facts strip under the roles counts the rows used, the rows per level, and repeated IDs.
Which columns matter?
ExploreRelationships ranks every feature against the outcome. Each card has a strength bar, a plain sentence, the rows used and a q-tier. The strength is how much that column alone predicts the outcome on rows it wasn't fitted on.
Open a card to see its chart, and use Control for… to split it by another column. Test this tests one pair properly, on a branch of the plan. Column map shows how the features relate to each other.
The same screen runs in Analyze as a method. Choose Which columns matter for the outcome? on the Question step and it comes first.
Method guide · association.screenAssociation screen (one outcome, many features)Which of many columns are associated with an outcome?How Fit Y by X chooses
PredictPredict first
The outcome is a number, monthly spend. The one feature is a category, the customer's plan. What does Fit Y by X pick?
Reveal
The answer: Oneway: compare the groups' means
Oneway. The type of the outcome (Y) and of the feature (X) pick the analysis. A number by a category compares means, with Welch's t-test for two groups and Welch's ANOVA for more. Two numbers give Bivariate, two categories give Contingency, and a category by a number gives Logistic. With several features, or columns to adjust for, it's Fit Model.
Why this method
In the appThe Method step explains the pick in Why this method: the rule's reason, what the data say, and What would change the choice. What the data can't check lists the premises you have to vouch for.
The recommended method comes with a robust default where one exists, such as Welch's t-test, which doesn't assume equal spread. Press the recommended method's button, such as Use Welch's t-test, or Use this instead on an alternative. The badge changes to In the plan.
Answer what the data can't
In the appAbout your study asks what only you know: whether each row is a different unit, whether the feature was assigned at random, whether you decided this before looking at these data, and the smallest effect that matters.
Where the data suggest an answer, it reads We think: …, with That's right or No, it's not. Your answers shape how the result may be worded. Unless the feature was assigned at random, for example, Share flags causal words in your text and suggests "is associated with" instead.
Explore or Confirm
ReflectA plan starts in Explore: look freely, and its tests count with the dataset's other exploratory tests. Confirm locks the plan before you see any result: the data version, the roles, the question and the method. Its planned tests then get their own family.
You can still change a locked part, but it's saved as a deviation, and releasing the lock needs a reason. Which of your current questions did you decide before you opened the data? Those are the ones worth locking.
Run, read, share
In the appPress Run on the Method step. Each run is an ordinary saved analysis that you can open in Analyze. Results opens with Can we trust it, the Report Card: the smallest effect this sample could detect, unusual data, the assumptions, and how many tests you ran. Walk through the result then tours the result card in six stops, from what was done to what it doesn't mean.
Share lists Before you share first, and an exploratory result carries its label. Then choose New report, Add to dashboard, Open as notebook or another destination.
Check your understanding
CheckpointCheck yourself
You have one outcome and 30 candidate columns, and you want to know which deserve a closer look. Which goal on the Question step fits?
Show the answer
Answer: b
It ranks the features by how strongly each relates to the outcome, with the association screen first. The result is a list of leads, not a list of causes.
Check yourself
In the screen, one column gets a held-out score near 0. What does that tell you?
Show the answer
Answer: b
The held-out score compares predictions from the column's groups or bins with predictions that ignore it, on rows those predictions weren't fitted on. Near 0 means no help. Near 1 usually means a leak.
Check yourself
The outcome is yes/no (renewed) and the one feature is a number (tenure in months). What does Fit Y by X pick?
Show the answer
Answer: d
A categorical outcome by a numeric feature: a logistic model shows how the odds change along tenure.
Check yourself
When should you switch a plan to Confirm?
Show the answer
Answer: a
Locking records what you'll test before you see results, so the test can keep its promise. Locking after a good result is choosing the family by its results.
Recap
Recap- A guided plan keeps every choice, with its reason, in seven steps you can revisit.
- Roles come first. Leave out IDs, constants and leaks before anything ranks the columns.
- The screen finds leads, and Fit Y by X picks the method from the column types.
- Answer the design questions, decide Explore or Confirm, then run, check and share.
Concepts in this lesson