Useful tips for everyday
When to use linear or logistic regression? Logistic regression is used when the response variable is categorical, such as yes/no, true/false and pass/fail. Linear regression…
How do you calculate percentage of rain? Here is how the National Weather Service breakdowns the math: “PoP = C x A where “C” =…
How do you use the residual plot to check if it is a linear model? The residual plot shows a fairly random pattern – the…
Does PCA require continuous data? PCA is designed for continuous variables. It tries to minimize variance (=squared deviations). The concept of squared deviations breaks down…
What does a positive likelihood ratio of 1 mean? On the other hand, a +LR of 1.0 means the test is useless because the odds…
What is Accumulated Local effects? Accumulated Local Effects (ALE) is a method for computing feature effects based on the paper Visualizing the Effects of Predictor…
How do you plot a distribution curve in Python? Approach Import module. Create data. Calculate mean and deviation. Calculate normal probability density. Plot using above…
When should you use stepwise regression? Stepwise regression is an appropriate analysis when you have many variables and you’re interested in identifying a useful subset…
How do you find the median of a continuous distribution? To find the median for a continuous distribution, we need to find the total frequency…
Is MLE of binomial distribution unbiased? You can recognize a UMVUE sometimes. information is n and Var(X)=1/n so that X is the UMVUE of µ.…