# Split Rhat question

**URL:** <https://discourse.mc-stan.org/t/split-rhat-question/20599>\
**Category:** Modeling\
**Created:** [February 3, 2021, 3:35pm UTC](https://discourse.mc-stan.org/t/split-rhat-question/20599 "2021-02-03T15:35:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkaplan](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/dkaplan/32/13835_2.png) [@dkaplan](https://discourse.mc-stan.org/u/dkaplan)\
**Post date:** [February 3, 2021, 3:35pm UTC](https://discourse.mc-stan.org/t/split-rhat-question/20599/1 "2021-02-03T15:35:36Z")

</div>

Dear all,

I hope this email is finding all of you well. I have a few (hopefully) simple questions regarding the split Rhat.

1. The Stan output states that “…and Rhat is the potential scale reduction factor on split chains (at  
convergence, Rhat=1).” Can I presume that this is the maximum of the rank-normalized split Rhat and rank normalized folded split Rhat?

2. The notation shows a term var^+. Is there any significance to the + sign?

3. Is the rhat shown in the output (using the print command) the same as the rhat() function.

4. In the example on pg. 284 of Andrew’s book, if I had n=500 iterations, the split Rhat is calculated on n=250. What happened to the other 250?

Thanks in advance,

David

---

<div class="post-metadata">

**Author:** ![bbbales2](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/bbbales2/32/77_2.png) [@bbbales2](https://discourse.mc-stan.org/u/bbbales2)\
**Post date:** [February 5, 2021, 1:34pm UTC](https://discourse.mc-stan.org/t/split-rhat-question/20599/2 "2021-02-05T13:34:51Z")

</div>

> [@dkaplan](#):
>
> the split Rhat is calculated on n=250. What happened to the other 250

With split Rhat, you split each chain into two and then just pretend you have twice as many chains as you did originally and see if they mix. So if you started with 4 chains of 500, you break them in two and have 8 chains of 250.

> [@dkaplan](#):
>
> Is there any significance to the + sign

My guess is that is just emphasizing that variance estimate is supposed to be an overestimate. Not sure though.

> [@dkaplan](#):
>
> Can I presume that this is the maximum of the rank-normalized split Rhat and rank normalized folded split Rhat?

This is what happens in the reference code, but I am not sure about the status of all the interfaces: [https://github.com/avehtari/rhat\_ess/blob/master/code/monitornew.R#L306](https://github.com/avehtari/rhat_ess/blob/master/code/monitornew.R#L306)

I’ll have to leave the other questions @avehtari

---

<div class="post-metadata">

**Author:** ![avehtari](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/avehtari/32/5935_2.png) [@avehtari](https://discourse.mc-stan.org/u/avehtari)\
**Post date:** [February 7, 2021, 2:55pm UTC](https://discourse.mc-stan.org/t/split-rhat-question/20599/3 "2021-02-07T14:55:36Z")

</div>

> [@dkaplan](#):
>
> - Is the rhat shown in the output (using the print command) the same as the rhat() function.

Which interface and which version? rhat() function from where?

> [@bbbales2](#):
>
> My guess is that is just emphasizing that variance estimate is supposed to be an overestimate. Not sure though.

Yes
