Sample Data: Mark Twain Authorship

Distribution of word lengths for Mark Twain and Quintus Curtius Snodgrass

(3 columns, 13 rows)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["Sample Data: Mark Twain Authorship"]
Out[1]=

View the data:

In[2]:=
ResourceData["Sample Data: Mark Twain Authorship"]
Out[2]=

Visualization

Plot a comparison of Twain and Snodgrass word lengths:

In[3]:=
ListLinePlot[
 Values[Normal[
     ResourceData["Sample Data: Mark Twain Authorship"][
      All, {"WordLength", #}]]] & /@ {"MarkTwain", "QCS"}]
Out[3]=

Analysis

Find the correlation between the two:

In[4]:=
N[Correlation @@ 
  Normal[Transpose@
    Values[ResourceData["Sample Data: Mark Twain Authorship"][
      All, {"MarkTwain", "QCS"}]]]]
Out[4]=

Wolfram Research, "Sample Data: Mark Twain Authorship" from the Wolfram Data Repository. (2016) https://doi.org/10.24097/wolfram.25371.data

Source Metadata

Data Downloads