Posts Tagged ‘ R ’

Large matrices in SAS/IML 14.1

July 31, 2015
By
Large matrices in SAS/IML 14.1

Last week, SAS released the 14.1 version of its analytics products, which are shipped as part of the third maintenance release of 9.4. If you run SAS/IML programs from a 64-bit Windows PC, you might be interested to know that you can now create matrices with about 231 ≈ 2 […] The post Large matrices in SAS/IML 14.1 appeared first on The DO Loop.

Read more »

I loved this %>% crosstable

July 28, 2015
By
I loved this %>% crosstable

This is a public tank you for @heatherturner's contribution. Now the SciencesPo's crosstable can work in a chain (%>%) fashion; useful for using along with other packages that have integrated the magrittr operator. > candidatos %>% + filter(desc_cargo == 'DEPUTADO ESTADUAL'| desc_cargo =='DEPUTADO DISTRITAL' | desc_cargo =='DEPUTADO FEDERAL' | desc_cargo =='VEREADOR' | desc_cargo =='SENADOR') %>% […]

Read more »

Notes from the 3rd R in Insurance Conference

July 28, 2015
By
Notes from the 3rd R in Insurance Conference

Photo: Arthur CharpentierThe R in Insurance conference in Amsterdam was a sold out success! Congratulations to the organising committee at the University of Amsterdam, and many thanks to our sponsors:Milliman, RStudio, CYBAEA, Deloitte, a.s.r., Triple ...

Read more »

Egyptian fractions [Le Monde puzzle #922]

July 27, 2015
By
Egyptian fractions [Le Monde puzzle #922]

For its summer edition, Le Monde mathematical puzzle switched to a lighter version with immediate solution. This #922 considers Egyptian fractions which only have distinct denominators (meaning the numerator is always 1) and can be summed. This means 3/4 is represented as ½+¼. Each denominator only appears once. As I discovered when looking on line, […]

Read more »

Efficient accumulation in R

July 27, 2015
By
Efficient accumulation in R

R has a number of very good packages for manipulating and aggregating data (plyr, sqldf, ScaleR, data.table, and more), but when it comes to accumulating results the beginning R user is often at sea. The R execution model is a bit exotic so many R users are very uncertain which methods of accumulating results are … Continue reading Efficient accumulation in R →

Read more »

Tiny Data, Approximate Bayesian Computation and the Socks of Karl Broman: The Movie

July 26, 2015
By

This is a screencast of my UseR! 2015 presentation: Tiny Data, Approximate Bayesian Computation and the Socks of Karl Broman. Based on the original blog post it is a quick’n’dirty introduction to approximate Bayesian computation (and is also, in ...

Read more »

Why I use Panel/Multilevel Methods

July 24, 2015
By
Why I use Panel/Multilevel Methods

I don’t understand why any researcher would choose not to use panel/multilevel methods on panel/hierarchical data. Let’s take the following linear regression as an example: , where is a random effect for the i-th group. A pooled OLS regression model for the above is unbiased and consistent. However, it will be inefficient, unless for all […]

Read more »

Stan 2.7 (CRAN, variational inference, and much much more)

July 22, 2015
By
Stan 2.7 (CRAN, variational inference, and much much more)

Stan 2.7 is now available for all interfaces. As usual, everything you need can be found starting from the Stan home page: http://mc-stan.org/ Highlights RStan is on CRAN!(1) Variational Inference in CmdStan!!(2) Two new Stan developers!!!  A whole new logo!!!!  Math library with autodiff now available in its own repo!!!!!  (1) Just doing install.packages(“rstan”) isn’t […] The post Stan 2.7 (CRAN, variational inference, and much much more) appeared first on…

Read more »

Le Monde puzzle [#920]

July 22, 2015
By
Le Monde puzzle [#920]

A puzzling Le Monde mathematical puzzle (or blame the heat wave): A pocket calculator with ten keys (0,1,…,9) starts with a random digit n between 0 and 9. A number on the screen can then be modified into another number by two rules: 1. pressing k changes the k-th digit v whenever it exists into […]

Read more »

Parametric Inference: Karlin-Rubin Theorem

July 20, 2015
By
Parametric Inference: Karlin-Rubin Theorem

A family of pdfs or pmfs $\{g(t|\theta):\theta\in\Theta\}$ for a univariate random variable $T$ with real-valued parameter $\theta$ has a monotone likelihood ratio (MLR) if, for every $\theta_2>\theta_1$, $g(t|\theta_2)/g(t|\theta_1)$ is a monotone ...

Read more »


Subscribe

Email:

  Subscribe