User Tools

Site Tools


diggingnumbers:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
diggingnumbers:start [2008/05/14 17:31]
steko created
diggingnumbers:start [2018/08/04 00:01] (current)
Line 3: Line 3:
 {{http://​ec1.images-amazon.com/​images/​I/​51FS7FDC5BL._AA240_.jpg?​nolink |Digging Numbers'​ cover}} These exercises are based on the textbook "​Digging Numbers"​ by Mike Fletcher and Gary Lock (ISBN 978-0947816698). This book is an introduction to statistics written for archaeologists by archaeologists. It consists of four parts, the third being about practical examples of application using known commercial statistical software. These pages are meant to provide a "​translation"​ of the same exercises using free software. {{http://​ec1.images-amazon.com/​images/​I/​51FS7FDC5BL._AA240_.jpg?​nolink |Digging Numbers'​ cover}} These exercises are based on the textbook "​Digging Numbers"​ by Mike Fletcher and Gary Lock (ISBN 978-0947816698). This book is an introduction to statistics written for archaeologists by archaeologists. It consists of four parts, the third being about practical examples of application using known commercial statistical software. These pages are meant to provide a "​translation"​ of the same exercises using free software.
  
-Please bear in mind that this tutorial is not a substitute for a complete book of quantitative archaeology or statistics. Currently it's going to be hard to follow the tutorials without having //Digging Numbers// with you. Maybe in the future we will add more content to this book, but at the moment it's quite useless if taken alone.+Please bear in mind that this tutorial is not a substitute for a complete book of quantitative archaeology or statistics. Currently it's going to be hard to follow the tutorials without having //Digging Numbers// with you. Maybe in the future we will add more content to this website, but at the moment it's quite useless if taken alone.
  
 {{ diggingnumbers:​rlogo.jpg?​nolink|R}}Our first software choice is the **''​R''​** statistical suite. {{ diggingnumbers:​rlogo.jpg?​nolink|R}}Our first software choice is the **''​R''​** statistical suite.
Line 11: Line 11:
 Anytime you need to look at the documentation,​ you can use the ''​help(command.name)''​ function inside the **''​R''​** environment,​ which gives you a general overview of the command you asked for, the available parameters, bibliographic references and examples. Here's an example: Anytime you need to look at the documentation,​ you can use the ''​help(command.name)''​ function inside the **''​R''​** environment,​ which gives you a general overview of the command you asked for, the available parameters, bibliographic references and examples. Here's an example:
  
-<code C>​help(summary)</​code>​+<code C>> help(summary)</​code>​
  
  
Line 27: Line 27:
 <code C>> ls()</​code>​ <code C>> ls()</​code>​
  
-From now on, text that comes formatted like above means "this is a command"​. We won't be omitting the initial ''>'',​ so you **can'​t** ​copy & paste commands straight ​in the **''​R''​** window, ​but rather ​you must type. This is not as bad as it sounds.+From now on, text that comes formatted like above means "this is a command"​. We won't be omitting the initial ''>'',​ so if you wish to copy & paste commands ​from this tutorial ​straight ​into the **''​R''​** window, you need to avoid highlighting the ">"​. ​ In general however, it is best if you type out the commands. This is not as bad as it sounds ​and will actually help you learn the program commands.
  
 ===== Data ===== ===== Data =====
  
-The authors of the book included a dataset that contains various measurements and data about 40 spearheads from English archaeological sites. ​Example ​data used here are the same used in Digging Numbers itself, ​but we can'​t ​provide the complete ​dataset. We are looking for an alternative free dataset to use along the exercises without copyright worries. +The authors of the book included a dataset that contains various measurements and data about 40 spearheads from English archaeological sites. ​The example ​data used here are the same used in Digging Numbers itself, ​and by kind permission of Professor Gary Lock we can now provide the complete dataset in {{diggingnumbers:spearheads.xls|XLS}} or {{diggingnumbers:​spearheads.csv|CSV}} formatCSV is best suited for importing the data straight into R.
- +
-However, before a new dataset is found, it shouldn'​t take much to copy the entire ​dataset in a standard CSV file, such as: +
- +
-<​file>"​Num","​Mat","​Con","​Loo","​Peg","​Cond","​Date","​Maxle","​Socle","​Maxwi","​Upsoc","​Losoc","​Mawit";"​Weight"​ +
-1,​2,​3,​1,​2,​3,​300,​12.4,3.1,3.6,​1.0,​1.7,​6.2,​167.0</​file>​ +
- +
-Note that character strings are between ''<​nowiki>"</​nowiki>''​ while numeric strings are not. +
  
  
diggingnumbers/start.1210779068.txt.gz · Last modified: 2018/08/03 23:46 (external edit)