Seeing if data is normally distributed in R

前端 未结 8 1578
我寻月下人不归
我寻月下人不归 2020-11-27 08:57

Can someone please help me fill in the following function in R:

#data is a single vector of decimal values
normally.distributed <- function(data) {
if(dat         


        
8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-27 09:28

    I would also highly recommend the SnowsPenultimateNormalityTest in the TeachingDemos package. The documentation of the function is far more useful to you than the test itself, though. Read it thoroughly before using the test.

提交回复
热议问题