Specifying different probability arguments in stansummary (CmdStan)

Dear all,

I was wondering if it would be possible to specify different probability arguments in the stansummary command CmdStan, just like in RStan (e.g., summary(Stan_fit_object, probs = c(.1, .25, .5, .75, .9)))?

Thank you,

Tiago

Not at the moment – you’d have to hack the C++ code to insert the values you’d like. This isn’t impossible, see line 113 of https://github.com/stan-dev/cmdstan/blob/develop/src/cmdstan/stansummary.cpp, but unfortunately that’s the best you could do within stansummary itself.

2 Likes

As you suggested, I just edited edited stansummary.cpp myself and achieved what I wanted.

Thanks

1 Like