Description Usage Arguments Value Author(s) References See Also Examples

View source: R/ndlStatistics.R

`ndlStatistics`

takes an Naive Discriminary Learning model
object as generated by `ndlClassify`

and calculates a
range of goodness of fit statistics using
`modelStatistics`

.

1 |

`ndl` |
A naive discriminative learning model fitted with |

`...` |
Control arguments to be passed along to |

A list with the following components:

`n.data`

sum frequency of data points

`df.null`

degrees of freedom of the Null model

`df.model`

degrees of freedom of the fitted model

`statistics`

a list of various measures of goodness of fit calculated with

`modelStatistics`

Antti Arppe and Harald Baayen

Arppe, A. and Baayen, R. H. (in prep.) Statistical modeling and the principles of human learning.

See also `ndlClassify`

, `modelStatistics`

.

1 2 3 4 5 6 7 8 9 10 11 12 13 | ```
data(think)
set.seed(314)
think <- think[sample(1:nrow(think),500),]
think.ndl <- ndlClassify(Lexeme ~ Agent + Patient, data=think)
ndlStatistics(think.ndl)
## Not run:
data(dative)
dative.ndl <- ndlClassify(RealizationOfRecipient ~ AnimacyOfRec + DefinOfRec +
PronomOfRec + AnimacyOfTheme + DefinOfTheme + PronomOfTheme, data=dative)
ndlStatistics(dative.ndl)
## End(Not run)
``` |

ndl documentation built on May 20, 2017, 3:50 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.