← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 200
  1. A quadratic form in \(n\) Gaussian variables is \(Z^TAZ\) where \(Z\sim N(0,B)\) is a Normal \(n\)-vector and \(A\) is an \(n\times n\) matrix.

  2. Why not REML?

    The svylme package does maximum (weighted pairwise) likelihood.

  3. Back when I was a PhD student working on generalisations of GEE, I was interested in ‘sparse’ correlations, defined by ‘most’ small sets of observations being independent.

  4. svy2lme: the preprint

    The announcement There’s now a preprint describing the svylme package and svylme::svy2lme function for fitting linear mixed models to complex samples.

  5. The most important part of this post library(svylme) It exists!

  6. Benchmark Archaeology

    Thanks to Luis Apiolaza on Mastodon, I was looking at some old R mailing list messages.

  7. Quoting and requoting

    Someone asked on StackOverflow how to compute the kurtosis and its standard error using the survey package.

  8. One of the problems with object-oriented programming for statistical methods is that inheritance is backwards.

  9. Pairwise likelihood and cluster sizes

    So, I’m working on svylme again, for linear mixed models under complex sampling.

  10. New in the survey package

    Version 4.2-1 of the survey package has hit CRAN!

  11. Ranks in survey data

    Someone asked on CrossValidated about signed rank tests for complex sample data.

  12. Class imbalance: bug or feature?

    Medical training, of necessity, over-represents unusual medical conditions.

  13. Which infinite sequence?

    I’m at ENAR, and there are talks with asymptotic theory1.

  14. The fourth-root thing

    This post is partly because I think the result is interesting and partly to see if anyone will tell me an original reference.

  15. Determinant of correlation matrix

    Last week I needed to know how big determinants of correlation matrices could get1, and I couldn’t immediately find a proof on Google, so I worked one out.

  16. Sandwiches and aggregation

    Demetri Pananos asked a question on Stack Overflow and then on Twitter about the behaviour of the sandwich package for aggregated count data, and Achim Zeileis pinged me1.

  17. When is population mean rank a thing?

    You used to see a lot of the incorrect and misleading description of the Wilcoxon rank-sum and Kruskal-Wallis tests as comparing medians.

  18. Checking proportionality of odds

    The proportional odds model The proportional odds model is a generalisation of the logistic model.

  19. Linkage and multiple imputation

    For a while, I’ve been thinking about multiple imputation and its extension to record linkage.

  20. Pairwise and joint independence

    It’s intuitively plausible that pairwise independence of a set of variables implies joint independence.

  21. A short note on effect sizes

    From time to time, I get asked about estimating effect sizes in the survey package.

  22. The sandwich and the t-test

    As every schoolchild know, you can derive the Student \(t\)-test as a linear regression with a single binary predictor.

  23. Bus pruning

    As I said last time, there have been quite a lot of bus cancellations in Auckland recently.

  24. Improving a graph

    A lot of buses are being cancelled in Auckland at the moment.

  25. Back in the early 2000s, when I was working on air pollution epidemiology, I wrote some code to fit polynomial distributed lag models.

  26. A plug-in uniform law of large numbers

    Attention Conservation Notice: I’m writing this down because I just spent too long trying to find a citation for it to give a student.

  27. Looking back

    Attention Conservation Notice: NZ alternative history.

  28. Tracking down a Real Data Set(tm)

    As you may have noticed, I’ve been writing software for handling multiple-response data: a package for data manipulation and another one for modelling.

  29. One of the checks in R CMD check is for non-ASCII strings in data objects.

  30. Tidying rimu

    I’ve been working on the rimu package recently, which handles multiple-response categorical data.

  31. Combining a survey and other data

    Sometimes you want to do inference that combines a real probability survey sample with some other data.

  32. We have a paper coming out in Biometrics describing a reasonably complicated example of validation sampling from electronic health records.

  33. Getting strings into code in base R

    I’m reasonably often asked how to take the value of a character string variable and use it as a variable name in, eg, the survey package.

  34. Design |> Data: Ihaka Lectures 2022

    They’re back.

  35. Tables with zeroes

    A survey package user asked me (and StackExchange) how to do tests of independence in contingency tables when there’s a zero cell in the table.

  36. stringsAsFactors=do_you_feel_lucky

    Character string variables have suddenly become much more common in R, with the default stringsAsFactors=FALSE.

  37. Nine and sixty ways

    Attention Conservation Notice: there’s not actually anything new here A few years ago, in a (mostly positive) review of Proschan & Shaw’s Essentials of Probability Theory for Statisticians, I wrote As some statistics students notice, there’s a bit of a ba…

  38. In ordinary statistics, there are three popular types of model-based tests: score tests, Wald tests, and likelihood ratio tests.

  39. The second paper from Tong Chen’s PhD thesis with me has just been published at Statistics in Medicine.

  40. Per capita, in mice

    This was roughly my plenary talk at Herenga Delta, the 13th Southern Hemisphere Conference on the Teaching and Learning of Undergraduate Mathematics and Statistics.

  41. Top posts from 2021

    From 2020:, the different ways the term “weights” is used in statistics and when it matters.

  42. Is it binary?

    As part of adding crossed correlations (and other sparse correlation) to the survey package, I was writing code to test whether a user-supplied adjacency matrix had only 0 and 1 values.

  43. This week, I was prompted to find some old R code xeffect.glm<-function(glm.obj,g1,g2){ if (!

  44. Score tests: surprisingly annoying

    I’ve just been adding score tests for generalised linear models to the survey package.

  45. Ordinal data, metadata, and models

    Ok, this is another attempt at clarifying my thinking about what is and isn’t problematic with ordinal data.

  46. Pictures of code are not code

    We’re in Covid lockdown again in Auckland, and it’s a weekend, so I happened to be on the Stats stackoverflow site.1 Someone was trying to use R to check MLE calculations for a few papers that propose new parametric models – the “overgeneralised Gamma dis…

  47. Wellington buses

    When there are problems with public transport it’s much more salient than when things are going well, so I think it’s helpful to have consistent data available on what the problems actually are.

  48. The New Oil

    Data is the New Oil is a seriously underrated metaphor: started off as just a curiosity for nerds creates new companies and industries and vastly improves the productivity of some existing ones control over sources or extraction/transport infrastructure m…

  49. Maintenance of Headway

    The Twitter bus bot, @tuureiti, which I wrote about before, is back!

  50. A question I’ve now answered enough times that it’s worth turning into a blog post: when it is ok and not ok to take a subset of a probability sample?