Useful tips for everyday
How do you find extreme outliers in R? One of the easiest ways to identify outliers in R is by visualizing them in boxplots. Boxplots…
How to know if a binary classifier is accurate? There are many metrics for evaluating how good a binary classifier is doing in predicting the…
How to calculate the sample size of a logistic regression? These correspond to the probability that y = 1 based on the null and alternative…
Is lasso sensitive to outliers? Despite difficulties, it is also necessary to modify the LASSO model to a robust LASSO that is not sensitive to…
What characterizes a rare disease? In the United States, a rare disease is defined as a condition that affects fewer than 200,000 people in the…
How do you find the MGF of a joint PDF? Definition: MGF of (X,Y) Let X and Y be two RVs with joint pdf f(x,y)…
How to calculate the expected value of a variable? To do the problem, first let the random variable X = the number of days the…
Can a linear mixed model be used as a random effect? The answer is NO because we have not taken the non-independence between data points…
What is 95% confidence interval for the variance? (a) The 95% confidence interval for the variance is 0.0007 ≤ σ2 ≤ 0.0037 mm2. (b) The…
Does correlation use dependent variables? Correlation can be used to quantify the linear dependency of two variables. It cannot capture non-linear relationship between variables. Independent…