Reputation
11,976
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
1 14 37
Newest
 self-study
Impact
~491k people reached

Feb
5
comment Compute accuracy of model evaluation
TP is "True Positive" (predicted positive and actually positive: $0$ here). TN is "True Negative" (predicted negative and actually negative: $9990$ here). FP is "False Positive" (predicted positive and actually negative: $0$ here). FN is "False Negative" (predicted negative and actually positive: $10$ here).
Feb
5
comment Why is the probability of my chi square statistic equal to 0
Apparently not R. For example 1-pchisq(90,8,lower.tail=TRUE) gives 4.440892e-16 though this has started to have precision issues and it would be better to use pchisq(90,8,lower.tail=FALSE) giving 4.650448e-16
Feb
3
comment Compute the % using SD, and Mean
You will probably need a <= or something similar in your calculation
Jan
29
awarded  self-study
Jan
28
comment Why is the logistic distribution called “logistic”?
For me, the association is with the log-odds or logit function $\log\left(\dfrac{p}{1-p}\right)$ which has the inverse $\dfrac{\exp(x)}{1+\exp(x)} = \dfrac{1}{\exp(-x)+1}$ which is the standard logistic function. So is it log- as in "logarithm" and -istic (or -istique in French) as in "related to".
Jan
28
awarded  Yearling
Jan
25
comment Do I need a special kind of linear regression for aggregated data?
Another issue is that some states are bigger than others
Jan
25
comment simulate data for different sample size with same parameter
@NorHishamHaron It is unreasonable to expect a sample to have the same skewness and kurtosis as the population. I have added a graph illustrating this
Jan
25
revised simulate data for different sample size with same parameter
Graph of different samples
Jan
25
answered simulate data for different sample size with same parameter
Jan
25
revised simulate data for different sample size with same parameter
code
Jan
23
comment How to check if a distribution has undefined variance?
Related: stats.stackexchange.com/questions/2504/test-for-finite-variance
Jan
23
comment Rate at which a Gaussian random variable is the maximum in a set of independent Gaussian random variables
If they were identically distributed (Gaussian with same mean and variance), as well as independent, it would be $\frac1n$
Jan
19
revised Comparing classification algorithms using cross validation and caret's train
turn links into links
Jan
19
comment How does boxplot in R calculate quantiles?
You might want to add fivenum(a); abline(v=fivenum(a), col="green") to the end of your code and see the effect
Jan
13
comment Probability theory
You do not need to consider the sigma-algebra explicitly: you can just treat the status of each integer $i$'s membership of $A$ and $B$ to be independent of the other integers' statuses, so take the answers when $n=1$ and raise them to the power of $n$
Jan
13
answered Conditional Expectation of sum of uniform random variables?
Jan
13
awarded  Custodian
Jan
13
reviewed Reopen Why does probabilistic PCA use Gaussian prior over latent variables?
Jan
7
comment Is it a good practice to always scale/normalize data for machine learning?
Related: stats.stackexchange.com/questions/89809/…