andrew_gelman_stats andrew_gelman_stats-2014 andrew_gelman_stats-2014-2163 knowledge-graph by maker-knowledge-mining

2163 andrew gelman stats-2014-01-08-How to display multinominal logit results graphically?


meta infos for this blog

Source: html

Introduction: Adriana Lins de Albuquerque writes: Do you have any suggestions for the best way to represent multinominal logit results graphically? I am using stata. My reply: I don’t know from Stata, but here are my suggestions: 1. If the categories are unordered, break them up into a series of binary choices in a tree structure (for example, non-voter or voter, then voting for left or right, then voting for left party A or B, then voting for right party C or D). Each of these is a binary split and so can be displayed using the usual techniques for logit (as in chapters 3 and 4 of ARM). 2. If the categories are ordered, see Figure 6.4 of ARM for an example (from our analysis of storable votes).


Summary: the most important sentenses genereted by tfidf model

sentIndex sentText sentNum sentScore

1 Adriana Lins de Albuquerque writes: Do you have any suggestions for the best way to represent multinominal logit results graphically? [sent-1, score-0.929]

2 My reply: I don’t know from Stata, but here are my suggestions: 1. [sent-3, score-0.037]

3 If the categories are unordered, break them up into a series of binary choices in a tree structure (for example, non-voter or voter, then voting for left or right, then voting for left party A or B, then voting for right party C or D). [sent-4, score-3.049]

4 Each of these is a binary split and so can be displayed using the usual techniques for logit (as in chapters 3 and 4 of ARM). [sent-5, score-1.303]

5 4 of ARM for an example (from our analysis of storable votes). [sent-8, score-0.342]


similar blogs computed by tfidf model

tfidf for this blog:

wordName wordTfidf (topN-words)

[('voting', 0.33), ('logit', 0.291), ('arm', 0.268), ('categories', 0.264), ('binary', 0.257), ('suggestions', 0.229), ('storable', 0.217), ('party', 0.214), ('unordered', 0.207), ('left', 0.202), ('graphically', 0.189), ('ordered', 0.16), ('displayed', 0.16), ('split', 0.149), ('voter', 0.148), ('tree', 0.145), ('stata', 0.145), ('de', 0.137), ('chapters', 0.133), ('votes', 0.132), ('break', 0.129), ('techniques', 0.125), ('choices', 0.118), ('structure', 0.113), ('represent', 0.11), ('right', 0.104), ('series', 0.097), ('using', 0.096), ('usual', 0.092), ('figure', 0.088), ('example', 0.076), ('reply', 0.067), ('results', 0.064), ('best', 0.062), ('analysis', 0.049), ('know', 0.037), ('way', 0.036), ('writes', 0.035), ('see', 0.03)]

similar blogs list:

simIndex simValue blogId blogTitle

same-blog 1 1.0 2163 andrew gelman stats-2014-01-08-How to display multinominal logit results graphically?

Introduction: Adriana Lins de Albuquerque writes: Do you have any suggestions for the best way to represent multinominal logit results graphically? I am using stata. My reply: I don’t know from Stata, but here are my suggestions: 1. If the categories are unordered, break them up into a series of binary choices in a tree structure (for example, non-voter or voter, then voting for left or right, then voting for left party A or B, then voting for right party C or D). Each of these is a binary split and so can be displayed using the usual techniques for logit (as in chapters 3 and 4 of ARM). 2. If the categories are ordered, see Figure 6.4 of ARM for an example (from our analysis of storable votes).

2 0.30946189 782 andrew gelman stats-2011-06-29-Putting together multinomial discrete regressions by combining simple logits

Introduction: When predicting 0/1 data we can use logit (or probit or robit or some other robust model such as invlogit (0.01 + 0.98*X*beta)). Logit is simple enough and we can use bayesglm to regularize and avoid the problem of separation. What if there are more than 2 categories? If they’re ordered (1, 2, 3, etc), we can do ordered logit (and use bayespolr() to avoid separation). If the categories are unordered (vanilla, chocolate, strawberry), there are unordered multinomial logit and probit models out there. But it’s not so easy to fit these multinomial model in a multilevel setting (with coefficients that vary by group), especially if the computation is embedded in an iterative routine such as mi where you have real time constraints at each step. So this got me wondering whether we could kluge it with logits. Here’s the basic idea (in the ordered and unordered forms): - If you have a variable that goes 1, 2, 3, etc., set up a series of logits: 1 vs. 2,3,…; 2 vs. 3,…; and so forth

