var steps = [ { intro: "Now that the data has been prepared and organized, we will use the AB Trend and AB Controls tools to determine our control-treatment store pairs.", }, { intro: "It is important to think about differences between stores that would assist in properly matching control-treatment stores. Variables that were deemed important for the day spa facial test are:
The AB Trends tool automatically calculates the first two bullets – trend and seasonality. Filter tools will be used to group stores by region.", }, { intro: 'Two datasets will used as sources:', }, { intro: '

Weekly Store Traffic sample:

', }, { intro: '

Store List sample:

', }, { intro: 'One dataset will be created:', }, { intro: '

Control-Treatment Pairs sample:

', }, { element: '#tool1', intro: 'Input tool will be used to bring in the Weekly Store Traffic data that was created in the data preparation workflow.', position: 'right' }, { element: '#tool1', intro: 'Enter .\\Supporting_Macros\\Data\\Weekly_Store_Traffic.yxdb within the Connect a File or Database dialog

Leave Options section as defaults', position: 'right' }, { element: '#tool2', intro: "Numeric measures are needed in order to match treatment stores to control candidates. Two of the best measures to use are trend and seasonality. In this case, the AB Trend tool will use weekly store traffic data – which we created in the data preparation workflow – to calculate these measures.", position: 'right' }, { element: '#tool2', intro: '

Continued . . .

', position: 'right' }, { element: '#tool2', intro: '', position: 'right' }, { element: '#tool2', intro: 'Run the workflow to generate metadata through the AB Trend tool.', position: 'right' }, { element: '#tool10', intro: 'Input tool will be used to bring in the Store List data that was created in the data preparation workflow.', position: 'right' }, { element: '#tool10', intro: 'Enter .\\Supporting_Macros\\Data\\Store_List.yxdb within the Connect a File or Database dialog

Leave Options section as defaults', position: 'right' }, { element: '#tool3', intro: "The Store List data is added to the Weekly Store Traffic data stream using the Join tool. Connect the AB Trend Output to the Left Input and Store List to the Right Input.", position: 'right' }, { element: '#tool3', intro: 'Select Join by Specific Fields and select Store for both the Left and Right.


Also, uncheck Store from the Right Input.
', position: 'right' }, { intro: "We want to match control and treatment stores separately for each region. The next set of tools will be used to split the data stream into three regional streams — Midwest, East, and West." }, { element: '#tool4', intro: "Filter tool is used to remove all stores that are not in the Midwest Region.", position: 'right' }, { element: '#tool4', intro: 'Using a Basic Filter, configure to show:
Region = Midwest', position: 'right' }, { element: '#tool11', intro: "Filter tool is used to remove all stores that are not in the East Region.", position: 'right' }, { element: '#tool11', intro: 'Using a Basic Filter, configure to show:
Region = East', position: 'right' }, { element: '#tool14', intro: "Filter tool is used to remove the stores that are not in the West Region.", position: 'right' }, { element: '#tool14', intro: 'Using a Basic Filter, configure to show:
Region = West', position: 'right' }, { element: '#col5', intro: "Filter tool is used to subset data stream to only treatment stores — which will be connected to the Treatment (T) input of the AB Controls tool.", position: 'right' }, { element: '#col5', intro: 'Configure all three filter tools to use a Basic Filter with
Test_Group = CC', position: 'right' }, { element: '#col6', intro: "The AB Controls tool will use the Trend and Seasonality, calculated with the AB Trend tool, to match each treatment store to two control stores. All three AB Controls tools will be configured the same.", position: 'right' }, { element: '#col6', intro: '

Continued . . .

', position: 'right' }, { element: '#col6', intro: '

Continued . . .

', position: 'right' }, { element: '#col6', intro: '', position: 'right' }, { element: '#tool7', intro: 'The Union tool combines the data streams from all three Regions back into a single data stream. Connect the C Output from each AB Controls tool to the Union Input.', position: 'left' }, { element: '#tool7', intro: 'No configuration required', position: 'left' }, { element: '#tool8', intro: "After determining the control-treatment pairs, the store attribute information is joined onto our data stream using the Join tool. Connect the Left Input to the Union Output and the Right Input to the Store List Input Data tool.", position: 'left' }, { element: '#tool8', intro: 'Select Join by Specific Fields and select Treatments for Left and Store for the Right.


Also, uncheck Store from the Right Input.
', position: 'left' }, { element: '#tool9', intro: 'The Control-Treatment Pairs dataset is ready to be output using an Output Data tool.

This data will be used an an input for the A/B Analysis tool.', position: 'left' }, { element: '#tool9', intro: 'Enter .\\Supporting_Macros\\Data\\Control-Treatment_Pairs.yxdb within the Write to File or Database dialog

Leave Options section as defaults', position: 'left' }, { intro: 'Run the workflow to complete the AB Controls step.

After running the workflow, open the next guided workflow — 4. Analyzing your test results.' } ]; function startIntro(){ document.getElementById("overview").setAttribute("style", "display: none"); document.getElementById("walkthrough").setAttribute("style", "display: inline-block"); var intro = introJs(); intro.setOptions({ steps: steps, showBullets: false, showButtons: false, showProgress: true, exitOnOverlayClick: false, showStepNumbers: false, keyboardNavigation: true }); intro.start(); } // Add onclick="step('');" to div with tool function step(num){ var intro = introJs(); intro.setOptions({ steps: steps, showBullets: false, showButtons: false, showProgress: true, exitOnOverlayClick: false, showStepNumbers: false, keyboardNavigation: true }); intro.goToStep(num).start(); }