andrew_gelman_stats andrew_gelman_stats-lda knowledge-graph by maker-knowledge-mining
topicId: wordWeight*wordName (topN-words)
topic #0: 0.011*spouses + 0.010*jeremy + 0.010*scope + 0.010*materials + 0.008*pelham + 0.008*definitions + 0.008*simonsohn + 0.007*freese + 0.007*alice + 0.006*socialize
topic #1: 0.012*listen + 0.009*download + 0.008*coffee + 0.007*bill + 0.007*alive + 0.007*adams + 0.006*outdoor + 0.006*baseball + 0.006*wilson + 0.006*james
topic #2: 0.011*publication + 0.009*parents + 0.007*production + 0.007*variation + 0.007*weighting + 0.006*children + 0.006*sports + 0.006*sex + 0.006*species + 0.005*respond
topic #3: 0.009*easterbrook + 0.009*tim + 0.008*maurizio + 0.006*neglected + 0.006*transferable + 0.005*answered + 0.005*struggling + 0.005*billions + 0.005*ubiquitous + 0.004*imagination
topic #4: 0.029*names + 0.013*forensic + 0.007*girolami + 0.007*germany + 0.007*linguist + 0.005*pi + 0.005*reviewing + 0.005*interventions + 0.005*forums + 0.004*misses
topic #5: 0.009*nate + 0.008*election + 0.008*polls + 0.008*chart + 0.008*frequency + 0.007*head + 0.007*soft + 0.007*wang + 0.006*axis + 0.006*bought
topic #6: 0.012*survival + 0.008*destruction + 0.008*mammography + 0.008*gary + 0.007*prostate + 0.007*holmes + 0.007*plant + 0.007*gates + 0.006*jumping + 0.006*beneficial
topic #7: 0.008*puerto + 0.008*details + 0.008*commented + 0.007*mess + 0.007*scienceopen + 0.006*earnings + 0.006*exchangeability + 0.006*scarily + 0.006*sfv + 0.006*intercept
topic #8: 0.013*sexual + 0.010*finish + 0.008*bimodal + 0.007*lognormal + 0.006*nobel + 0.005*discoveries + 0.005*rain + 0.005*sufficiently + 0.005*reproduced + 0.005*mechanics
topic #9: 0.017*vote + 0.011*publication + 0.010*million + 0.010*list + 0.008*deaths + 0.008*benefit + 0.008*fallacy + 0.007*spamming + 0.007*savvy + 0.007*bet
topic #10: 0.026*press + 0.013*releases + 0.012*map + 0.011*candies + 0.011*unreplicable + 0.008*bag + 0.008*sends + 0.007*leap + 0.007*mood + 0.007*smallish
topic #11: 0.022*tomorrow + 0.015*calibration + 0.011*bed + 0.011*exam + 0.009*manipulation + 0.007*pace + 0.006*scaled + 0.005*williams + 0.004*dimensionality + 0.004*blogroll
topic #12: 0.013*rojas + 0.012*hurricane + 0.010*award + 0.009*postmodernism + 0.006*tasks + 0.005*boss + 0.005*evaluate + 0.005*google + 0.005*codes + 0.005*unemployed
topic #13: 0.008*analysts + 0.008*boring + 0.008*constraint + 0.008*implemented + 0.007*south + 0.007*cleaning + 0.007*parody + 0.006*bath + 0.006*kennedy + 0.006*movie
topic #14: 0.012*viz + 0.011*participation + 0.011*yet + 0.011*nuts + 0.011*saga + 0.010*methodology + 0.008*geometric + 0.008*retire + 0.008*https + 0.008*backstory
topic #15: 0.013*journal + 0.013*psychological + 0.010*journals + 0.009*talking + 0.008*publishing + 0.008*peer + 0.007*publish + 0.007*scientific + 0.007*colleague + 0.006*central
topic #16: 0.007*doesn + 0.006*scientific + 0.006*change + 0.006*various + 0.006*talk + 0.006*page + 0.005*journal + 0.005*comes + 0.005*original + 0.005*free
topic #17: 0.020*heller + 0.019*mic + 0.014*structural + 0.012*gorfine + 0.009*univariate + 0.008*relationships + 0.007*tibshirani + 0.007*rob + 0.006*http + 0.005*mathematicians
topic #18: 0.010*dear + 0.010*normality + 0.010*paris + 0.010*samuelson + 0.009*pubmed + 0.008*morris + 0.007*sally + 0.007*food + 0.007*douthat + 0.006*advise
topic #19: 0.009*jacobs + 0.008*william + 0.007*enabling + 0.007*swiss + 0.006*prepare + 0.005*reliably + 0.005*hypothetical + 0.005*manage + 0.005*possess + 0.004*fulfill
topic #20: 0.014*intervals + 0.014*sister + 0.013*promotion + 0.012*ben + 0.012*confidence + 0.010*canonical + 0.009*visiting + 0.008*marc + 0.007*forecasts + 0.006*hill
topic #21: 0.013*researchers + 0.010*null + 0.009*seen + 0.008*asked + 0.007*experience + 0.007*causes + 0.007*relative + 0.006*application + 0.006*replication + 0.006*list
topic #22: 0.011*exciting + 0.010*fire + 0.010*tesla + 0.009*evolution + 0.007*radio + 0.007*mendelssohn + 0.007*god + 0.007*future + 0.006*smoking + 0.006*holding
topic #23: 0.013*florida + 0.010*date + 0.008*religion + 0.007*metrics + 0.007*biostatistics + 0.007*hire + 0.006*wall + 0.006*spline + 0.005*tautology + 0.005*touches
topic #24: 0.008*stan + 0.007*prior + 0.006*graph + 0.006*effects + 0.006*might + 0.006*effect + 0.005*thought + 0.005*case + 0.004*sure + 0.004*put
topic #25: 0.015*steigler + 0.006*cards + 0.005*morey + 0.005*dying + 0.005*weird + 0.004*goodwin + 0.004*diseases + 0.004*tips + 0.004*christopher + 0.004*strain
topic #26: 0.009*spagat + 0.008*iraq + 0.008*noon + 0.006*fishy + 0.006*image + 0.005*dept + 0.005*inquiry + 0.005*hilarious + 0.004*blair + 0.002*linzer
topic #27: 0.015*neyman + 0.013*fisher + 0.010*damn + 0.009*blogs + 0.009*correspondent + 0.008*brown + 0.008*buy + 0.007*editing + 0.007*establishment + 0.006*scaling
topic #28: 0.019*hauser + 0.011*offhand + 0.010*yeah + 0.008*assessment + 0.007*seek + 0.006*homes + 0.006*slightly + 0.005*differently + 0.005*jonah + 0.005*pursuing
topic #29: 0.014*lehrer + 0.009*ibm + 0.007*radford + 0.007*speakers + 0.006*rip + 0.006*cook + 0.005*astrobites + 0.005*household + 0.004*wasted + 0.004*searched
topic #30: 0.008*nba + 0.008*malaria + 0.007*bugs + 0.007*desire + 0.007*drinking + 0.007*tukey + 0.007*insider + 0.006*baytch + 0.006*india + 0.005*hopefully
topic #31: 0.015*ferguson + 0.009*causality + 0.008*anthony + 0.008*curriculum + 0.008*pearson + 0.008*invade + 0.008*arm + 0.008*audience + 0.007*center + 0.007*sisters
topic #32: 0.009*memory + 0.008*austin + 0.008*trolls + 0.007*yau + 0.006*disliked + 0.006*filling + 0.005*blind + 0.005*wyatt + 0.005*trolling + 0.005*format
topic #33: 0.007*limiting + 0.007*gold + 0.005*pushback + 0.005*understandings + 0.004*considers + 0.004*catalog + 0.004*suffer + 0.003*regularized + 0.003*opponents + 0.003*kuhn
topic #34: 0.022*kaiser + 0.016*johnson + 0.014*val + 0.011*fung + 0.010*homework + 0.009*pystan + 0.009*ajps + 0.007*throw + 0.006*growth + 0.006*housework
topic #35: 0.010*harkonen + 0.007*output + 0.007*shifting + 0.006*placebo + 0.006*greg + 0.006*boundary + 0.006*block + 0.006*sticks + 0.006*adjudicate + 0.006*departments
topic #36: 0.012*kasparov + 0.011*keen + 0.009*ci + 0.009*frey + 0.009*jags + 0.008*prediv + 0.008*sensitive + 0.008*ghitza + 0.008*narrative + 0.006*chain
topic #37: 0.010*microfoundations + 0.008*roller + 0.008*blinded + 0.006*burnham + 0.006*sethi + 0.005*graphically + 0.005*woody + 0.005*lr + 0.004*rajiv + 0.004*streets
topic #38: 0.018*forum + 0.010*housing + 0.007*car + 0.007*poverty + 0.006*clinicians + 0.005*respondent + 0.004*episode + 0.004*seq + 0.004*angry + 0.003*drinkers
topic #39: 0.005*finnish + 0.005*lineplot + 0.005*pc + 0.005*sharad + 0.004*dotplot + 0.004*gaming + 0.004*hendry + 0.004*hoekstra + 0.004*rink + 0.004*reserve
topic #40: 0.018*girls + 0.011*crisis + 0.010*midday + 0.007*penalty + 0.007*seconds + 0.006*pushing + 0.006*algebra + 0.006*boy + 0.006*pat + 0.006*glance
topic #41: 0.026*differential + 0.016*score + 0.014*basketball + 0.014*girl + 0.010*release + 0.010*height + 0.008*scale + 0.007*babies + 0.006*genetic + 0.006*discretization
topic #42: 0.014*stepwise + 0.013*leek + 0.008*summers + 0.008*london + 0.007*lecture + 0.007*symmetric + 0.007*mix + 0.006*corrections + 0.006*collecting + 0.006*ready
topic #43: 0.035*tues + 0.008*release + 0.007*politicians + 0.007*disciplines + 0.007*assistant + 0.007*ovulation + 0.007*bristol + 0.006*centre + 0.006*refers + 0.006*copies
topic #44: 0.013*bug + 0.013*edlin + 0.011*stopping + 0.009*presentation + 0.009*rachel + 0.007*rule + 0.006*richest + 0.006*industry + 0.006*schutt + 0.005*yards
topic #45: 0.009*polarization + 0.007*rats + 0.007*income + 0.007*aggressive + 0.006*whites + 0.006*compilation + 0.005*partly + 0.005*clark + 0.005*consumers + 0.005*arthur
topic #46: 0.023*town + 0.009*coursera + 0.009*adding + 0.008*foster + 0.008*manuscript + 0.007*cocktail + 0.006*scalability + 0.006*honored + 0.005*orders + 0.004*wacky
topic #47: 0.034*mon + 0.032*sat + 0.028*hangout + 0.017*preregistration + 0.010*talk + 0.010*slides + 0.008*resolve + 0.006*labeled + 0.006*audience + 0.006*checklist
topic #48: 0.013*technology + 0.013*tl + 0.010*tech + 0.009*anaface + 0.008*late + 0.007*cannabis + 0.006*fat + 0.006*pachter + 0.006*lior + 0.006*illustration
topic #49: 0.016*freud + 0.013*minimax + 0.012*media + 0.012*sims + 0.011*innovation + 0.009*mo + 0.008*browser + 0.007*insignificant + 0.007*minute + 0.007*delay
topic #50: 0.011*forecasts + 0.010*allen + 0.006*racism + 0.006*peng + 0.005*straw + 0.005*harmful + 0.005*multinomial + 0.005*roc + 0.005*storable + 0.004*debt
topic #51: 0.010*conley + 0.009*increasing + 0.008*curves + 0.008*infovis + 0.007*transportation + 0.006*tufte + 0.006*decreasing + 0.006*rereading + 0.006*misc + 0.005*murder
topic #52: 0.012*food + 0.009*dean + 0.009*sd + 0.008*successfully + 0.008*heading + 0.007*dylan + 0.007*scheduled + 0.006*eckles + 0.006*inserted + 0.006*attacks
topic #53: 0.014*exercise + 0.012*seth + 0.011*weight + 0.010*threshold + 0.010*scenario + 0.009*replied + 0.007*loss + 0.006*nonparametric + 0.006*medicine + 0.006*ecology
topic #54: 0.013*url + 0.011*music + 0.011*fda + 0.009*chess + 0.008*prejudice + 0.007*accent + 0.006*loken + 0.006*glm + 0.005*device + 0.005*voice
topic #55: 0.010*bob + 0.008*democratic + 0.008*meetup + 0.008*gay + 0.008*analogy + 0.007*career + 0.007*reader + 0.007*voting + 0.007*crime + 0.007*genetic
topic #56: 0.018*oswald + 0.011*environmental + 0.010*problematic + 0.009*friday + 0.008*tuning + 0.008*deterministic + 0.007*omitted + 0.006*participating + 0.006*stochastic + 0.006*speed
topic #57: 0.016*alper + 0.014*tutorial + 0.010*opening + 0.009*stapel + 0.008*kosara + 0.007*diederik + 0.007*acting + 0.006*nuts + 0.006*krugman + 0.006*changed
topic #58: 0.008*lm + 0.006*goodness + 0.005*boundaries + 0.005*boxes + 0.005*happily + 0.004*lawsuit + 0.004*centuries + 0.004*saturation + 0.004*simulator + 0.003*corey
topic #59: 0.011*document + 0.011*simpson + 0.010*wegman + 0.010*wonderful + 0.009*discrimination + 0.009*davis + 0.008*fool + 0.008*recipients + 0.007*asymptotically + 0.006*width
topic #60: 0.008*english + 0.008*surgeon + 0.007*widening + 0.006*possessions + 0.005*surgeons + 0.005*shocks + 0.005*gill + 0.005*eigenvalues + 0.004*gawande + 0.003*inverse
topic #61: 0.017*tenure + 0.015*waic + 0.015*yup + 0.011*automatic + 0.010*educational + 0.008*kernel + 0.008*attainment + 0.007*dic + 0.006*deviance + 0.006*bay
topic #62: 0.015*sensing + 0.010*german + 0.009*unmodeled + 0.008*resume + 0.008*berri + 0.007*conversations + 0.006*touchdowns + 0.006*scandals + 0.005*supernatural + 0.005*dave
topic #63: 0.008*logit + 0.007*criticizing + 0.007*dealing + 0.007*nick + 0.007*steals + 0.007*republicans + 0.006*service + 0.006*headline + 0.006*suggestions + 0.005*bagnall
topic #64: 0.010*guido + 0.008*si + 0.007*pollster + 0.006*shapes + 0.005*imbens + 0.005*counterproductive + 0.005*idaho + 0.005*interactive + 0.004*hoping + 0.004*impeded
topic #65: 0.030*mrp + 0.020*de + 0.012*bh + 0.010*label + 0.009*rstan + 0.008*april + 0.008*citations + 0.008*buttice + 0.008*highton + 0.008*sqrt
topic #66: 0.011*create + 0.011*yellow + 0.009*beauty + 0.008*challenges + 0.007*parents + 0.007*europe + 0.007*typo + 0.007*daughters + 0.007*dull + 0.006*west
topic #67: 0.010*indignant + 0.008*yglesias + 0.007*grew + 0.005*wells + 0.004*mistrial + 0.004*drawings + 0.004*restraint + 0.004*willie + 0.004*invasive + 0.003*clicking
topic #68: 0.011*liberman + 0.011*primarily + 0.010*dense + 0.009*taste + 0.008*bootstrap + 0.008*cautious + 0.007*marital + 0.007*stats + 0.007*grand + 0.006*frustrated
topic #69: 0.010*twitter + 0.010*es + 0.009*mac + 0.008*spring + 0.008*lasso + 0.007*grad + 0.006*invasions + 0.006*bases + 0.006*chait + 0.006*lee
topic #70: 0.014*keith + 0.010*advancement + 0.007*rourke + 0.006*authorship + 0.006*trailer + 0.005*treatises + 0.005*nosek + 0.005*spouse + 0.005*poster + 0.004*brian
topic #71: 0.061*thurs + 0.047*wed + 0.008*talks + 0.006*cries + 0.006*announces + 0.005*ed + 0.005*wider + 0.005*horror + 0.004*dunson + 0.004*wagering
topic #72: 0.010*inequality + 0.010*nets + 0.010*identification + 0.010*sachs + 0.009*easterly + 0.008*teragram + 0.008*textbook + 0.007*marijuana + 0.007*zambia + 0.006*monthlong
topic #73: 0.017*users + 0.014*hipmunk + 0.009*expedia + 0.008*versus + 0.008*flight + 0.007*stan + 0.007*excited + 0.007*wade + 0.005*emcee + 0.005*developers
topic #74: 0.022*mankiw + 0.013*courtesy + 0.010*tax + 0.009*reviews + 0.007*scirev + 0.007*marginal + 0.005*doomsday + 0.005*publicly + 0.005*alfred + 0.005*rate
topic #75: 0.031*em + 0.016*bf + 0.010*warren + 0.007*hedge + 0.006*wasting + 0.006*religions + 0.005*mckee + 0.005*russell + 0.005*markov + 0.004*contributions
topic #76: 0.010*qui + 0.009*traffic + 0.008*physicist + 0.007*speculations + 0.007*mosaic + 0.007*income + 0.006*schwabish + 0.006*forgotten + 0.006*measurements + 0.006*basb
topic #77: 0.014*visualizations + 0.012*google + 0.010*microsoft + 0.010*structure + 0.010*speaking + 0.009*associations + 0.008*private + 0.008*looks + 0.008*duncan + 0.008*felix
topic #78: 0.017*enjoy + 0.009*entries + 0.008*instrument + 0.007*skin + 0.007*asymmetric + 0.006*bizarre + 0.005*genius + 0.005*coef + 0.004*awe + 0.004*desperately
topic #79: 0.012*interaction + 0.009*decomposition + 0.009*amy + 0.009*introduced + 0.008*anova + 0.008*components + 0.008*gaussian + 0.008*path + 0.008*aki + 0.006*compute
topic #80: 0.014*odds + 0.011*aleks + 0.010*xl + 0.006*genuinely + 0.006*nations + 0.006*rinaldi + 0.006*window + 0.006*blow + 0.005*actors + 0.004*suburban
topic #81: 0.021*cage + 0.018*monkey + 0.011*heckman + 0.010*violence + 0.010*tall + 0.008*roy + 0.008*incorporated + 0.008*catalina + 0.007*blogging + 0.007*anderson
topic #82: 0.011*hmc + 0.010*package + 0.010*tracy + 0.010*beall + 0.009*hamiltonian + 0.007*seminar + 0.007*profession + 0.006*murray + 0.006*consensus + 0.005*jordan
topic #83: 0.011*federal + 0.005*macro + 0.005*stops + 0.005*biases + 0.005*refuses + 0.005*gamed + 0.005*ryan + 0.005*tank + 0.004*abroad + 0.004*samantha
topic #84: 0.015*sparsity + 0.008*light + 0.008*county + 0.007*sampled + 0.007*reality + 0.007*updated + 0.006*finite + 0.006*procedure + 0.006*guidance + 0.006*continuing
topic #85: 0.019*ticket + 0.014*periods + 0.012*palko + 0.011*raymond + 0.010*evaluations + 0.009*fernando + 0.008*creative + 0.008*waxes + 0.008*matching + 0.007*murrell
topic #86: 0.009*bayes + 0.009*type + 0.009*student + 0.009*gladwell + 0.008*section + 0.008*number + 0.008*linear + 0.007*false + 0.006*languages + 0.006*election
topic #87: 0.013*lax + 0.012*equation + 0.010*phillips + 0.010*unwin + 0.010*antony + 0.007*frame + 0.007*societies + 0.007*evaluate + 0.007*purported + 0.006*enda
topic #88: 0.011*weights + 0.009*rank + 0.009*universal + 0.009*workshop + 0.008*overrated + 0.007*unclear + 0.007*pinker + 0.007*uninformative + 0.007*marry + 0.007*grades
topic #89: 0.024*sun + 0.008*players + 0.008*player + 0.007*affect + 0.007*matrix + 0.006*samples + 0.006*mixed + 0.006*reverse + 0.005*covariates + 0.005*played
topic #90: 0.009*beef + 0.009*hanson + 0.008*falls + 0.006*behind + 0.006*reform + 0.006*opposition + 0.006*patties + 0.006*ratings + 0.005*street + 0.005*robin
topic #91: 0.012*matrix + 0.011*bayesianism + 0.010*dennis + 0.010*mike + 0.009*novels + 0.008*convey + 0.007*vegetables + 0.006*brain + 0.006*behavioral + 0.005*share
topic #92: 0.023*unz + 0.013*ted + 0.011*jewish + 0.010*whassup + 0.008*hospital + 0.007*jews + 0.007*neat + 0.005*highlighting + 0.005*adjudicating + 0.004*achievers
topic #93: 0.010*obama + 0.009*fox + 0.006*fringe + 0.006*laws + 0.006*ass + 0.006*firms + 0.005*lesser + 0.005*cities + 0.005*organizations + 0.005*november
topic #94: 0.014*la + 0.012*utility + 0.011*demonstration + 0.008*rice + 0.007*base + 0.007*balf + 0.007*spelling + 0.007*spammer + 0.006*ff + 0.006*epidemiology
topic #95: 0.015*measurement + 0.013*color + 0.013*child + 0.009*death + 0.009*countries + 0.009*animals + 0.008*mortality + 0.007*plus + 0.006*six + 0.006*muted
topic #96: 0.011*indicator + 0.009*die + 0.008*essays + 0.007*letters + 0.007*manian + 0.007*govind + 0.007*principal + 0.006*nowadays + 0.005*gambling + 0.005*textbook
topic #97: 0.008*engineering + 0.008*fools + 0.008*leaders + 0.007*indicators + 0.006*jenkins + 0.005*unsolicited + 0.005*position + 0.005*stunned + 0.005*genome + 0.005*republic
topic #98: 0.036*fri + 0.015*spam + 0.013*whitaker + 0.012*baby + 0.010*journalism + 0.009*beat + 0.009*plagiarism + 0.008*name + 0.008*pilot + 0.008*pointer
topic #99: 0.006*data + 0.005*research + 0.004*paper + 0.004*bayesian + 0.004*statistics + 0.004*think + 0.004*model + 0.004*people + 0.004*one + 0.004*time
Latent Dirichlet allocation
In natural language processing, latent Dirichlet allocation (LDA) is a generative model that allows sets of observations to be explained by unobserved groups that explain why some parts of the data are similar. For example, if observations are words collected into documents, it posits that each document is a mixture of a small number of topics and that each word's creation is attributable to one of the document's topics. LDA is an example of a topic model and was first presented as a graphical model for topic discovery by David Blei, Andrew Ng, and Michael Jordan in 2003.
Topics in LDA
In LDA, each document may be viewed as a mixture of various topics. This is similar to probabilistic latent semantic analysis (pLSA), except that in LDA the topic distribution is assumed to have a Dirichlet prior. In practice, this results in more reasonable mixtures of topics in a document. It has been noted, however, that the pLSA model is equivalent to the LDA model under a uniform Dirichlet prior distribution.
For example, an LDA model might have topics that can be classified as CAT_related and DOG_related. A topic has probabilities of generating various words, such as milk, meow, and kitten, which can be classified and interpreted by the viewer as "CAT_related". Naturally, the word cat itself will have high probability given this topic. The DOG_related topic likewise has probabilities of generating each word: puppy, bark, and bone might have high probability. Words without special relevance, such as the (see function word), will have roughly even probability between classes (or can be placed into a separate category). A topic is not strongly defined, neither semantically nor epistemologically. It is identified on the basis of supervised labeling and (manual) pruning on the basis of their likelihood of co-occurrence. A lexical word may occur in several topics with a different probability, however, with a different typical set of neighboring words in each topic.
Each document is assumed to be characterized by a particular set of topics. This is akin to the standard bag of words model assumption, and makes the individual words exchangeable.
Model
With plate notation, the dependencies among the many variables can be captured concisely. The boxes are “plates” representing replicates. The outer plate represents documents, while the inner plate represents the repeated choice of topics and words within a document. M denotes the number of documents, N the number of words in a document. Thus:
α is the parameter of the Dirichlet prior on the per-document topic distributions,
β is the parameter of the Dirichlet prior on the per-topic word distribution,
\theta_i is the topic distribution for document i,
\phi_k is the word distribution for topic k,
z_{ij} is the topic for the jth word in document i, and
w_{ij} is the specific word.
The w_{ij} are the only observable variables, and the other variables are latent variables. Mostly, the basic LDA model will be extended to a smoothed version to gain better results .[citation needed] The plate notation is shown on the right, where K denotes the number of topics considered in the model and:
\phi is a K*V (V is the dimension of the vocabulary) Markov matrix each row of which denotes the word distribution of a topic.
The generative process behind is that documents are represented as random mixtures over latent topics, where each topic is characterized by a distribution over words. LDA assumes the following generative process for a corpus D consisting of M documents each of length N_i:
1. Choose \theta_i \, \sim \, \mathrm{Dir}(\alpha) , where i \in \{ 1,\dots,M \} and \mathrm{Dir}(\alpha) is the Dirichlet distribution for parameter \alpha
2. Choose \phi_k \, \sim \, \mathrm{Dir}(\beta) , where k \in \{ 1,\dots,K \}
3. For each of the word positions i, j, where j \in \{ 1,\dots,N_i \} , and i \in \{ 1,\dots,M \}
(a) Choose a topic z_{i,j} \,\sim\, \mathrm{Multinomial}(\theta_i).
(b) Choose a word w_{i,j} \,\sim\, \mathrm{Multinomial}( \phi_{z_{i,j}}) .
(Note that the Multinomial distribution here refers to the Multinomial with only one trial. It is formally equivalent to the categorical distribution.)
The lengths N_i are treated as independent of all the other data generating variables (q and z). The subscript is often dropped, as in the plate diagrams shown here.
Inference
Learning the various distributions (the set of topics, their associated word probabilities, the topic of each word, and the particular topic mixture of each document) is a problem of Bayesian inference. The original paper used a variational Bayes approximation of the posterior distribution;[1] alternative inference techniques use Gibbs sampling and expectation propagation.
Following is the derivation of the equations for collapsed Gibbs sampling, which means \varphis and \thetas will be integrated out. For simplicity, in this derivation the documents are all assumed to have the same length N_{}. The derivation is equally valid if the document lengths vary.
Applications, extensions and similar techniques
Topic modeling is a classic problem in information retrieval. Related models and techniques are, among others, latent semantic indexing, independent component analysis, probabilistic latent semantic indexing, non-negative matrix factorization, and Gamma-Poisson distribution.
The LDA model is highly modular and can therefore be easily extended. The main field of interest is modeling relations between topics. This is achieved by using another distribution on the simplex instead of the Dirichlet. The Correlated Topic Model follows this approach, inducing a correlation structure between topics by using the logistic normal distribution instead of the Dirichlet. Another extension is the hierarchical LDA (hLDA), where topics are joined together in a hierarchy by using the nested Chinese restaurant process. LDA can also be extended to a corpus in which a document includes two types of information (e.g., words and names), as in the LDA-dual model. Nonparametric extensions of LDA include the Hierarchical Dirichlet process mixture model, which allows the number of topics to be unbounded and learnt from data and the Nested Chinese Restaurant Process which allows topics to be arranged in a hierarchy whose structure is learnt from data.
As noted earlier, PLSA is similar to LDA. The LDA model is essentially the Bayesian version of PLSA model. The Bayesian formulation tends to perform better on small datasets because Bayesian methods can avoid overfitting the data. In a very large dataset, the results are probably the same. One difference is that PLSA uses a variable d to represent a document in the training set. So in PLSA, when presented with a document the model hasn't seen before, we fix \Pr(w \mid z)—the probability of words under topics—to be that learned from the training set and use the same EM algorithm to infer \Pr(z \mid d)—the topic distribution under d. Blei argues that this step is cheating because you are essentially refitting the model to the new data.
Variations on LDA have been used to automatically put natural images into categories, such as "bedroom" or "forest", by treating an image as a document, and small patches of the image as words; one of the variations is called Spatial Latent Dirichlet Allocation.
from wiki http://en.wikipedia.org/wiki/Latent_Dirichlet_allocation