openPR Logo
Press release

How to Calculate Covariance using a dataTaker

04-13-2016 10:25 PM CET | Industry, Real Estate & Construction

Press release from: CAS DataLoggers

dataTaker DT80 Logger Performs Mathematical Functions

dataTaker DT80 Logger Performs Mathematical Functions

dataTaker Logger Performs Mathematical Calculations
CHESTERLAND, OH—April 13, 2016

Covariance is a method of measuring how strongly variables are related to each other. Covariance is commonly used calculation used in a wide number of areas from microclimate flux and carbon sequestration, aquiculture, stock market predictions, to measurement of the southern oscillation index. In our latest Tech Article, CAS DataLoggers shows you how to perform covariance calculations using a dataTaker DT80 intelligent data logger.

When Do Variables Covary?

• If the result of the covariance calculation is zero, then the two variables are not related to one

• When the result is positive, then the two variables have moved in the same direction.
The larger the result, the more strongly related the two variables are.

• If the result is negative, then the two variables have a negative relationship with one another, i.e. they have moved in opposite directions.

Covariance Formula:

Traditionally we need the average value of each variable before we can calculate the variation of each individual sample from the average reading. However, this would be computationally intensive and tedious to implement, so for our purposes we’ll use this simplified version of the covariance formula:

CoVar (A, B ) = Ave ( A • B ) = Ave (A) • Ave ( B )

Since the average of a series of numbers is the sum of the sample divided by the number of samples taken, this is far easier to implement from a computational standpoint.

Instead of storing each sample for later processing, we only need to keep running sums of variables A, B and A*B, and keep a count of the number of samples taken.

Users can implement a simple dataTaker program to do this. Below is an example which is compatible with the DT80 Series data loggers:

Example Program:


‘ Schedule A (Read Variables)
‘ - Runs every 1 second

1V (=1CV, W) ‘Read the A and assign to 1CV
2V (=2CV, W) ‘Read the B and assign to 2CV
3CV (W) =3CV+1CV ‘3CV = Sum of A
4CV (W) = 4CV+2CV ‘4CV = Sum of B
5CV (W) =5CV+ (1CV*2CV) ‘5CV = Sum A*B
6CV (W) =6CV+1 ‘Number of samples

‘ Schedule B (Reporting Schedule)
‘ - Reports the Covariance
‘Calculate Covar (A,B) and save
7CV (“Covariance”) = (5CV/6CV) – ( (3CV/6CV) * (4CV/6CV) )
‘Reset the variables and start again
1..7CV (W) = 0

For more information on the dataTaker family of data loggers, or to find the ideal solution for your application-specific needs, contact a CAS Data Logger Applications Specialist at (800) 956-4437 or visit our website at

Contact Information:
CAS DataLoggers, Inc.
8437 Mayfield Rd.
Chesterland, Ohio 44026
(440) 729-2570
(800) 956-4437

This release was published on openPR.

Permanent link to this press release:

Please set a link in the press area of your homepage to this press release on openPR. openPR disclaims liability for any content contained in this release.

You can edit or delete your press release How to Calculate Covariance using a dataTaker here

News-ID: 332340 • Views:

More Releases from CAS DataLoggers

