Dear community,
to calculate the pseudo R2 after my xtmelogit-estimation, I found this two possibilities:
di "The McFadden pseudo-R2 is: " ( e(ll_c) - e(ll) )/e(ll_c)
The McFadden pseudo-R2 is: .02392622
. di "The Cox and Snell pseudo-R2 is: " 1 - exp( (-2*(e(ll)-e(ll_c))) /e(N))
The Cox and Snell pseudo-R2 is: .02006514
Both of them seem very low to me, since the Pseudo R2 in the single-level-(logit)-estimation was quite good. Now I found a formula in an article to calculate the pseudo R2 this way:
for the single-level: 1 - (var(single-level full model) + var(context-level full model)) / (var(single-level Random intercept only model) + var(context-level RIOM)).
for the context-level: 1 - (var(single-level full model)/average group size + var(context-level full model)) / (var(single-level Random intercept only model)/average group size + var(context-level RIOM)).
My question is: How can I calculate each of those variances?
Best,
Kenny
to calculate the pseudo R2 after my xtmelogit-estimation, I found this two possibilities:
di "The McFadden pseudo-R2 is: " ( e(ll_c) - e(ll) )/e(ll_c)
The McFadden pseudo-R2 is: .02392622
. di "The Cox and Snell pseudo-R2 is: " 1 - exp( (-2*(e(ll)-e(ll_c))) /e(N))
The Cox and Snell pseudo-R2 is: .02006514
Both of them seem very low to me, since the Pseudo R2 in the single-level-(logit)-estimation was quite good. Now I found a formula in an article to calculate the pseudo R2 this way:
for the single-level: 1 - (var(single-level full model) + var(context-level full model)) / (var(single-level Random intercept only model) + var(context-level RIOM)).
for the context-level: 1 - (var(single-level full model)/average group size + var(context-level full model)) / (var(single-level Random intercept only model)/average group size + var(context-level RIOM)).
My question is: How can I calculate each of those variances?
Best,
Kenny
Comment