| finalDevoicing {languageR} | R Documentation |
Phonological specifications for onset, nucleus and offset for 1697 Dutch monomorphemic words with a final obstruent. These final obstruents may exhibit a voicing alternation that is traditionally described as syllable-final devoicing: underlying /d/ in /hond/ becomes a /t/ when syllable-final ([hOnt]) and remains a /d/ otherwise ([hOn-den]).
data(finalDevoicing)
A data frame with 1697 observations on the following 9 variables.
WordOnset1TypeNone,
Obstruent and Sonorant.Onset2TypeNone,
Obstruent and Sonorant.VowelTypeiuy, long and
short.ConsonantTypeNone,
Obstruent and Sonorant.ObstruentF (/f,v/), P (/p,b/), S (/s,z/), T (/t,d/) and
X (/x,g/).NsyllStressA (antepenult), F (final) and
P (penult).Voicevoiced and voiceless.Ernestus, M. and Baayen, R. H. (2003) Predicting the unpredictable: Interpreting neutralized segments in Dutch, Language, 79, 5-38.
data(finalDevoicing) library(rpart) # ---- CART tree finalDevoicing.rp = rpart(Voice ~ ., data = finalDevoicing[ , -1]) plotcp(finalDevoicing.rp) finalDevoicing.pruned = prune(finalDevoicing.rp, cp = 0.021) plot(finalDevoicing.pruned, margin = 0.1, compress = TRUE) text(finalDevoicing.pruned, use.n = TRUE, pretty = 0, cex=0.8) # ---- logistic regression library(Design) finalDevoicing.dd = datadist(finalDevoicing) options(datadist='finalDevoicing.dd') finalDevoicing.lrm = lrm(Voice ~ VowelType + ConsonantType + Obstruent + Nsyll + Stress + Onset1Type + Onset2Type, data = finalDevoicing) anova(finalDevoicing.lrm) # ---- model simplification fastbw(finalDevoicing.lrm) finalDevoicing.lrm = lrm(Voice ~ VowelType + ConsonantType + Obstruent + Nsyll, data = finalDevoicing, x = TRUE, y = TRUE) par(mfrow=c(2,2)) plot(finalDevoicing.lrm, fun = plogis, ylim = c(0, 1), ylab = "p(voiceless)") par(mfrow=c(1,1)) # ---- model validation validate(finalDevoicing.lrm, B = 200)