Sample moments

Summary

Definitions

  • A population is a set of similar items such as all individuals in Sweden or all firms in Europe.
  • A sample is set of data selected from a population by some defined procedure.
  • A sample is a random sample if each item in the population has the same probability of be selected into the sample.
  • Each element of the sample is called a sample point . The symbol nn is the common symbol for the size of the sample, that is, the number of sample points.
  • xixi will denote a particular measurement of sample point ii , for example the income of individual ii , where ii is any number from 1 to nn .
  • We often refer to the nn numbers x1,x2,,xnx1,x2,,xn as the sample.

Sample mean, sample variance and sample standard deviation

ˉx=1nni=1xi¯x=1nni=1xi

  • The sample variance

s2x=1n1ni=1(xiˉx)2s2x=1n1ni=1(xi¯x)2

  • The sample standard deviation

sx=s2xsx=s2x

Sample covariance and sample correlation

  • Given a population, we can make two distinct measurements from sample point ii and denote them by xixi and yiyi . For example, xixi could be the total revenue and yiyi the total cost for firm ii .
  • Given data x1,x2,,xnx1,x2,,xn and y1,y2,,yny1,y2,,yn we define
  • The sample covariance

s2x,y=1n1ni=1(xiˉx)(yiˉy)s2x,y=1n1ni=1(xi¯x)(yi¯y)

  • The sample correlation

r2x,y=s2x,ysxsyr2x,y=s2x,ysxsy