Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 200
  1. Data leakage and independence

    Derek Lowe, writing on models for protein-ligand interaction Ideally, you train your model on a big pile o’ protein data, while holding out a good piece of it to keep it out of the training set.

  2. The almost-sure representation theorem in probability says that if \(X_n\stackrel{d}{\to}X\) we can find a sequence \(\tilde X_n, \tilde X\) with the same distributions as \(X_n,X\), possibly on a different probability space, so that \(\tilde X_n\stackrel…

  3. Stage vs phase, again

    As I have said before, the distinction between multistage and multiphase surveys is mostly important as a shibboleth for survey statisticians.

  4. Are predictive models enough?

    In one of the social media discussions about causal inference the suggestion was made that predictive models are all you need: a good predictive model gives you all the conditional distributions you could want, and you don’t need any special causal infere…

  5. New in the survey package

    Version 4.5 of survey is on CRAN now.

  6. Do predictive models need to be causal?

    This post is partly because I’m about to start teaching generalised linear models and partly to avoid doomscrolling Do predictive models need to be causal?

  7. Gauss is Not Mocked

    Attention Conservation Notice: I stole the title from Cosma Shalizi, who is a better writer than me.

  8. Simulation and CLT

    Riffing off Andrew Gelman’s (correct) advice to just simulate, in both teaching and research, suppose I have a new robust location estimator.

  9. Horses or Zebras?

    Suppose we have a prediction problem.

  10. Does svyglm use robust standard errors?

    Yes This question comes up from time to time on social media or StackExchange or email, often from reasonable people, so extra emphasis might be useful.

  11. Laws and Orders

    This is approximately my Belz Lecture for the Statistical Society of Australia (Vic/Tas), from a couple of weeks ago.

  12. Interviewing your laptop

    There’s increasing interest in (or, at least, coverage of) the idea that surveying large language models could substitute for surveying people.

  13. There was a question on StackOverflow1 about continuous data with extra zeroes and comparing a two-part model to a continuous-only model using AIC.

  14. Single Transferable Vote and blocs

    Suppose you have a single transferable vote election to pick some number \(d\) of people, and that you belong to a large voting bloc of sheeplike followers or of cooperative forward-thinkers (delete as necessary).

  15. Terminology: asymptotically unbiased

    The phrase asymptotically unbiased has at least two uses in statistics.

  16. Included-variable bias

    If you have two regression models \[E[Y|X]=\beta_0+\beta_1X\] and \[E[Y|X,Z]=\gamma_0+\gamma_1X+\gamma_2Z\] then typically \(\gamma_1\neq\beta_1\), because they are different things1 A common name for this phenomenon is omitted-variable bias.

  17. Ihaka lectures 2025

    The 2025 Ihaka Lectures are coming, in September this year.

  18. Two-stage least squares

    Attention Conservation Notice: someone asked about this on social media, and I probably should have it written down for the advanced regression course, but you probably don’t need to know it.

  19. Strata and clusters

    People often ask what the difference is between strata and clusters in sampling.

  20. Iris classification: the next generation

    The file iris_data.csv contains some data on iris photographs from unsplash.org.

  21. As everyone knows, if you want to repeat a sequence of random numbers in statistical software1 you can reset your software’s random number stream to the same position and everything will deterministically repeat2.

  22. Again with the ordinal comparisons, yes.

  23. The piranha and the polypill

    The piranha problem is both a metaphor and a set of theorems coming out of Andrew Gelman’s research group.

  24. Collinearity four more times

    Quartets of datasets are trendy now, so here’s one for collinearity diagnostics.

  25. Brute force and ignorance

    The 1986 Joint Statistical Meetings had a Data Expo where participants were given a dataset to show off visualisation approaches.

  26. The distribution of a \(n\times n\) quadratic form in Gaussian variables, \(X^TAX\) is a linear combination of \(\chi_1^2\) variables: \[Q\sim\sum_{i=1}^n\lambda_iZ^2_i\] where \(\lambda_i\) are the eigenvalues of \(A\Xi\) and \(\Xi\) is the covariance ma…

  27. National Land Transport Plan graphs

    The National Land Transport Plan has just been released.

  28. Ihaka Lectures

    They’re back, again.

  29. Attention Conservation Notice: Do you really care about multiparameter tests?

  30. One of the projects from the R Spring and R Dev Day has been to add unequal sampling without replacement with specified marginal sampling probabilities to R’s sample().

  31. A Bayesian t-test, again

    The term “t-test” is a bit of a troll here, since I don’t mean either a test or the Normal-based inference developed by Gossett.

  32. Stage vs phase

    When two-phase study designs started being used in epidemiology and biostatistics there was a period of conflict.

  33. Estimator vs estimate

    In sandwich variance estimators, the middle of the sandwich1 is the variance of the estimating function.

  34. The survey package returns many results as svystat objects, which are numeric vectors with variance matrix as an attribute (and other optional attributes).

  35. S3 method dispatch on other arguments

    The S3 method system only lets you dispatch methods on one argument of the generic.

  36. Crossvalidation in complex survey data

    Background The current development of the survey package now has an experimental implementation of cross-validation using replicate-weight decompositions of the data.

  37. In dual-frame sampling you take two samples from overlapping sampling frames and you need to downweight people who could have been chosen in either frame so the overlap of the two frames isn’t counted twice.

  38. Another update on non-transitive dice

    I’ve mentioned before that mathematician Tim Gowers had run a ‘polymath’ (massively collaborative maths research) project on non-transitive dice.

  39. Multiple frame sampling

    [Updated: ran it with the right version of the code] I’m writing code for multiple-frame surveys in the survey package now, and it’s at the stage where the basic stuff works (Revision 337 from r-forge) though there’s quite a bit more to implement.

  40. Importance weights

    When I wrote about weights I mentioned that there was in some senses a fourth type of weights after sampling weights, precision weights, and frequency weights.

  41. Assumptions

    One problem in teaching statistics and communicating statistics and so on is “assumptions”.

  42. Quantitative graphics?

    Two interesting examples from my e-bike: The first is common in e-bikes.

  43. Symbolically nested

    ‘Symbolically nested’ is a phrase I invented to distinguish two different types of nested model when writing my book about survey analysis.

  44. Factors as factors

    With the long-awaited demise of stringsAsFactors=TRUE it’s now easier to use text strings in R.

  45. If we have a domain or subpopulation \({\cal D}\) and want to estimate the mean of a variable \(Y\) in that domain, the usual survey estimator is \[\hat \mu_{\cal D}=\frac{\sum_{R_i=1} w_i Y_i I(i\in {\cal D})}{\sum_{R_i=1} w_i I(i\in {\cal D})}.\] That i…

  46. New in the survey package

    Version 4.4-1 of the survey package for R is percolating through CRAN.

  47. Ordinal outcomes: the LOCT DOOR

    The DOOR outcome strategy – “Desirability Of Outcome Ranking” – is a relatively new approach to composite outcomes in clinical trials.

  48. Suppose you find, by analysis of crime data, that a house which has been burgled once is more likely to be burgled again in the following few months.

  49. Asymptotics for linear mixed models

    Attention Conservation Notice: This is probably well known in some circles Suppose you have a (parametric, Normal) linear mixed model \[Y=X\beta+Zb+\epsilon\] where \(\epsilon\) are iid \(N(0,\sigma^2)\) and \(b\) are \(N(0, \sigma^2V(\theta))\).

  50. Attention Conservation Notice: this is about multiparameter hypothesis tests, which are intrinsically not very interesting In regression models (and contingency tables) for survey data, there are two classes of tests based on a division that’s more or less