visual3d:documentation:pipeline:metric_commands:metric_compute_confidence_ellipse
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| visual3d:documentation:pipeline:metric_commands:metric_compute_confidence_ellipse [2024/07/17 15:23] – sgranger | visual3d:documentation:pipeline:metric_commands:metric_compute_confidence_ellipse [2025/10/31 19:12] (current) – [Notes] wikisysop | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Metric Compute Confidence Ellipse ====== | ====== Metric Compute Confidence Ellipse ====== | ||
| + | ====Overview==== | ||
| - | Compute the 95 % confidence ellipse in 2 or more dimensions. | + | The **Metric |
| - | The smallest ellipse that will cover 95 % of the data points. | + | Can also be used to compute the area or volume |
| - | Compute the area or volume of an ellipse based on PCA. Does not require all vertices to be present for all frames. | + | =====Pipeline Command===== |
| - | \\ | + | The syntax for the function is as follows: |
| - | + | < | |
| - | **Metric_Compute_Trajectory_Ellipse** | + | Metric_Compute_Confidence_Ellipse |
| / | / | ||
| ! / | ! / | ||
| Line 21: | Line 22: | ||
| ! / | ! / | ||
| ! /END_FRAME= | ! /END_FRAME= | ||
| - | **;** | + | ; |
| - | \\ | + | </ |
| - | [[http://www.real-statistics.com/multivariate-statistics/multivariate-normal-distribution/confidence-hyper-ellipse-eigenvalues/|For more information see]] | + | |
| + | =====Command Parameters===== | ||
| + | |||
| + | The Parameters for the function are as follows: | ||
| + | |||
| + | |**/ | ||
| + | |**/ | ||
| + | |**/ | ||
| + | |**/ | ||
| + | |**/ | ||
| + | |**/[[Visual3D:Documentation: | ||
| + | |**/[[Visual3D: | ||
| + | |**/START_FRAME=** | ||
| + | |**END_FRAME=** | ||
| + | |||
| + | ====Dialog==== | ||
| + | |||
| + | The command can be edited in a text editor or in a dialog form. To edit in the dialog pop up form either click on the **Edit** button in the pipeline workshop or double-click on the pipeline command. The dialog is shown below. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The dialog box allows you to assign values to the command parameters outlined above. | ||
| + | |||
| + | =====Example: | ||
| + | In this example the **Metric Compute Confidence Ellipse** command is used to compute the values associated with the confidence ellipse for left and right COFP during a balance trial. This analysis can be useful to compare balance consistency between sides using ellipse areas. | ||
| + | |||
| + | The pipeline command for each side is: | ||
| + | |||
| + | < | ||
| + | Metric_Compute_Confidence_Ellipse | ||
| + | /SIGNAL_TYPES=COFP | ||
| + | ! /SIGNAL_FOLDER=ORIGINAL | ||
| + | /SIGNAL_NAMES=FP3 | ||
| + | /COMPONENT_SEQUENCE=X + Y | ||
| + | ! / | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ; | ||
| + | |||
| + | Metric_Compute_Confidence_Ellipse | ||
| + | / | ||
| + | ! / | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ; | ||
| + | </ | ||
| + | |||
| + | The resulting metric is found in the **METRIC: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The metric for this example contains 3 components, with 3 values for each component. The results are as follows: | ||
| + | |||
| + | Frame 1: | ||
| + | |X| Volume| | ||
| + | |Y| average of all frames of input component 1| | ||
| + | |Z| average of all frames of input component 2| | ||
| + | |||
| + | Frame 2: (for input component 1) | ||
| + | |1| Eigenvalue| | ||
| + | |2| Eigenvector| | ||
| + | |3| Eigenvector| | ||
| + | |||
| + | Frame 3: same as frame 2, but for input component 2 | ||
| + | |||
| + | If you have two input components, frame 1 X is the area, if you have three input components, Frame 1, X is the volume. | ||
| + | |||
| + | |||
| + | |||
| + | **The ellipse can also be visualized in the reports tab:** | ||
| + | |||
| + | Add a new 2D Graph to your report with the appropriate X and Y data and make sure to select **Graph Confidence Ellipse**. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The resulting graph should look similar to below: | ||
| + | |||
| + | {{: | ||
| + | ====Notes==== | ||
| - | Resulting Signal | + | For more information see, [[http:// |
| - | Frame 1 contains volume and average value | ||
| - | Starting at frame 2 | ||
| - | one frame for each dimension containing the eigenvalue and eigenvector (e.g. scale and unit vector) | ||
visual3d/documentation/pipeline/metric_commands/metric_compute_confidence_ellipse.1721229791.txt.gz · Last modified: by sgranger
