01.03.2013 Views

Applied Statistics Using SPSS, STATISTICA, MATLAB and R

Applied Statistics Using SPSS, STATISTICA, MATLAB and R

Applied Statistics Using SPSS, STATISTICA, MATLAB and R

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix F - Tools<br />

F.1 <strong>MATLAB</strong> Functions<br />

The functions below, implemented in <strong>MATLAB</strong>, are available in files with the<br />

same function name <strong>and</strong> suffix “.m”. Usually these files should be copied to the<br />

<strong>MATLAB</strong> work directory. All function codes have an explanatory header.<br />

Function (used as) Described In<br />

k = ainv(rbar,p) Comm<strong>and</strong>s 10.4<br />

[c,df,sig]=chi2test(x) Comm<strong>and</strong>s 5.4<br />

[p,l,u]=ciprop(n0,n1,alpha) Comm<strong>and</strong>s 3.4<br />

[l,u]=civar(v,n,alpha) Comm<strong>and</strong>s 3.5<br />

[r,l,u]=civar2(v1,n1,v2,n2,alpha) Comm<strong>and</strong>s 3.6<br />

c=classmatrix(x,y) Comm<strong>and</strong>s 6.1<br />

h=colatplot(a,kl) Comm<strong>and</strong>s 10.2<br />

as=convazi(a) Comm<strong>and</strong>s 10.3<br />

as=convlat(a) Comm<strong>and</strong>s 10.3<br />

[r,t,tcrit]=corrtest(x,y,alpha) Comm<strong>and</strong>s 4.2<br />

d=dirdif(a,b) Comm<strong>and</strong>s 10.3<br />

g=gammacoef(t) Comm<strong>and</strong>s 2.10<br />

[ko,z,zc]=kappa(x,alpha) Comm<strong>and</strong>s 2.11<br />

h=longplot(a) Comm<strong>and</strong>s 10.2<br />

m = me<strong>and</strong>ir(a,alphal) Comm<strong>and</strong>s 10.3<br />

c=pccorr(x) Comm<strong>and</strong>s 8.1<br />

polar2d(a,mark) Comm<strong>and</strong>s 10.2<br />

polar3d(a) Comm<strong>and</strong>s 10.2<br />

[m,rw,rhow]=pooledmean(a) Comm<strong>and</strong>s 10.2<br />

p=rayleigh(a) Comm<strong>and</strong>s 10.5<br />

[x,y,z,f,t,r] = resultant(a) Comm<strong>and</strong>s 10.3<br />

v=rotate(a) Comm<strong>and</strong>s 10.3<br />

[n1,n2,r,x1,x2]=runs(x,alpha) Comm<strong>and</strong>s 5.1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!