Diagrams Plot (X) Bar (X) Stem (X) : Xlabel Ylabel Title (

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 24

Diagrams

>>plot(x)

>> bar(x)

>> stem(x)
xlabel('…')
ylabel('…')
title('…')

boxplot(x)

https://www.mathworks.com/help/stats/normplot.html

Media

xb=mean(x)

Dispersia

s=std(x)
quartile

q1=quartile(x,0.25)

q2=quartile(x,0.75)

outliers

TF = isoutlier(x,'mean')
TF = isoutlier(A)
boxplot(x)

Valori aberante

[q1−1.5*(q3−q1), q3+1.5*(q3−q1)]

CI

https://www.mathworks.com/help/stats/students-t-distribution.html

xb=mean(x)

n=

s=std(x)

t=tinv(1-alpha/2, n-1) - t student

cin=[xb-t*s/sqrt(n), xb+t*s/sqrt(n)]

testare

[h1,p1,ci1]=ttest(x,7.2,alpha,’both’)

CI=[xb

f=tinv(alpha,n) - fisher

z=norminv(alpha) - z test

CI
c) ipoteza ca rezultatele s-au imbunatatit in sem II (s9)

[p,h,stats]=signtest(S1,S2,'alpha',0.04,'method','exact','tail','left')

b) Spearman coefficient of corelation


[RHO,PVAL]=corr(s1',s2','type','Spearman')

a) Pearson corelation coeficiet, p-valu, lowerbound, upperbound


[R,P,RL,RU]=corrcoef(s1,s2)
https://www.mathworks.com/help/matlab/ref/corrcoef.html

b=polyfit(E,H,1)

LM=fitlm(E,H)--- complete data about b1, b0

You might also like