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 CenterFile Exchange에서 Hypothesis Tests에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by