Quantitative Archaeology Wiki has some code to share with you at https://bitbucket.org/steko/diggingnumbers

Sampling

In archaeology, the term “Sampling” can be used in a variety of meanings. Here we are dealing with statistical sampling.

To take a simple 25% random sample of weight and calculate descriptive statistics of the sample:

> WeightSample <- sample(Weight,10)

To evaluate differences between the sample and the population:

> summary(WeightSample)
> summary(Weight)

Digging Numbers · Data description · Transforming variables · Tables · Pictorial displays · Measures of position and variability · Sampling · Tests of difference · Tests of distribution · Correlation · Tests of association

Languages
Translations of this page?: