fbpx

NaN versus NA in R

R has two different ways of representing missing data and understanding each is important for the user. NaN means “not a number” and it means there is a result, but it cannot be represented in the computer. The second, NA, explains that the data is just missing for unknown reasons.

Continue reading

Thoughts on Monty Hall

Perhaps the less said about the Monty Hall Problem, the better, as many barrels of ink have been spilt in debate over the correct solution. The Monty Hall Problem is a standard problem from statistics to show the different results between statistical reasoning and intuitive responses. Due to the different

Continue reading