3 0.26875281 684 andrew gelman stats-2011-04-28-Hierarchical ordered logit or probit

Introduction: Jeff writes: How far off is bglmer and can it handle ordered logit or multinom logit? My reply: bglmer is very close. No ordered logit but I was just talking about it with Sophia today. My guess is that the easiest way to fit a hierarchical ordered logit or multinom logit will be to use stan. For right now I’d recommend using glmer/bglmer to fit the ordered logits in order (e.g., 1 vs. 2,3,4, then 2 vs. 3,4, then 3 vs. 4). Or maybe there’s already a hierarchical multinomial logit in mcmcpack or somewhere?

4 0.23178348 328 andrew gelman stats-2010-10-08-Displaying a fitted multilevel model

Introduction: Elissa Brown writes: I’m working on some data using a multinomial model (3 categories for the response & 2 predictors-1 continuous and 1 binary), and I’ve been looking and looking for some sort of nice graphical way to show my model at work. Something like a predicted probabilities plot. I know you can do this for the levels of Y with just one covariate, but is this still a valid way to describe the multinomial model (just doing a pred plot for each covariate)? What’s the deal, is there really no way to graphically represent a successful multinomial model? Also, is it unreasonable to break down your model into a binary response just to get some ROC curves? This seems like cheating. From what I’ve found so far, it seems that people just avoid graphical support when discussing their fitted multinomial models. My reply: It’s hard for me to think about this sort of thing in the abstract with no context. We do have one example in chapter 6 of ARM where we display data and fitted m

5 0.16357714 888 andrew gelman stats-2011-09-03-A psychology researcher asks: Is Anova dead?

Introduction: A research psychologist writes in with a question that’s so long that I’ll put my answer first, then put the question itself below the fold. Here’s my reply: As I wrote in my Anova paper and in my book with Jennifer Hill, I do think that multilevel models can completely replace Anova. At the same time, I think the central idea of Anova should persist in our understanding of these models. To me the central idea of Anova is not F-tests or p-values or sums of squares, but rather the idea of predicting an outcome based on factors with discrete levels, and understanding these factors using variance components. The continuous or categorical response thing doesn’t really matter so much to me. I have no problem using a normal linear model for continuous outcomes (perhaps suitably transformed) and a logistic model for binary outcomes. I don’t want to throw away interactions just because they’re not statistically significant. I’d rather partially pool them toward zero using an inform

6 0.15570946 417 andrew gelman stats-2010-11-17-Clutering and variance components

7 0.12827636 39 andrew gelman stats-2010-05-18-The 1.6 rule

8 0.1272075 325 andrew gelman stats-2010-10-07-Fitting discrete-data regression models in social science

9 0.11959109 389 andrew gelman stats-2010-11-01-Why it can be rational to vote

10 0.11959109 1565 andrew gelman stats-2012-11-06-Why it can be rational to vote

11 0.11222261 154 andrew gelman stats-2010-07-18-Predictive checks for hierarchical models

12 0.1041201 1566 andrew gelman stats-2012-11-07-A question about voting systems—unrelated to U.S. elections!

13 0.097784191 397 andrew gelman stats-2010-11-06-Multilevel quantile regression

14 0.096885934 1462 andrew gelman stats-2012-08-18-Standardizing regression inputs

15 0.090267591 76 andrew gelman stats-2010-06-09-Both R and Stata

16 0.088580847 2364 andrew gelman stats-2014-06-08-Regression and causality and variable ordering

17 0.086054191 2019 andrew gelman stats-2013-09-12-Recently in the sister blog

18 0.085471898 678 andrew gelman stats-2011-04-25-Democrats do better among the most and least educated groups

19 0.083307214 1986 andrew gelman stats-2013-08-17-Somebody’s looking for a book on time series analysis in the style of Angrist and Pischke, or Gelman and Hill

