The dative alternation in four varieties of English

  • In a recent effort, Bresnan et al. (2017) applied a common coding scheme to their datasets of the dative alternation (e.g., I gave him the book vs I gave the book to him) (e.g., Szmrecsanyi et al., 2017)
  • The resulting database is annotated consistently and covers four varieties of English: Canada, New Zealand, United Kingdom, and United States
  • Here we will work with a subset of their predictors:
    • Response.variable: D(ative) vs. P(repositional dative)
    • Variety
    • Speaker
    • Speaker.sex
    • Speaker.YOB: Year of birth
    • Semantics: use of to give to indicate T(ransfer), C(ommunication), or A(bstract)
    • Recipient.type:N(oun phrase), P(ersonal pronoun), D(emonstrative pronoun), I(mpersonal pronoun)
    • Recipient.animacy: A(nimate), C(ollective), T(emporal), L(ocative), I(nanimate)
    • Recipient.definiteness
    • Theme.type: N(oun phrase), P(ersonal pronoun), D(emonstrative pronoun), I(mpersonal pronoun)
    • Theme.animacy: A(nimate), C(ollective), T(emporal), L(ocative), I(nanimate)

1. Loading the data

eyJsYW5ndWFnZSI6InIiLCJzYW1wbGUiOiIjIExvYWQgdGhlIHJlYWRyIHBhY2thZ2VcblxuIyBMb2FkIHRoZSBjb3Vyc2UgZGF0YSBmcm9tIHRoZSBjb3Vyc2Ugd2Vic2l0ZSB0byB0aGUgb2JqZWN0ICdkYXRhU2V0JzpcbiMgaHR0cDovL3d3dy5qZXJvZW5jbGFlcy5iZS9zdGF0aXN0aWNzX2Zvcl9saW5ndWlzdGljcy9kYXRhc2V0cy9jbGFzczEwX0JyZXNuYW5fZXRfYWxfMjAxNy5jc3ZcblxuIyBMb2FkIHRoZSBkcGx5ciBwYWNrYWdlXG5cbiMgQ29udmVydCBhbGwgY2hhcmFjdGVyIHZhbHVlcyB0byBGYWN0b3Igd2l0aCBgbXV0YXRlX2lmYFxuXG4jIFByaW50IGEgJ3N1bW1hcnknIG9mIHRoZSBkYXRhU2V0Iiwic29sdXRpb24iOiIjIExvYWQgdGhlIHJlYWRyIHBhY2thZ2VcbmxpYnJhcnkocmVhZHIpXG4jIExvYWQgdGhlIGNvdXJzZSB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cIilcblxuIyBQcmludCBhIHN1bW1hcnkgb2YgdGhlIGRhdGFTZXRcbnN1bW1hcnkoZGF0YVNldCkiLCJzY3QiOiJ0ZXN0X291dHB1dF9jb250YWlucyhcInN1bW1hcnkoZGF0YVNldClcIiwgICBpbmNvcnJlY3RfbXNnID0gXCJNYWtlIHN1cmUgdG8gcHJpbnQgYSBzdW1tYXJ5IG9mIHRoZSByZWNvZGVkIGRhdGFzZXQhXCIpXG50ZXN0X2xpYnJhcnlfZnVuY3Rpb24oXCJkcGx5clwiLCBcIkRvbid0IGZvcmdldCB0byBsb2FkIHRoZSBkcGx5ciBwYWNrYWdlIVwiKVxuc3VjY2Vzc19tc2coXCJXZWxsIGRvbmUhXCIpIn0=

5. Fitting a first logistic regression model

  • In the interest of time, we are going to skip a few steps here:
    • Normally would draw tables and plots for the univariate effects of your independent variables on the dependent variable
    • You would also draw pairwise faceted plots to scout for interactions
eyJsYW5ndWFnZSI6InIiLCJwcmVfZXhlcmNpc2VfY29kZSI6ImxpYnJhcnkocmVhZHIpXG5saWJyYXJ5KGRwbHlyKVxuZGF0YVNldCA8LSByZWFkX2NzdihcImh0dHA6Ly93d3cuamVyb2VuY2xhZXMuYmUvc3RhdGlzdGljc19mb3JfbGluZ3Vpc3RpY3MvZGF0YXNldHMvY2xhc3MxMF9CcmVzbmFuX2V0X2FsXzIwMTcuY3N2XCIpICU+JSBtdXRhdGVfaWYoaXMuY2hhcmFjdGVyLCBhcy5mYWN0b3IpXG5kYXRhU2V0JFJlY2lwaWVudC50eXBlPC1yZWNvZGUoZGF0YVNldCRSZWNpcGllbnQudHlwZSwgRD1cIk9cIiwgST1cIk9cIiwgTj1cIk9cIilcbiMgUmVjb2RlIFJlY2lwaWVudC5hbmltYWN5IHNvIHRoYXQgaXRzIEMsIEksIGFuZCBMIGNhdGVnb3JpZXMgYXJlIGNvbGxhcHNlZCBpbiBhIG5ldyAnTycgY2F0ZWdvcnlcbmRhdGFTZXQkUmVjaXBpZW50LmFuaW1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b3IpIHRvIHRoZSB2YXJpYWJsZSAnYW5zd2VyMydcbmFuc3dlcjM8LVwiVGhlbWUudHlwZVwiXG4jIFByaW50IGFuc3dlcjNcbmFuc3dlcjMiLCJzY3QiOiJ0ZXN0X291dHB1dF9jb250YWlucyhcInN1bW1hcnkobW9kKVwiLCBpbmNvcnJlY3RfbXNnID0gXCJNYWtlIHN1cmUgeW91IHByaW50IGEgc3VtbWFyeSBvZiBtb2QhXCIpXG50ZXN0X291dHB1dF9jb250YWlucyhcImFuc3dlcjFcIiwgaW5jb3JyZWN0X21zZyA9IFwiTWFrZSBzdXJlIHlvdSBwcmludCB5b3VyIGFuc3dlcjEhXCIpXG50ZXN0X291dHB1dF9jb250YWlucyhcImFuc3dlcjJcIiwgaW5jb3JyZWN0X21zZyA9IFwiTWFrZSBzdXJlIHlvdSBwcmludCB5b3VyIGFuc3dlcjIhXCIpXG50ZXN0X291dHB1dF9jb250YWlucyhcImFuc3dlcjNcIiwgaW5jb3JyZWN0X21zZyA9IFwiTWFrZSBzdXJlIHlvdSBwcmludCB5b3VyIGFuc3dlcjMhXCIpXG5zdWNjZXNzX21zZyhcIldlbGwgZG9uZSFcIikifQ==

11. Acknowledgements

  • A warm thank you! goes to Benedikt Szmrecsanyi (KU Leuven), for making the data available through his website!

12. References

  • Bresnan, J., Rosenbach, A., Szmrecsanyi, B., Tagliamonte, S. A. & Todd, S. (2017). Syntactic alternations data: datives and genitives in four varieties of English. Stanford Digital Repository. Available at: http://purl.stanford.edu/qj187zs3852.
  • Szmrecsanyi, B., Grafmiller, J., Bresnan, J., Rosenbach, A., Tagliamonte, S., & Todd, S. (2017). Spoken syntax in a comparative perspective: The dative and genitive alternation in varieties of English. Glossa: a journal of general linguistics 2(1), 86. DOI: http://doi.org/10.5334/gjgl.310.

© 2018 Jeroen Claes