How do I use swGOFT function? (Shapiro-Wilk Goodness of fit test)
3 次查看(过去 30 天)
显示 更早的评论
Having looked at the documentation for swGOFT there's a lot of odd syntax that I'm not familiar with and have never seen in Matlab before, specifically the heavy use of colons.
I'm on version 2011a. I've checked that I have the Symbolic Math Toolbox so I believe it should work.I tried the examples but these don't seem to work. For example, I copy and pasted the first example:
f := stats::normalRandom(0, 1, Seed = 123):
data := [f() $ i = 1..400]:
stats::swGOFT(data)
??? Undefined function or method 'f' for input
arguments of type 'char'
Can anyone tell me why this doesn't work? Do I have a version that is too old?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Hypothesis Tests 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!