20 0.083239213 1227 andrew gelman stats-2012-03-23-Voting patterns of America’s whites, from the masses to the elites


similar blogs computed by lsi model

lsi for this blog:

topicId topicWeight

[(0, 0.088), (1, 0.016), (2, 0.089), (3, 0.059), (4, 0.034), (5, -0.004), (6, -0.052), (7, -0.042), (8, 0.038), (9, 0.014), (10, 0.084), (11, 0.026), (12, 0.016), (13, -0.067), (14, 0.052), (15, -0.004), (16, 0.003), (17, -0.012), (18, -0.021), (19, -0.018), (20, -0.007), (21, -0.005), (22, 0.036), (23, -0.046), (24, -0.061), (25, -0.034), (26, 0.019), (27, -0.041), (28, 0.014), (29, -0.025), (30, -0.012), (31, 0.046), (32, 0.03), (33, 0.016), (34, 0.007), (35, -0.064), (36, -0.026), (37, 0.036), (38, -0.07), (39, 0.075), (40, 0.017), (41, 0.0), (42, -0.01), (43, 0.002), (44, -0.0), (45, -0.017), (46, -0.03), (47, -0.005), (48, 0.028), (49, 0.048)]

similar blogs list:

simIndex simValue blogId blogTitle

same-blog 1 0.97347212 2163 andrew gelman stats-2014-01-08-How to display multinominal logit results graphically?

Introduction: Adriana Lins de Albuquerque writes: Do you have any suggestions for the best way to represent multinominal logit results graphically? I am using stata. My reply: I don’t know from Stata, but here are my suggestions: 1. If the categories are unordered, break them up into a series of binary choices in a tree structure (for example, non-voter or voter, then voting for left or right, then voting for left party A or B, then voting for right party C or D). Each of these is a binary split and so can be displayed using the usual techniques for logit (as in chapters 3 and 4 of ARM). 2. If the categories are ordered, see Figure 6.4 of ARM for an example (from our analysis of storable votes).

2 0.71500397 684 andrew gelman stats-2011-04-28-Hierarchical ordered logit or probit

Introduction: Jeff writes: How far off is bglmer and can it handle ordered logit or multinom logit? My reply: bglmer is very close. No ordered logit but I was just talking about it with Sophia today. My guess is that the easiest way to fit a hierarchical ordered logit or multinom logit will be to use stan. For right now I’d recommend using glmer/bglmer to fit the ordered logits in order (e.g., 1 vs. 2,3,4, then 2 vs. 3,4, then 3 vs. 4). Or maybe there’s already a hierarchical multinomial logit in mcmcpack or somewhere?

3 0.59690136 312 andrew gelman stats-2010-10-02-“Regression to the mean” is fine. But what’s the “mean”?

Introduction: In the context of a discussion of Democratic party strategies, Matthew Yglesias writes : Given where things stood in January 2009, large House losses were essentially inevitable. The Democratic majority elected in 2008 was totally unsustainable and was doomed by basic regression to the mean. I’d like to push back on this, if for no other reason than that I didn’t foresee all this back in January 2009. Regression to the mean is a fine idea, but what’s the “mean” that you’re regressing to? Here’s a graph I made a couple years ago , showing the time series of Democratic vote share in congressional and presidential elections: Take a look at the House vote in 2006 and 2008. Is this a blip, just begging to be slammed down in 2010 by a regression to the mean? Or does it represent a return to form, back to the 55% level of support that the Democrats had for most of the previous fifty years? It’s not so obvious what to think–at least, not simply from looking at the graph.

4 0.57349759 1229 andrew gelman stats-2012-03-25-Same old story

Introduction: In a review of psychologist Jonathan Haidt’s recent book, “The Righteous Mind,” William Saletan writes : You’re smart. You’re liberal. You’re well informed. You think conservatives are narrow-minded. You can’t understand why working-class Americans vote Republican. You figure they’re being duped. You’re wrong. . . . Haidt diverges from other psychologists who have analyzed the left’s electoral failures. The usual argument of these psycho-­pundits is that conservative politicians manipulate voters’ neural roots — playing on our craving for authority, for example — to trick people into voting against their interests. But Haidt treats electoral success as a kind of evolutionary fitness test. He figures that if voters like Republican messages, there’s something in Republican messages worth liking. He chides psychologists who try to “explain away” conservatism, treating it as a pathology. Conservatism thrives because it fits how people think, and that’s what validates it. Workers who

