30+
years serving the scientific and engineering community
Log In
Buy Now
Try Origin for Free
Watch Videos
English
日本語
Deutsch
Toggle navigation
Products
PRODUCTS
Origin
OriginPro
Origin Viewer
All products
Origin vs. OriginPro
What's new in latest version
Product literature
SHOWCASE
Applications
User Case Studies
Video Tutorials
Graph Gallery
Animation Gallery
3D Function Gallery
FEATURES
2D&3D Graphing
Peak Analysis
Curve Fitting
Statistics
Signal Processing
Key features by version
LICENSING OPTIONS
Node-locked(fixed seat)
Concurrent Network (Floating)
Dongle
Academic users
Student version
Commercial users
Government users
Non-Profit users
Why choose OriginLab
Who's using Origin
What users are saying
Published product reviews
Online Store
Get a quote/Ordering
Find a distributor
Apps
Data Import
CSV Connector
Excel Connector
HTML Connector
HDF Connector
NetCDF Connector
Import NMR Data
Import PDF Tables
Google Map Import
Import Shapefile
More...
Graphing
Graph Maker
Correlation Plot
Paired Comparison Plot
Venn Diagram
Taylor Diagram
Volcano Plot
Kernel Density Plot
Chromaticity Diagram
Heatmap with Dendrogram
More...
Publishing
Graph Publisher
Send Graphs to PowerPoint
Send Graphs to Word
Send Graphs to PDF
Send Graphs to OneNote
Movie Creator
Graph Anim
More...
Curve Fitting
Simple Fit
Speedy Fit
Piecewise Fit
Fit ODE
Fit Convolution
Rank Models
Fitting Function Library
Neural Network Regression
Polynomial Surface fit
Global Fit with Multiple Functions
More...
Peak Analysis
Simple Spectroscopy
Peak Deconvolution
Pulse Integration
Align Peaks
Global Peak Fit
PCA for Spectroscopy
2D Peak Analysis
Gel Molecular Weight Analyzer
More...
Statistics
SPC
DOE
Stats Advisor
PCA
RDA
Bootstrap Sampling
Time Series Analysis
Factor Analysis
General Linear Regression
Logistic Regression
SVM Classification
More...
How do Apps work in Origin?
Suggest a New App
Purchase
New Orders
Renew Maintenance
Upgrade Origin
Contact Sales(US & Canada only)
Find a Distributor
Licensing Options
Node-locked(fixed seat)
Concurrent Network (Floating)
Dongle
Academic users
Student version
Commercial users
Government users
Non-Profit users
Why choose OriginLab
Purchasing FAQ
Support
SERVICES
Transfer Origin to new PC
License/Register Origin
Consulting
Training
Renew Maintenance
SUPPORT
Support FAQ
Help Center
Contact Support
Support Policy
DOWNLOADS
Service Releases
Origin Viewer
Orglab Module
Product Literature
Origin Trial
All downloads
VIDEOS
Installation and Licensing
Introduction to Origin
All video tutorials
DOCUMENTATION
User Guide
Tutorials
Python Programming
OriginC Programming
LabTalk Programming
All documentation
Communities
User Forum
User File Exchange
About Us
OriginLab Corp.
News & Events
Careers
Distributors
Contact Us
Contact Us
Log In
LabTalk Scripting Guide
>
Analysis and Applications
>
Statistics
All Books
Non-Programming Books
User Guide
Tutorials
Quick Help
Origin Help
Programming Books
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
Apps
App Development
Code Builder
License
Orglab
3.5.2 Statistics
General-Stat
Contents
1
Basic
2
Conditional Statistics
3
Data Manipulation
4
Estimation
5
Time Series
6
Advanced
Basic
Name
Brief
Example
Count
Counts elements in a vector.
Example
Cov
Returns the covariance between two datasets.
Forecast
Performs linear regression on the known XY coordinates to calculate or predict y coordinate at given coordinate x.
Example
Intercept
Calculates the intercept of the linear regression of the given curve.
Example
Max
This function returns the maximum value from a set of values.
Example
Maxifs
Returns the maximum value from a given dataset
vd
that satisfies a specified condition
con
.
Example
Mean
Returns the average of a vector.
Example
Median
This function is used to return median of vdData with
n
Interpolation.
Example
Min
This function is used to return the minimum value from a set of values.
Example
Minifs
Returns the minimum value from a given dataset
vd
that satisfies a specified condition
con
.
Example
Rms
This function is used to return the root mean square of a vector.
Example
Sem
Calculates the standard error of a vector.
Example
Slope
Calculates the slope of the linear regression of the given curve.
Example
Ss
Assumes the mean of the data as the reference value.
Example
StdDev
Calculates the standard deviation based on a sample.
Example
StdDevP
Return the standard deviation based on the entire population given as arguments.
Example
Total
Returns the sum of a vector.
Example
Conditional Statistics
Name
Brief
Example
Averageif
Calculate the mean of values that satisfies a specified condition.
Example
Countif
Counts the number of values that satisfies a specified condition.
Example
Sumif
Calculate the sum of a (sub-)range of a vector that satisfies a specified condition.
Example
Data Manipulation
Name
Brief
Example
Ave
Breaks dataset into groups of size size, finds the average for each group, and returns a range containing these values.
Example
Diff
Returns a dataset that contains the difference between adjacent elements in
dataset
.
Sum
Returns a range whose
i
th element is the sum of the first
i
elements of the dataset dataset.
Example
Estimation
Name
Brief
Kernelwidth
Returns the estimated optimal kernel bandwidth for a given vector vX.
Kernel2width
Returns the 2D kernel density bandwidths (wx, wy) of X scale and Y scale for dataset (vx, vy) using two different methods.
Gamfit
Use Newton-Raphson method to calculate Maximum Likelihood Estimates (MLE) of
(shape) and
(scale) for Gamma distributed dataset.
Wblfit
Uses Newton-Raphson method to calculate Maximum Likelihood Estimates (MLE) of
(scale) and
(shape) for Weibull distributed dataset
.
Time Series
Name
Brief
Example
Emovavg
This function returns exponential moving averages.
Example
Mmovavg
This function returns modified moving averages.
Example
Movavg
This function returns the average of adjacent ranges.
Example
Movslope
This function returns a vector to calculate the moving slope at each point with a window width of nPt.
Example
Movrms
This function returns a vector to calculate the root mean square(rms) of adjacent ranges.
Example
Tmovavg
This function returns triangular moving averages.
Example
Wmovavg
This function returns weighted moving averages.
Example
MovCoef
This function returns a vector of moving correlation coefficients.
Example
Advanced
Name
Brief
Example
Confidence
Returns the confidence interval for a population mean.
Example
Geomean
Geometric Mean
Example
Geosd
Geometric SD
Example
Harmean
Harmonic Mean
Example
Histogram
The
histogram(
dataset, inc, min, max
)
function generates data bins from
dataset
in the specified range from
min
to
max
.
Kurt
Returns the kurtosis of the specified dataset.
Example
lcl
Returns the lower confidence limit. level is 0.95 by default.
Example
Mad
Mean Absolute Deviation
Example
mode
returns the most frequently occurring number
Example
modes
returns an array of the most frequently occurring numbers
Example
Percentile
Returns a range comprised of the percentile values for
dataset1
at each percent value specified in
dataset2
.
Example
QCD2
Returns a factor (Quality Control D2 Factor)
Example
QCD3
Returns a factor. (Quality Control D3 Factor)
Example
QCD4
Returns a factor. (Quality Control D4 Factor)
Example
Skew
Returns the skewness of a distribution.
Example
ucl
Returns the upper confidence limit. level is 0.95 by default.
Example
Skip Navigation Links
All Books
LabTalk Programming
Language Reference
Function Reference
Statistics
User Guide
Tutorials
Quick Help
Origin Help
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
Apps
App Development
Code Builder
License
Orglab
Programming
Note For Upgrade Users
LabTalk Scripting Guide
Language Reference
Script Examples
Tutorials
System Variables
System Variable List
Command Reference
LabTalk-Supported Origin C Functions
Function Reference
Macro Reference
Object Reference
Others(LabTalk)
Reference Tables
Math and Trigonometry
Statistics
Distribution
Signal Processing
Data Generation
Data Manipulation
Text
Lookup and Reference
Date and Time
Logical
Engineering
Miscellaneous
Financial
Alphabetical Listing of Functions
ave
Averageif
Count
Confidence
Correl
Countif
Cov
Diff
Emovavg
Forecast
Gamfit
Geomean
Geosd
Harmean
Histogram
Intercept
Kernel2width
Kernelwidth
Kurt
lcl
Mean
Median
Min
Mmovavg
Movavg
Mad
mae
Max
Maxifs
mbe
Minifs
mode
modes
Movrms
Movslope
Rms
Percentile
QCD2
QCD3
QCD4
rmse
Sem
StdDev
StdDevP
Skew
Slope
Ss
Sum
Sumif
Tmovavg
Total
ucl
MovCoef
Wmovavg
Wblfit
English
|
Deutsch
|
日本語
© OriginLab Corporation. All rights reserved.
×
☐
_
Let's Chat