I have 3 data sets, each with variables time_tick
, gyr_X_value
, gyr_Y_value
, and gyr_Z_value
.
An example of one of the data sets is as follows:
time_tick gyr_X_value gyr_Y_value gyr_Z_value
1 .01 .12 .24 -.28
2 .12 0 0 .05
3 .04 .10 0 .17
4 .03 0 -.25 .15
I know that I can calculate the variance of the each individual data set with var()
, but how can I calculate the variance of gyr_X_value
across all three data sets?