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

3 visualizaciones (últimos 30 días)
James
James el 13 de Sept. de 2013
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?

Respuestas (0)

Categorías

Más información sobre Hypothesis Tests en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by