Useful tips for everyday
What is a pre-specified analysis? Pre-specified analysis is subgroup analysis that was planned during the initial experiment design stage, before looking at any data. What…
How can we estimate probability distributions from samples? When we estimate P ( X, Y) = P ( X | Y) P ( Y), then…
How to check the assumption of linear regression? 1. Check the assumption visually using Q-Q plots. A Q-Q plot, short for quantile-quantile plot, is a…
How are autoregressive models applied to stationary time series? Usually, autoregressive models are applied to stationary time series only. This constrains the range of the…
How do you assign a probability value? For two disjoint events A and B, the probability of the union of A and B is equal…
Which is better, an unbiased or biased estimator? Bias is a distinct concept from consistency. Consistent estimators converge in probability to the true value of…
What is a random walk in R? A random walk simply tracks the cumulative sum of these random variables, i.e. In my image, I let…
What is SSR SST and SSE? SSR is the additional amount of explained variability in Y due to the regression model compared to the baseline…
How does the Viterbi algorithm work? The Viterbi algorithm is a dynamic programming algorithm for obtaining the maximum a posteriori probability estimate of the most…
What is the best measure for outliers? mean The mean and the median can be calculated to help you find the “center” of a data…