5 0.57230359 1227 andrew gelman stats-2012-03-23-Voting patterns of America’s whites, from the masses to the elites

Introduction: Within any education category, richer people vote more Republican. In contrast, the pattern of education and voting is nonlinear. High school graduates are more Republican than non-HS grads, but after that, the groups with more education tend to vote more Democratic. At the very highest education level tabulated in the survey, voters with post-graduate degrees lean toward the Democrats. Except for the rich post-graduates; they are split 50-50 between the parties. What does this say about America’s elites? If you define elites as high-income non-Hispanic whites, the elites vote strongly Republican. If you define elites as college-educated high-income whites, they vote moderately Republican. There is no plausible way based on these data in which elites can be considered a Democratic voting bloc. To create a group of strongly Democratic-leaning elite whites using these graphs, you would need to consider only postgraduates (no simple college grads included, even if they have achieved s

6 0.56969213 369 andrew gelman stats-2010-10-25-Misunderstanding of divided government

7 0.56619537 1462 andrew gelman stats-2012-08-18-Standardizing regression inputs

8 0.56528103 249 andrew gelman stats-2010-09-01-References on predicting elections

9 0.55559963 377 andrew gelman stats-2010-10-28-The incoming moderate Republican congressmembers

10 0.55557972 14 andrew gelman stats-2010-05-01-Imputing count data

11 0.55393183 782 andrew gelman stats-2011-06-29-Putting together multinomial discrete regressions by combining simple logits

12 0.54613602 1373 andrew gelman stats-2012-06-09-Cognitive psychology research helps us understand confusion of Jonathan Haidt and others about working-class voters

13 0.5411393 1908 andrew gelman stats-2013-06-21-Interpreting interactions in discrete-data regression

14 0.53623831 1000 andrew gelman stats-2011-11-10-Forecasting 2012: How much does ideology matter?

15 0.53542203 1566 andrew gelman stats-2012-11-07-A question about voting systems—unrelated to U.S. elections!

16 0.53307492 417 andrew gelman stats-2010-11-17-Clutering and variance components

17 0.53121167 852 andrew gelman stats-2011-08-13-Checking your model using fake data

18 0.53090864 1372 andrew gelman stats-2012-06-08-Stop me before I aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

19 0.5272631 1875 andrew gelman stats-2013-05-28-Simplify until your fake-data check works, then add complications until you can figure out where the problem is coming from

20 0.52626127 1516 andrew gelman stats-2012-09-30-Computational problems with glm etc.


similar blogs computed by lda model

lda for this blog:

topicId topicWeight

[(24, 0.09), (37, 0.051), (50, 0.035), (55, 0.142), (63, 0.178), (98, 0.111), (99, 0.252)]

similar blogs list:

simIndex simValue blogId blogTitle

same-blog 1 0.9658199 2163 andrew gelman stats-2014-01-08-How to display multinominal logit results graphically?

Introduction: Adriana Lins de Albuquerque writes: Do you have any suggestions for the best way to represent multinominal logit results graphically? I am using stata. My reply: I don’t know from Stata, but here are my suggestions: 1. If the categories are unordered, break them up into a series of binary choices in a tree structure (for example, non-voter or voter, then voting for left or right, then voting for left party A or B, then voting for right party C or D). Each of these is a binary split and so can be displayed using the usual techniques for logit (as in chapters 3 and 4 of ARM). 2. If the categories are ordered, see Figure 6.4 of ARM for an example (from our analysis of storable votes).

2 0.84804881 1078 andrew gelman stats-2011-12-22-Tables as graphs: The Ramanujan principle

Introduction: Tables are commonly read as crude graphs: what you notice in a table of numbers is (a) the minus signs, and thus which values are positive and which are negative, and (b) the length of each number, that is, its order of magnitude. The most famous example of such a read might be when the mathematician Srinivasa Ramanujan supposedly conjectured the asymptotic form of the partition function based on a look at a table of the first several partition numbers: he was essentially looking at a graph on the logarithmic scale. I discuss some modern-day statistical examples in this article for Significance magazine .   I had a lot of fun creating the “calculator font” for the above graph in R and then writing the article. I hope you enjoy it too! P.S. Also check out this short note by Marcin Kozak and Wojtek Krzanowski on effective presentation of data. P.P.S. I wrote this blog entry a month ago and had it in storage. Then my issue of Significance came in the mail—with my

3 0.84634584 313 andrew gelman stats-2010-10-03-A question for psychometricians

Introduction: Don Coffin writes: A colleague of mine and I are doing a presentation for new faculty on a number of topics related to teaching. Our charge is to identify interesting issues and to find research-based information for them about how to approach things. So, what I wondered is, do you know of any published research dealing with the sort of issues about structuring a course and final exam in the ways you talk about in this blog post ? Some poking around in the usual places hasn’t turned anything up yet. I don’t really know the psychometrics literature but I imagine that some good stuff has been written on principles of test design. There are probably some good papers from back in the 1920s. Can anyone supply some references?

4 0.84498632 628 andrew gelman stats-2011-03-25-100-year floods

Introduction: According to the National Weather Service : What is a 100 year flood? A 100 year flood is an event that statistically has a 1% chance of occurring in any given year. A 500 year flood has a .2% chance of occurring and a 1000 year flood has a .1% chance of occurring. The accompanying map shows a part of Tennessee that in May 2010 had 1000-year levels of flooding. At first, it seems hard to believe that a 1000-year flood would have just happened to occur last year. But then, this is just a 1000-year flood for that particular place. I don’t really have a sense of the statistics of these events. How many 100-year, 500-year, and 1000-year flood events have been recorded by the Weather Service, and when have they occurred?

5 0.84145528 33 andrew gelman stats-2010-05-14-Felix Salmon wins the American Statistical Association’s Excellence in Statistical Reporting Award

Introduction: The official announcement: The Excellence in Statistical Reporting Award for 2010 is presented to Felix Salmon for his body of work, which exemplifies the highest standards of scientific reporting. His insightful use of statistics as a tool to understanding the world of business and economics, areas that are critical in today’s economy, sets a new standard in statistical investigative reporting. Here are some examples: Tiger Woods Nigerian spammers How the government fudges job statistics This one is important to me. The idea is that “statistical reporting” is not just traditional science reporting (journalist talks with scientists and tries to understand the consensus) or science popularization or silly feature stories about the lottery. Salmon is doing investigative reporting using statistical thinking. Also, from a political angle, Salmon’s smart and quantitatively sophisticated work (as well as that of others such as Nate Silver) is an important counterweigh

6 0.83550745 1621 andrew gelman stats-2012-12-13-Puzzles of criminal justice

7 0.83304006 782 andrew gelman stats-2011-06-29-Putting together multinomial discrete regressions by combining simple logits

8 0.83067542 745 andrew gelman stats-2011-06-04-High-level intellectual discussions in the Columbia statistics department

9 0.82102501 286 andrew gelman stats-2010-09-20-Are the Democrats avoiding a national campaign?

10 0.81086791 620 andrew gelman stats-2011-03-19-Online James?

11 0.81004322 293 andrew gelman stats-2010-09-23-Lowess is great

12 0.80868143 102 andrew gelman stats-2010-06-21-Why modern art is all in the mind

13 0.80819851 1480 andrew gelman stats-2012-09-02-“If our product is harmful . . . we’ll stop making it.”

14 0.80475086 684 andrew gelman stats-2011-04-28-Hierarchical ordered logit or probit

15 0.80262864 1484 andrew gelman stats-2012-09-05-Two exciting movie ideas: “Second Chance U” and “The New Dirty Dozen”

16 0.80003685 132 andrew gelman stats-2010-07-07-Note to “Cigarettes”

17 0.797149 1556 andrew gelman stats-2012-11-01-Recently in the sister blogs: special pre-election edition!

18 0.79495227 50 andrew gelman stats-2010-05-25-Looking for Sister Right

19 0.79164749 1463 andrew gelman stats-2012-08-19-It is difficult to convey intonation in typed speech

20 0.78908569 1201 andrew gelman stats-2012-03-07-Inference = data + model