Useful tips for everyday
Can mean be used for categorical variables? As a result, the central tendency of a set of categorical variables is given by its mode; neither…
How does LASSO shrink coefficients? The lasso performs shrinkage so that there are “corners” in the constraint, which in two dimensions corresponds to a diamond.…
How do you find the Alpha in a confidence interval? Alpha levels are related to confidence levels: to find alpha, just subtract the confidence interval…
Why naive bayes works well with many number of features? Because of the class independence assumption, naive Bayes classifiers can quickly learn to use high…
How does the variance of the sample compare to the variance of the population? Summary: Population variance refers to the value of variance that is…
What are the parameters of a linear regression? A linear regression line has an equation of the form Y = a + bX, where X…
How many datasets a report can have? Within one report, you can have multiple data sources (i.e. Excel sheet + SQL + web crawl data).…
Why is a randomized block design good? With a randomized block design, the experimenter divides subjects into subgroups called blocks, such that the variability within…
How to define a model in MATLAB fitglm? To define a model specification, set the modelspec argument using a formula or terms matrix. The formula…
Why is normality important in residual analysis? Normality is the assumption that the underlying residuals are normally distributed, or approximately so. While a residual plot,…