Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow using student_t instead of gaussian for likelihood #35

Open
jgabry opened this issue Nov 9, 2015 · 5 comments
Open

allow using student_t instead of gaussian for likelihood #35

jgabry opened this issue Nov 9, 2015 · 5 comments
Labels

Comments

@jgabry
Copy link
Member

jgabry commented Nov 9, 2015

For stan_glm with a suitable outcome (and maybe stan_lmer), we should provide an option to use the t distribution as the likelihood instead of a Gaussian.

Perhaps we just follow BDA3 17.2 and use the fact that

y_i ~ t_v(m, s^2)

is equivalent to

y_i | V_i ~ N(m, V_i)
V_i ~ scaled-inv-chi-sq(v, s^2)

@jgabry jgabry added the feature label Nov 9, 2015
@bgoodri
Copy link
Contributor

bgoodri commented Nov 9, 2015

We're going to also need a prior on the degrees of freedom. Aki suggested gamma with shape 2 and rate 0.1
https://github.com/stan-dev/stan/wiki/Prior-Choice-Recommendations

@jgabry
Copy link
Member Author

jgabry commented Jan 18, 2016

@bgoodri Do you think the approach in my initial comment is preferable to implementing the student_t likelihood the same way we do the others? Might it be more efficient to not estimate all N of the V_i terms and instead just use y ~ student_t(...)? I'm not sure.

@bgoodri
Copy link
Contributor

bgoodri commented Jan 18, 2016

Yeah, although we would have to create a family object for the t
distribution.

On Mon, Jan 18, 2016 at 1:39 PM, Jonah Gabry notifications@github.com
wrote:

@bgoodri https://github.com/bgoodri Do you think the approach in my
initial comment is preferable to implementing the student_t likelihood the
same way we do the others? Might it be more efficient to not estimate all N
of the V_i terms and instead just use y ~ student_t(...)? I'm not sure.


Reply to this email directly or view it on GitHub
#35 (comment).

jburos pushed a commit to jburos/rstanarm that referenced this issue Apr 14, 2017
@maciematt
Copy link

Hi All - just wondering if adding a Student's t distribution for likelihood is still being considered? Or was this effort conclusively discontinued?

@bgoodri
Copy link
Contributor

bgoodri commented Feb 12, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants