Linear calibra and conditional inference