mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.7K
active users

#stata

0 posts0 participants0 posts today

I’d like to share that my book, Multilevel Thinking: Discovering Variation, Universals, and Particulars in Cross-Cultural Research is available for pre-order at Oxford University Press: global.oup.com/academic/produc

* This book explains multilevel modeling building upon my 15 years of teaching this topic.
* The book contains appendices for estimating multilevel models in #Stata, #Rstats, and #Julialang.

ARGH. I am trying to convince my study group that I am correct and they are not, in terms of our statistical analysis. We do not yet know who the prof thinks is right! But ... I legit think that one of my compatriots has gotten their answer from ChatGPT or something. And it is WRONG, in my opinion. I may die on this hill. Sigh.

The prof actively told us we could to use ChatGPT to get the right code to run in Stata. FML.
#gradschool #stata #data #stats

Replied in thread

@Carwil 1. The World Bank or UN may have some resources for translation. They obviously have tons of that stuff.

2. The proper approach should of course be multilingual category labels. #Stata supports these through their equivalents of attr(). The limited and unstructured support for labels in #rstats is available through a mix of 📦 haven, labelled, sjlabelled, and ipumsr. In particular, the latter has useful relabeling functions.

@ereinbergs #Stata: egen ultPSU = group(strata PSU)
#rstats: df %>% group_by(strata, PSU) %>% mutate(ultPSU=group_indices())

More visually appealing would be
ultPSU = stratum*1000 + PSU so that you could clearly see which stratum this comes from.

The recycled PSU numbers is a heavy legacy of SAS where you don't care as its survey procedures always treat PSUs as nested in strata. All other packages have to suffer.

Continued thread

I've updated the #multilevel models in agrogan1.github.io/multilevel-. The results are much closer, but not yet equivalent, now that all software is estimating uncorrelated random effects, rather than some software estimating correlated random effects and other software estimating uncorrelated random effects. #rstats #Stata #julialang

Multilevel MultilingualMultilevel MultilingualMultilevel Models in Stata, R and Julia

#Stata question about #margins. Cross-posted at statalist.org/forums/forum/gen

As described at the above link, I am estimating `margins` (predicted probabilities) of a #multilevel #logistic regression. I am finding that in some cases the point estimate of one group is inside the confidence interval of the other group, but a test nonetheless indicates a statistically significant difference between the two groups. Any insights on this seeming paradox would be appreciated.

www.statalist.org margins after melogit statistically different, but point estimate of one margin inside confidence interval of another - Statalist Hello, I am working with a large data set on families (1/2 million families). I am using melogit to estimate the association of several covariates with my