Skip to content

mjskay/dtstudent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dtstudent: Discrete Truncated Student-t Distribution for R

GPL ≥ 3

Matthew Kay, University of Michigan mjskay@umich.edu

This is a package implementing a discrete, truncated Student-t distribution, which I have found useful in robustly modeling people's responses on rating scales, or even as an alternative to a Beta distribution in modeling people's estimates of probabilities in visualizations.

It includes the customary [dpqr]dtstudent() functions, and also (somewhat hackishly) defines support for the discrete truncated Student-t distribution for use with the map2stan function in Richard McElreath's rethinking package.

Installation

You can install the latest development version from GitHub with these R commands:

install.packages("devtools")
devtools::install_github("mjskay/dtstudent")

Example

TBD

Example with rethinking package

TBD

About

Discrete Truncated Student-t Distribution for R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages