andrew_gelman_stats andrew_gelman_stats-2013 andrew_gelman_stats-2013-1682 knowledge-graph by maker-knowledge-mining

1682 andrew gelman stats-2013-01-19-R package for Bayes factors


meta infos for this blog

Source: html

Introduction: Richard Morey writes: You and your blog readers may be interested to know that a we’ve released a major new version of the BayesFactor package to CRAN. The package computes Bayes factors for linear mixed models and regression models. Of course, I’m aware you don’t like point-null model comparisons, but the package does more than that; it also allows sampling from posterior distributions of the compared models, in much the same way that your arm package does with lmer objects. The sampling (both for the Bayes factors and posteriors) is quite fast, since the back end is written in C. Some basic examples using the package can be found here , and the CRAN page is here . Indeed I don’t like point-null model comparisons . . . but maybe this will be useful to some of you!


Summary: the most important sentenses genereted by tfidf model

sentIndex sentText sentNum sentScore

1 Richard Morey writes: You and your blog readers may be interested to know that a we’ve released a major new version of the BayesFactor package to CRAN. [sent-1, score-1.3]

2 The package computes Bayes factors for linear mixed models and regression models. [sent-2, score-1.251]

3 Of course, I’m aware you don’t like point-null model comparisons, but the package does more than that; it also allows sampling from posterior distributions of the compared models, in much the same way that your arm package does with lmer objects. [sent-3, score-2.483]

4 The sampling (both for the Bayes factors and posteriors) is quite fast, since the back end is written in C. [sent-4, score-0.781]

5 Some basic examples using the package can be found here , and the CRAN page is here . [sent-5, score-0.985]

6 Indeed I don’t like point-null model comparisons . [sent-6, score-0.34]


similar blogs computed by tfidf model

tfidf for this blog:

wordName wordTfidf (topN-words)

[('package', 0.611), ('factors', 0.212), ('cran', 0.21), ('bayes', 0.205), ('sampling', 0.202), ('comparisons', 0.197), ('morey', 0.197), ('posteriors', 0.192), ('lmer', 0.177), ('released', 0.142), ('arm', 0.136), ('mixed', 0.132), ('allows', 0.126), ('fast', 0.125), ('richard', 0.124), ('models', 0.117), ('aware', 0.113), ('distributions', 0.104), ('linear', 0.104), ('version', 0.102), ('major', 0.099), ('posterior', 0.096), ('basic', 0.094), ('model', 0.092), ('compared', 0.091), ('page', 0.087), ('written', 0.085), ('readers', 0.084), ('examples', 0.08), ('end', 0.079), ('indeed', 0.075), ('quite', 0.075), ('regression', 0.075), ('useful', 0.074), ('interested', 0.069), ('since', 0.066), ('course', 0.066), ('found', 0.064), ('may', 0.062), ('back', 0.062), ('blog', 0.052), ('maybe', 0.051), ('like', 0.051), ('using', 0.049), ('new', 0.042), ('ve', 0.039), ('know', 0.037), ('way', 0.037), ('much', 0.036), ('writes', 0.035)]

similar blogs list:

simIndex simValue blogId blogTitle

same-blog 1 1.0 1682 andrew gelman stats-2013-01-19-R package for Bayes factors

Introduction: Richard Morey writes: You and your blog readers may be interested to know that a we’ve released a major new version of the BayesFactor package to CRAN. The package computes Bayes factors for linear mixed models and regression models. Of course, I’m aware you don’t like point-null model comparisons, but the package does more than that; it also allows sampling from posterior distributions of the compared models, in much the same way that your arm package does with lmer objects. The sampling (both for the Bayes factors and posteriors) is quite fast, since the back end is written in C. Some basic examples using the package can be found here , and the CRAN page is here . Indeed I don’t like point-null model comparisons . . . but maybe this will be useful to some of you!

2 0.39729309 1134 andrew gelman stats-2012-01-21-Lessons learned from a recent R package submission

Introduction: R has zillions of packages, and people are submitting new ones each day . The volunteers who keep R going are doing an incredibly useful service to the profession, and they’re busy . A colleague sends in some suugestions based on a recent experience with a package update: 1. Always use the R dev version to write a package. Not the current stable release. The R people use the R dev version to check your package anyway. If you don’t use the R dev version, there is chance that your package won’t pass the check. In my own experience, every time R has a major change, it tends to have new standards and find new errors in your package with these new standards. So better use the dev version to find out the potential errors in advance. 2. After submission, write an email to claim it. I used to submit the package to the CRAN without writing an email. This was standard operating procedure, but it has changed. Writing an email to claim about the submission is now a requir

3 0.32582426 501 andrew gelman stats-2011-01-04-A new R package for fititng multilevel models

Introduction: Joscha Legewie points to this article by Lars Ronnegard, Xia Shen, and Moudud Alam, “hglm: A Package for Fitting Hierarchical Generalized Linear Models,” which just appeared in the R journal. This new package has the advantage, compared to lmer(), of allowing non-normal distributions for the varying coefficients. On the downside, they seem to have reverted to the ugly lme-style syntax (for example, “fixed = y ~ week, random = ~ 1|ID” rather than “y ~ week + (1|D)”). The old-style syntax has difficulties handling non-nested grouping factors. They also say they can estimated models with correlated random effects, but isn’t that just the same as varying-intercept, varying-slope models, which lmer (or Stata alternatives such as gllam) can already do? There’s also a bunch of stuff on H-likelihood theory, which seems pretty pointless to me (although probably it won’t do much harm either). In any case, this package might be useful to some of you, hence this note.

4 0.21776931 25 andrew gelman stats-2010-05-10-Two great tastes that taste great together

Introduction: Vlad Kogan writes: I’ve using your book on regression and multilevel modeling and have a quick R question for you. Do you happen to know if there is any R package that can estimate a two-stage (instrumental variable) multi-level model? My reply: I don’t know. I’ll post on blog and maybe there will be a response. You could also try the R help list.

5 0.20714197 2069 andrew gelman stats-2013-10-19-R package for effect size calculations for psychology researchers

Introduction: Dan Gerlanc writes: I read your post the other day [now the other month, as our blog is on a bit of a delay] on helping psychologists do research and thought you might be interested in our R package, “bootES”, for robust effect size calculation and confidence interval estimation using resampling techniques. The package provides one function, ‘bootES’, that makes a variety of effect size calculations fairly straightforward for researchers with limited programming experience. The majority of the implemented are not available in R or SPSS without custom coding. Kris Kirby (Williams College) and I have published a paper in Behavioral Research Methods describing the methods and providing a tutorial on use of the package: http://bit.ly/YIM6VD. We hope that it’s useful to psychologists and other social science researchers! I haven’t tried this out but it might be of interest for some of you.

6 0.17398512 347 andrew gelman stats-2010-10-17-Getting arm and lme4 running on the Mac

7 0.15242738 2117 andrew gelman stats-2013-11-29-The gradual transition to replicable science

8 0.13331537 774 andrew gelman stats-2011-06-20-The pervasive twoishness of statistics; in particular, the “sampling distribution” and the “likelihood” are two different models, and that’s a good thing

9 0.12935165 555 andrew gelman stats-2011-02-04-Handy Matrix Cheat Sheet, with Gradients

10 0.11800555 246 andrew gelman stats-2010-08-31-Somewhat Bayesian multilevel modeling

11 0.11418831 535 andrew gelman stats-2011-01-24-Bleg: Automatic Differentiation for Log Prob Gradients?

12 0.11379152 1216 andrew gelman stats-2012-03-17-Modeling group-level predictors in a multilevel regression

13 0.11197244 2188 andrew gelman stats-2014-01-27-“Disappointed with your results? Boost your scientific paper”

14 0.11099374 754 andrew gelman stats-2011-06-09-Difficulties with Bayesian model averaging

15 0.11099334 348 andrew gelman stats-2010-10-17-Joanne Gowa scooped me by 22 years in my criticism of Axelrod’s Evolution of Cooperation

16 0.10844017 1628 andrew gelman stats-2012-12-17-Statistics in a world where nothing is random

17 0.10783486 1642 andrew gelman stats-2012-12-28-New book by Stef van Buuren on missing-data imputation looks really good!

18 0.1067972 1144 andrew gelman stats-2012-01-29-How many parameters are in a multilevel model?

19 0.10260285 2231 andrew gelman stats-2014-03-03-Running into a Stan Reference by Accident

20 0.098685957 653 andrew gelman stats-2011-04-08-Multilevel regression with shrinkage for “fixed” effects


similar blogs computed by lsi model

lsi for this blog:

topicId topicWeight

[(0, 0.142), (1, 0.112), (2, -0.001), (3, 0.036), (4, 0.07), (5, 0.042), (6, -0.002), (7, -0.079), (8, 0.045), (9, -0.018), (10, 0.019), (11, -0.005), (12, -0.007), (13, -0.003), (14, 0.027), (15, -0.018), (16, -0.028), (17, 0.031), (18, -0.019), (19, -0.016), (20, 0.016), (21, 0.01), (22, -0.018), (23, 0.021), (24, -0.008), (25, -0.007), (26, -0.026), (27, 0.05), (28, 0.084), (29, -0.023), (30, -0.063), (31, 0.042), (32, -0.001), (33, -0.002), (34, -0.014), (35, -0.018), (36, -0.004), (37, -0.02), (38, -0.026), (39, 0.003), (40, -0.043), (41, 0.025), (42, 0.06), (43, 0.004), (44, 0.017), (45, -0.043), (46, -0.12), (47, 0.04), (48, 0.006), (49, -0.142)]

similar blogs list:

simIndex simValue blogId blogTitle

same-blog 1 0.96019936 1682 andrew gelman stats-2013-01-19-R package for Bayes factors

Introduction: Richard Morey writes: You and your blog readers may be interested to know that a we’ve released a major new version of the BayesFactor package to CRAN. The package computes Bayes factors for linear mixed models and regression models. Of course, I’m aware you don’t like point-null model comparisons, but the package does more than that; it also allows sampling from posterior distributions of the compared models, in much the same way that your arm package does with lmer objects. The sampling (both for the Bayes factors and posteriors) is quite fast, since the back end is written in C. Some basic examples using the package can be found here , and the CRAN page is here . Indeed I don’t like point-null model comparisons . . . but maybe this will be useful to some of you!

2 0.85991597 555 andrew gelman stats-2011-02-04-Handy Matrix Cheat Sheet, with Gradients

Introduction: This post is an (unpaid) advertisement for the following extremely useful resource: Petersen, K. B. and M. S. Pedersen. 2008. The Matrix Cookbook . Tehcnical Report, Technical University of Denmark. It contains 70+ pages of useful relations and derivations involving matrices. What grabbed my eye was the computation of gradients for matrix operations ranging from eigenvalues and determinants to multivariate normal density functions. I had no idea the multivariate normal had such a clean gradient (see section 8). We’ve been playing around with Hamiltonian (aka Hybrid) Monte Carlo for sampling from the posterior of hierarchical generalized linear models with lots of interactions. HMC speeds up Metropolis sampling by using the gradient of the log probability to drive samples in the direction of higher probability density, which is particularly useful for correlated parameters that mix slowly with standard Gibbs sampling. Matt “III” Hoffman ‘s already got it workin

3 0.77465278 1991 andrew gelman stats-2013-08-21-BDA3 table of contents (also a new paper on visualization)

Introduction: In response to our recent posting of Amazon’s offer of Bayesian Data Analysis 3rd edition at 40% off, some people asked what was in this new edition, with more information beyond the beautiful cover image and the brief paragraph I’d posted earlier. Here’s the table of contents. The following sections have all-new material: 1.4 New introduction of BDA principles using a simple spell checking example 2.9 Weakly informative prior distributions 5.7 Weakly informative priors for hierarchical variance parameters 7.1-7.4 Predictive accuracy for model evaluation and comparison 10.6 Computing environments 11.4 Split R-hat 11.5 New measure of effective number of simulation draws 13.7 Variational inference 13.8 Expectation propagation 13.9 Other approximations 14.6 Regularization for regression models C.1 Getting started with R and Stan C.2 Fitting a hierarchical model in Stan C.4 Programming Hamiltonian Monte Carlo in R And the new chapters: 20 Basis function models 2

4 0.77387011 501 andrew gelman stats-2011-01-04-A new R package for fititng multilevel models

Introduction: Joscha Legewie points to this article by Lars Ronnegard, Xia Shen, and Moudud Alam, “hglm: A Package for Fitting Hierarchical Generalized Linear Models,” which just appeared in the R journal. This new package has the advantage, compared to lmer(), of allowing non-normal distributions for the varying coefficients. On the downside, they seem to have reverted to the ugly lme-style syntax (for example, “fixed = y ~ week, random = ~ 1|ID” rather than “y ~ week + (1|D)”). The old-style syntax has difficulties handling non-nested grouping factors. They also say they can estimated models with correlated random effects, but isn’t that just the same as varying-intercept, varying-slope models, which lmer (or Stata alternatives such as gllam) can already do? There’s also a bunch of stuff on H-likelihood theory, which seems pretty pointless to me (although probably it won’t do much harm either). In any case, this package might be useful to some of you, hence this note.

