Useful tips for everyday
When to use p-values to drop variables? I want to perform a stepwise linear Regression using p-values as a selection criterion, e.g.: at each step…
What is the maximum likelihood estimation for binomial distribution? ML for Bernoulli trials If our experiment is a single Bernoulli trial and we observe X…
How are eigenvectors and loadings defined in PCA? In principal component analysis (PCA), we get eigenvectors (unit vectors) and eigenvalues. Now, let us define loadings…
How do you check linearity assumption in multiple regression SPSS? To test the next assumptions of multiple regression, we need to re-run our regression in…
How to run a multilevel model in R? This is a random intercepts model, with fixed slopes. To run a multilevel linear model, we use…
What is X and X in probability? X represents the random variable X. P(X) represents the probability of X. P(X = x) refers to the…
How is a confidence interval similar to a hypothesis test? Confidence intervals and hypothesis tests are similar in that they are both inferential methods that…
What I remember about continuous and categorical variables? There are three main types of variables: continuous variables can take any numerical value and are measured;…
What does it mean when something has a normal distribution? A normal distribution is the proper term for a probability bell curve. In a normal…
What happens if there are too many independent variables in logistic regression? If the number of independent variables is not very large, you can just…