If (and only if) you're working with a dictionary where you know that every value is a list, then you could cast the dict values (discarding the keys) into a list of lists using `list(x.values())` and then apply one of the recipes here for flattening a list...
First of all, that's a dictionary, not a list. You construct dictionaries with curly braces and lists with square brackets.
A dictionary maps keys to values. A dictionary's .keys() method will return, well, its keys: in this case the list names ['Titles', 'Entities']. The .values() method will...
Like others already mentioned, this is a crossed random effects model, which can easily be fit in most (but not all) stats packages, including lme4 in R, SAS PROC MIXED/GLIMMIX, and others. The syntax is package-specific of course but usually it's as simple as just add separate random effect...
"Unobserved heterogeneity" in logistic regression is nothing to be afraid of. I address this here, arguing directly against Allison and Mood: http://jakewestfall.org/blog/index.php/2018/03/12/logistic-regression-is-not-fucked/
Overdispersion is a completely different issue. In logistic...
Yes, I agree. Mainly I think the alternative method is interesting as a way of understanding what ANCOVA is doing "under the hood." But in practice you wouldn't normally literally do it that way.
This is almost true, but not quite. You're missing one step here: you also need to regress the independent variable (IV) on the covariate and save those residuals too. Then if you regress the DV residuals (which you already mentioned) on the IV residuals (which I just mentioned), the resulting...
There is data.
There is data.
There is data.
There is data.
There is data.
There is data.
http://r4stats.com/articles/popularity/
You cannot keep ignoring this and spewing this unfounded **** about SAS being more popular than R in general.
Are there specific pockets of industry where SAS is more...
Thanks, yes, this is an excerpt from Pearl's book, which I own and have read. I've definitely re-read that section several times while working on my blog post.
Technically the answer to this is always no, since these two quantities have totally different conceptual meanings -- one is the SD of the marginal posterior distribution for a parameter, one is the SD of the sampling distribution of the estimate of the parameter.
With that said, we might still...
spunky: And this only works when you have like a continuous covariate and a categorical predictor?
spunky: Or is it irrespective of the type of data?
Jake: so now we can imagine that for any logistic regression equation that we estimate, there's almost certainly lots of variables we omitted that...