5 0.72943532 2117 andrew gelman stats-2013-11-29-The gradual transition to replicable science

Introduction: Somebody emailed me: I am a researcher at ** University and I have recently read your article on average predictive comparisons for statistical models published 2007 in the journal “Sociological Methodology”. Gelman, Andrew/Iain Pardoe. 2007. “Average Predictive Comparisons for Models with Nonlinearity, Interactions, and Variance Components”. Sociological Methodology 37: 23-51. Currently I am working with multilevel models and find your approach very interesting and useful. May I ask you whether replication materials (e.g. R Code) for this article are available? I had to reply: Hi—I’m embarrassed to say that our R files are a mess! I had ideas of programming the approach more generally as an R package but this has not yet happened yet.

6 0.71422458 419 andrew gelman stats-2010-11-18-Derivative-based MCMC as a breakthrough technique for implementing Bayesian statistics

7 0.71107769 931 andrew gelman stats-2011-09-29-Hamiltonian Monte Carlo stories

8 0.68634319 535 andrew gelman stats-2011-01-24-Bleg: Automatic Differentiation for Log Prob Gradients?

9 0.68586147 1477 andrew gelman stats-2012-08-30-Visualizing Distributions of Covariance Matrices

10 0.67904174 575 andrew gelman stats-2011-02-15-What are the trickiest models to fit?

11 0.66337675 1739 andrew gelman stats-2013-02-26-An AI can build and try out statistical models using an open-ended generative grammar

12 0.64419639 964 andrew gelman stats-2011-10-19-An interweaving-transformation strategy for boosting MCMC efficiency

13 0.6404109 243 andrew gelman stats-2010-08-30-Computer models of the oil spill

14 0.63280284 1710 andrew gelman stats-2013-02-06-The new Stan 1.1.1, featuring Gaussian processes!

15 0.62551415 269 andrew gelman stats-2010-09-10-R vs. Stata, or, Different ways to estimate multilevel models

16 0.61576724 347 andrew gelman stats-2010-10-17-Getting arm and lme4 running on the Mac

17 0.61293572 2277 andrew gelman stats-2014-03-31-The most-cited statistics papers ever

18 0.60857248 1134 andrew gelman stats-2012-01-21-Lessons learned from a recent R package submission

19 0.60608965 1339 andrew gelman stats-2012-05-23-Learning Differential Geometry for Hamiltonian Monte Carlo

20 0.60107958 1983 andrew gelman stats-2013-08-15-More on AIC, WAIC, etc


similar blogs computed by lda model

lda for this blog:

topicId topicWeight

[(0, 0.034), (16, 0.05), (24, 0.137), (25, 0.06), (82, 0.12), (85, 0.074), (86, 0.036), (99, 0.35)]

similar blogs list:

simIndex simValue blogId blogTitle

same-blog 1 0.97394139 1682 andrew gelman stats-2013-01-19-R package for Bayes factors

Introduction: Richard Morey writes: You and your blog readers may be interested to know that a we’ve released a major new version of the BayesFactor package to CRAN. The package computes Bayes factors for linear mixed models and regression models. Of course, I’m aware you don’t like point-null model comparisons, but the package does more than that; it also allows sampling from posterior distributions of the compared models, in much the same way that your arm package does with lmer objects. The sampling (both for the Bayes factors and posteriors) is quite fast, since the back end is written in C. Some basic examples using the package can be found here , and the CRAN page is here . Indeed I don’t like point-null model comparisons . . . but maybe this will be useful to some of you!

2 0.9639802 1094 andrew gelman stats-2011-12-31-Using factor analysis or principal components analysis or measurement-error models for biological measurements in archaeology?

Introduction: Greg Campbell writes: I am a Canadian archaeologist (BSc in Chemistry) researching the past human use of European Atlantic shellfish. After two decades of practice I am finally getting a MA in archaeology at Reading. I am seeing if the habitat or size of harvested mussels (Mytilus edulis) can be reconstructed from measurements of the umbo (the pointy end, and the only bit that survives well in archaeological deposits) using log-transformed measurements (or allometry; relationships between dimensions are more likely exponential than linear). Of course multivariate regressions in most statistics packages (Minitab, SPSS, SAS) assume you are trying to predict one variable from all the others (a Model I regression), and use ordinary least squares to fit the regression line. For organismal dimensions this makes little sense, since all the dimensions are (at least in theory) free to change their mutual proportions during growth. So there is no predictor and predicted, mutual variation of