New AirGate 4G Cellular Router from Novus
New AirGate 4G Cellular Router from Novus
NOVUS presents AirGate 4G, an industrial VPN router for cellular networks. Data sending is secure with this new device as it uses encryption protocols and firewall systems most commonly used in IT infrastructures, including automatic fallback for 4G, 3G, and 2G cellular networks. AirGate 4G is CE Mark certified and was developed for industrial environments. It can maintain its high availability performance even in extended operation situations, being equipment suitable
New AERINOS ADS-300 from Infinite Informatics
New AERINOS ADS-300 from Infinite Informatics
New Wireless NB-IoT/LTE-M Data Collection End Node CAS DataLoggers is pleased to introduce the new AERINOS ADS-300 wireless sensor end node from Infinite Informatics. The ADS-300 is designed to transmit data via either NB-IoT/LTE-M cellular networks and is targeted at remote monitoring applications. NB-IoT is a wireless protocol designed for the Internet of Things that offers very low-power operation using either existing GSM or newer LTE cellular technology. NB-IoT is a
New TR32B Bluetooth Data Logger From TandD
New TR32B Bluetooth Data Logger From TandD
CAS DataLoggers is pleased to announce the updated TR32B log-EZ as an effective low-cost solution for temperature and humidity measurement. The log-EZ is designed as a compact, user-friendly data logger to easily measure and record ambient temperature and humidity. It provides Bluetooth communication and a smartphone/tablet app that can display and upload data to the cloud. The TR32B provides a measurement range of 0° to 50° Celsius (32° to 122°
New A2-06 Temperature & Alarming Monitoring Pod by CAS
New A2-06 Temperature & Alarming Monitoring Pod by CAS
Medical storage applications depend heavily on monitoring the temperature of their goods in cold storage to protect items such as vaccines, blood, medicine, and tissue samples. CAS DataLoggers is pleased to introduce the A2-06 Ethernet Wired Temperature Measurement Pod designed for measuring temperatures in medical refrigerators, freezers, incubators, and in cryogenic storage. The pod is an Ethernet LAN-wired temperature monitor with connections for two external RTDs and a thermocouple sensor.

All 4 Releases

More Releases for Logger

Runtime Monitoring Using a dataTaker Data Logger
For Machine monitoring, Productivity Assessment & Troubleshooting At CAS DataLoggers, many of our callers want to see how often one or more of their machines are operating and when. This pinpoints machine downtime and can identify poor work productivity, or identifies if another cause is at work (power outages etc.) In our latest Technical Article, we outline how to configure a Series 4 dataTaker DT8x Data Logger for runtime monitoring. What
Understanding Data Loggers What is a data logger? The generally accepted answer is that a datalogger is an electronic device that autonomously records data from some type of sensor and stores it in local memory with a time and date stamp. Data Loggers are widely used in virtually every industry for a variety of applications. Temperature is the most commonly measured parameter and is also the most commonly recorded parameter. There
Data Logger vs DAQ
Key Differences Between Data Logging and Data Acquisition What is the difference between a Data Logger and a Data Acquisition System (DAQ)? A data logger is a type of data acquisition system, but a data acquisition system is not necessarily a datalogger. There are several key functional differences in how the market understands these two classes of instruments. While the differences between these two types of instruments have been reduced
Transformer monitor and logger
Transformer monitoring made easy!!!! Miro-F Transformer monitor and logger is a precision power quality instrument, intended for permanent installation and specifically designed for comprehensive and reliable LV side transformer monitoring. • Measure three phase voltages, four currents and two temperatures (ambient and surface).' • Information includes V, I, P.F, THD, Sags,Swells, Interruptions and other power quality measurements. • Integrated WiFi and Cellular (3G/4G), provides platforms for TCP/IP, FTP, CiDR and DNP3 (SCADA). • Suited for
Vibrating Wire Data Logger Offers Flexible Connection
DT80G Strain Gauge Data Logger from dataTaker Need a device for a geotechnical application? The DT80G GeoLogger from dataTaker is ideal for all geotechnical data logging applications. These universal loggers have built-in support for vibrating wire sensors including Geokon, RST Instruments, slope indicators, soil instruments and more. They provide the ideal data acquisition and monitoring solution for engineers working in geotechnical environments. The Geotechnical Logger: 5 to 15
Keystroke Logger
Keystroke logger has been used for many years as spy software in computer systems. Millions of people worldwide use the keystroke logger to track people’s activities. Keystroke logger is useful in office environment. In the office, there are employees who don’t pay attention at work. They don’t like to work. They surf the internet for their own purposes. It is not good to let employees slack as they are wasting