load('/home/ingelins/Documents/Fag/Statistikk/TMA4245V11/Data/StudDataV2011.txt')

indexMann=find(StudDataV2011(:,1)==1)
indexKvinne=find(StudDataV2011(:,1)==2)
hogdeMann=StudDataV2011(indexMann,2)
hogdeKvinne=StudDataV2011(indexKvinne,2)

%Hypotesetest var(hogdeMann) = 6.5^2 vs var(hogdeMann) != 6.5^2
[h,p,ci,stat]=vartest(hogdeMann,6.5^2,0.05,'both')