3 0.96302736 1134 andrew gelman stats-2012-01-21-Lessons learned from a recent R package submission

Introduction: R has zillions of packages, and people are submitting new ones each day . The volunteers who keep R going are doing an incredibly useful service to the profession, and they’re busy . A colleague sends in some suugestions based on a recent experience with a package update: 1. Always use the R dev version to write a package. Not the current stable release. The R people use the R dev version to check your package anyway. If you don’t use the R dev version, there is chance that your package won’t pass the check. In my own experience, every time R has a major change, it tends to have new standards and find new errors in your package with these new standards. So better use the dev version to find out the potential errors in advance. 2. After submission, write an email to claim it. I used to submit the package to the CRAN without writing an email. This was standard operating procedure, but it has changed. Writing an email to claim about the submission is now a requir

4 0.95742846 1725 andrew gelman stats-2013-02-17-“1.7%” ha ha ha

Introduction: Jordan Ellenberg writes: Lots of people sharing this today. Isn’t this exactly the kind of situation where they should have done some kind of shrinkage towards the national mean, as in that thing you wrote about kidney cancer rates by county? i.e. you see, just as you might expect, the extreme values of “proportion of people who said they were gay” are disproportionately taken by small states. My reply: If I don’t have the individual-level survey data that would allow me to do full-scale Mister P , yes, I’d fit a multilevel model to the state-level averages. I wouldn’t quite just partially pool toward the national mean; I think it would make sense to include some state-level predictors. In any case, I think it’s tacky to report poll numbers to fractional percentage points. That kind of precision simply isn’t there. P.S. More discussion of variances of large and small states in the comments .

5 0.95331627 326 andrew gelman stats-2010-10-07-Peer pressure, selection, and educational reform

Introduction: Partly in response to my blog on the Harlem Children’s Zone study, Mark Palko wrote this : Talk of education reform always makes me [Palko] deeply nervous. Part of the anxiety comes having spent a number of years behind the podium and having seen the disparity between the claims and the reality of previous reforms. The rest comes from being a statistician and knowing what things like convergence can do to data. Convergent behavior violates the assumption of independent observations used in most simple analyses, but educational studies commonly, perhaps even routinely ignore the complex ways that social norming can cause the nesting of student performance data. In other words, educational research is often based of the idea that teenagers do not respond to peer pressure. . . . and this : When you isolate a group of students, they will quickly arrive at a consensus of what constitutes normal behavior. It is a complex and somewhat unpredictable process driven by personali

6 0.9533152 340 andrew gelman stats-2010-10-13-Randomized experiments, non-randomized experiments, and observational studies

7 0.9524914 2355 andrew gelman stats-2014-05-31-Jessica Tracy and Alec Beall (authors of the fertile-women-wear-pink study) comment on our Garden of Forking Paths paper, and I comment on their comments

8 0.95195085 1553 andrew gelman stats-2012-10-30-Real rothko, fake rothko

9 0.95112085 1963 andrew gelman stats-2013-07-31-Response by Jessica Tracy and Alec Beall to my critique of the methods in their paper, “Women Are More Likely to Wear Red or Pink at Peak Fertility”

10 0.94875234 940 andrew gelman stats-2011-10-03-It depends upon what the meaning of the word “firm” is.

11 0.94834363 2003 andrew gelman stats-2013-08-30-Stan Project: Continuous Relaxations for Discrete MRFs

12 0.94608325 67 andrew gelman stats-2010-06-03-More on that Dartmouth health care study

13 0.94601542 1039 andrew gelman stats-2011-12-02-I just flew in from the econ seminar, and boy are my arms tired

14 0.94595647 983 andrew gelman stats-2011-10-31-Skepticism about skepticism of global warming skepticism skepticism

15 0.94421506 1836 andrew gelman stats-2013-05-02-Culture clash

16 0.94326842 335 andrew gelman stats-2010-10-11-How to think about Lou Dobbs

17 0.9393903 1169 andrew gelman stats-2012-02-15-Charles Murray on the new upper class

18 0.93836528 501 andrew gelman stats-2011-01-04-A new R package for fititng multilevel models

19 0.93818003 606 andrew gelman stats-2011-03-10-It’s no fun being graded on a curve

20 0.93690944 540 andrew gelman stats-2011-01-26-Teaching evaluations, instructor effectiveness, the Journal of Political Economy, and the Holy Roman Empire