How to write an analysis equation. (advanced), How to write an analysis equation – Ag Leader SMS Basic and Advanced Manual User Manual

Page 126

Advertising
background image

SMS Basic and Advanced Manual

make these selections and all that data will go into the comparison analysis. This provides you with as much
flexibility as possible in determining how much or how little you want to get compared in the results. Once
you have made your selections, click the NEXT> button.

4.

The Edit Data Filter Results dialog will now be displayed and provides a tree view of all the datasets that
met your filter selections on the previous dialog. You can remove any datasets that are listed that you do not
want to be included in the comparison analysis. Click the FINISH button once you are satisfied with the
datasets that will be used for the analysis.

5.

Once the analysis completes, you will return to the main window and an

Analysis Document

will be

displayed. You will see your comparison analysis report as well as two tabs containing analysis charts for
the comparison data. You can now edit the analysis report/chart display options, such as logos, column
names, the attributes to display on the report, etc. by clicking your right mouse button on the report/chart
and selecting Edit Report/Chart Options or under the EDIT menu and OPTIONS.

6.

Once you are satisfied with the Analysis Report/Chart(s) you can select to print the current document or
Save to HTML for a report or Save to Image for a chart. You can also save a workspace to see the currently
displayed results when you open the workspace again.

How to write an analysis equation. (ADVANCED)

Follow these steps to write an analysis equation:

1.

Go to the Analysis Menu and select Analysis Wizard.

2.

The Select Analysis Type to Run dialog should now appear. Select the Equation Based Analysis button from
the list of Analysis Functions. Click the ADD button to create a new saved Equation Based Analysis or select
a saved analysis from the list.

3.

If creating a new analysis to save, the first step is to give a custom name and description to the new
analysis function. Click the NEXT> button to continue.

4.

The Set Analysis Result Type(s) dialog should now appear. This dialog allows you to define one or more
result datasets and attributes or temporary results such as sub-equations or prompts. Follow the steps below
for this dialog:

Analysis Results/Attributes to Generate from an Equation(s)

1.

Add an analysis result(s) and an attribute(s) to generate, giving the attributes names you can
easily identify and understand. These names will not be used anywhere else in the software and
are used only in the analysis function to help identify the analysis results and build the equations,
so you can give them the same name of the actual system attribute that you assign them to if you
want. Then you need to pick an existing attribute in your system to link your result attribute to.
Lastly, you can set the minimum and maximum ranges for your results as well as a rounding
value. Both of these settings help to validate your result values to acceptable values as well as
help limit the number of unique values that may be generated. Repeat this process for as many
result attributes as you want to generate. So if you want to create a prescription rate via an
equation, you would ADD one with a name of " LIME RATE" and a Description of "Equation for
generating lime rates".

Add multiple analysis results to build a multi-product prescription, i.e. a result for N, P ,
and K along with Target Rate attributes in each.

2.

Now assign the result attribute to the Prescription Attribute Group and the Target Rate (Mass)
attribute. Also make sure to set the units that the result attribute should be displayed as.

3.

Lastly, set an operation to default the result attribute to. This is important if you want the results to
be displayed and treated like a specific operation, so in the example above since we are creating
a prescription dataset, we would want to set the Result Operation to Fertilizing Prescription (Dry).

Temporary Results - Sub-Equations and Prompts (Optional)

1.

Add temporary results that can either be used within your equation to simplify them or as inputs
that you will be prompted for when you run the equation. The two types of temporary results
are:

Define Using Equation - This option creates a temporary result that you use to write a
sub-equation for that can then be inserted into your main equation as a symbol . You
simply add the temporary result name to your equation wherever you want the sub-
equation to run and provide a result value to your main equation as it runs. It provides a
way to simplify your equations and reduce the amount of work you have to do to set up
complex equations.

Prompt for Value When Analysis is Run - This option allows you to define a temporary
result that you can insert into your equation as a symbol, like a regular attribute. The
difference is that when the equation is run, you will be prompted to enter in a value every
time a temporary result of this type is found. This is extremely useful when writing a
generate equation that has input values that vary by crop or even customer that the
equation is run for. So if you have a lime recommendation equation that had Yield Goal

120

Advertising