Difference between revisions of "Calculations"

From dataZoa Wiki
Jump to: navigation, search
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
<b><i>Calculations</i></b> are math formulas that calculate new data series from other series.
+
<div class="imgGlyph24 imgConcept"></div> <b><i>Calculations</i></b> are math formulas that derive new [[About_Series|data series]] from other series.
 +
 
 +
{{CalculationIllustration}}
 +
 
 +
<ul>
 +
<li>Calculations can use other calculated series as inputs</li>
 +
<li>All interdependencies are tracked and re-evaluated as needed</li>
 +
<li>Calculations are <i>stored</i> in your dataZoa account and <i>evaluated</i> in dataZoa's [[About_the_ComputeCloud|ComputeCloud]]</li>
 +
<li>A calculation in dataZoa works just like a cell in a spreadsheet, except that the "cell" contains an entire series!</li>
 +
</ul>
  
<table><tr><td>
 
<div class="imgGlyph24 imgConcept"></div> A calculation in dataZoa works just like a cell in a spreadsheet, only applied to an entire time-series in one shot!
 
</td></tr><tr><td>
 
{{Template:Disambiguate|content=Your <i>calculations</i> are stored in your account and evaluated in the dataZoa [[ComputeCloud_Described|ComputeCloud]].}}
 
</td></tr></table>
 
<br><br>
 
  
== Common Features ==
 
<div>
 
All dataZoa calculations share some common features:
 
* Live - automatically updated whenever underlying data or calculations change
 
</div>
 
  
 
== Creating ==
 
== Creating ==
Line 36: Line 34:
 
== Sharing ==
 
== Sharing ==
 
<div>
 
<div>
The result of a Calculation is a distinct {{:Series|data series}}, which can be {{Template:Series#Sharing|shared}} like any other as you see fit.
+
The result of a Calculation is a distinct data series, which can be [[About_Series#Sharing|shared]] like any other as you see fit.
 
</div>
 
</div>
  
[[Category:Calculations]][[Category:Examples]][[Category:Advanced]][[Category:Intermediate]][[Category:Editing]][[Category:How_To...]]
+
== Deleting ==
 +
<div>
 +
The result of a Calculation is a distinct data series, which can be [[About_Series#Deleting|deleted]] like any other series, however:
 +
 
 +
<div class="imgGlyph24 imgWarning"></div> If the series being deleted has any [[Calculated_Series#Descendants|descendants]], they will be invalidated.
 +
 
 +
</div>
  
 
[[Category:Definitions]]
 
[[Category:Definitions]]
 +
[[Category:Calculations]]
 +
[[Category:Examples]]
 +
[[Category:Advanced]]
 +
[[Category:Intermediate]]
 +
[[Category:Editing]]
 +
[[Category:How_To]]
 +
[[Category:Compute]]

Latest revision as of 14:12, 22 October 2020

Calculations are math formulas that derive new data series from other series.

Immensely powerful,
simple to use.

Create Calculation
  • Calculations can use other calculated series as inputs
  • All interdependencies are tracked and re-evaluated as needed
  • Calculations are stored in your dataZoa account and evaluated in dataZoa's ComputeCloud
  • A calculation in dataZoa works just like a cell in a spreadsheet, except that the "cell" contains an entire series!


Creating

From the dropZone

From the dropZone, open the Gear menu, check Pick individual series, select your input series, then pop open Make a ComputeCloud Formula. See illustrations here.

From the Workbench

From the Workbench, checkbox the series you want to include, then click the + button in the header to pop open the formula editor. See illustrations here.

If you want to build several calculations from the same general group of data, consider using the dZCorkboard.

Editing

To edit an existing calculation, use the dropZone or Workbench.

Your calculated series are marked with a blue formula flask. When you hover on the series and click on its flask
you get a menu with several calculation options. The first one opens the formula editor with the formula and setting for the calculation being edited.


Tab:
Formula

Inputs Section

The Series you checked are the inputs to your Formula:
Calculation Inputs

Formula Section

Use V1, V2, etc. as your formula variables:
Calculation Formula

By their very nature, Formulas are an open-ended topic. These are excellent points of departure:

Buttons Section

Use these buttons to test and finally save your Formula:
Calculation Buttons

Tab:
Options (Advanced)

These options are used to override the natural default behaviors for NA handling and the padding/trimming of series that do not start and end at the same point in time.

Sharing

The result of a Calculation is a distinct data series, which can be shared like any other as you see fit.

Deleting

The result of a Calculation is a distinct data series, which can be deleted like any other series, however:

If the series being deleted has any descendants, they will be invalidated.