Wikipedia:WikiProject Wikidemia/Quant/StatsProduction

Initially we intended to break things the statistics to be drawn from the data dumps into three categories:

For the time being, all listed statistics can theoretically be produced from diff feeds (i.e. continuously) unless otherwise noted. As we explore the problem of producing these statistics in a continous manner further, we will reevaluate and update this categorization. For now categorization is by data source.

Data Sources

Data dumps

The Wikimedia data dumps contain full logs of changes to site content in XML format. We can transform this data into Stata/SPSS/SAS/R - readable content by parsing a set of headers from the XML dump.

In turn, this data can be transformed along various dimensions. Given a database of revisions, we can produce an equivalent one ordered by editor, page, time, length of edit, type of edit, etc. Various metrics can be produced directly from this output:

Other measures and databases may require more specific analysis to produce:

Diff feeds

In most afformentioned cases (perhaps not some of the content measures) we can establish techniques for incrementally updating resultant datasets, so that repetitive processes can be avoided and scarce resources saved.

You'll need to reparse all diffs on some/most algorithm updates. Unrelated: old diffs can be out of date for at least two reasons: article deletions, and article renames. Also there are legal reasons why some revisions need to be deleted instead of hidden (e.g. private data added by another person). Would the diffs be cleaned then as well? (come to think of it, older online xml dumps are not cleaned on revision delete in the live database) Erik Zachte 22:33, 20 June 2006 (UTC)

Random subsets

Methods for extracting a random subset from a given dataset will aid development. (TODO: describe)

Readership data

We are interested in using anonymized logs from the Wikimedia Squid servers. At present it appears that a reasonable degree of anonymity can be achieved by collecting a log from a random subset of the full access logs, anonymized to conceal the identity of the person accessing the WP content. See Quant:Readership Stats.

Policy changes

Understanding the effects of changes in site policy is important both to specify data (some questions don't make sense during certain time-periods because of policy changes), and to understand the effects of policy on community behavior.

We would like to establish a database of policy changes. Are there any good sources? Such a database might also include information about automated changes to Wikipedia and the behavior of administrators.

Specific Statistics and Questions

Please add statistical metrics, signing if you would like to be contacted for further explanation.