Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Ks test
Replies: 3   Last Post: Nov 16, 2012 9:57 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Zahra

Posts: 2
Registered: 11/15/12
Ks test
Posted: Nov 15, 2012 10:48 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,
I need some help in using Kstest in Matlab. I have a set of data with mean that is different from zero and I'de like to test if the data are gaussien or not . When I plot a histogram i found that it is not gaussien but when i try to run a kstest , i found out that is not gaussien !!


I'm using:
h = kstest(x,[],0.05,0)
F = cdfplot(x);
mu=mean(x);
sigma=std(x);
xx=-15:0.1:15;
gh= normcdf(xx);
G = plot(xx,gh,'r-');

Some help?
Thankssss


Date Subject Author
11/15/12
Read Ks test
Zahra
11/15/12
Read Re: Ks test
dpb
11/16/12
Read Re: Ks test
Tom Lane
11/16/12
Read Re: Ks test
Zahra

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.