# Quadstat Output - Average

Submitted by pmagunia on September 2, 2017 - 9:20 PM

## Computing the Average

To compute the average, $\bar{x}$, we must sum all the observations in the column avail_seat_km_per_week and then divide by the number of observations.
First, let us list the observations in column avail_seat_km_per_week. The first ten observations include:
320906734, 1197672318, 385803648, 596871813, 1865253802, 3004002661, 869253552, 710174817, 965346773, 698012498.
We have a total of 56 observation(s). So, $n =56.$
Now, $\bar{x} = \frac{\sum\limits_{i=1}^n x_i}{n}.$
$\sum\limits_{i=1}^n x_i = \sum\limits_{x=1}^56x_i = 320906734 + 1197672318 + \cdots + 430462962 = 77538793065.$
Therefore, $\bar{x} = \frac{\sum\limits_{i=1}^n x_i}{n} = \frac{320906734+1197672318+ \cdots + 430462962}{56}=1384621304.73.$
So, $\bar{x} =1384621304.73$.

## From Around the Site...

Title Authored on Content type
How To Compute the Mean June 18, 2017 - 12:59 PM Operation
R Dataset / Package survival / transplant March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / USGDPpresidents March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / RetSchool March 9, 2018 - 1:06 PM Dataset
R Dataset / Package plm / Produc March 9, 2018 - 1:06 PM Dataset