How do I use swGOFT function? (Shapiro-Wilk Goodness of fit test)

3 ビュー (過去 30 日間)
James
James 2013 年 9 月 13 日
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 件)

カテゴリ

Help Center および File ExchangeHypothesis Tests についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by