1 / 12

Annova Matlab

Annova Matlab. Soal hal 395 no2 faktor : Jenis rokok taraf : A B C D E (5 taraf ) perlakuan : taraf ( karena faktor tunggal ) respon : jumlah penjualan. Fungsi Annova1. Jika jumlah ulangan sama : p=anova1(x) x= matrik row x col -> row taraf , col ulangan

gail-wiley
Download Presentation

Annova Matlab

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. AnnovaMatlab

  2. Soalhal 395 no2 • faktor : Jenisrokok • taraf : A B C D E (5 taraf) • perlakuan : taraf (karenafaktortunggal) • respon : jumlahpenjualan

  3. Fungsi Annova1 • Jikajumlahulangansama : p=anova1(x) x= matrikrow x col -> row taraf, colulangan jumlahtaraf= jumlahbaris jumlahulangan=jumlahkolom • Jikajumlahulangantidaksama p=anova1(data, perlakuan);

  4. Anova1 Jumlahulangansama >>b b = 5 9 3 2 7 4 7 5 3 6 8 8 2 4 9 6 6 3 1 4 3 9 7 4 7 >> p=anova1(b) p = 0.0012

  5. Anova dari matlab 6.5 • Prob>F sebesar0,0012 -> p-value • Kalautarafnyata > p-value makatolak H0 • Kalautarafnyata < p-value makaterima H0

  6. Contohlagi • Taraf ABCD • 5 ulangan

  7. Annova1 • Jumlahulangantidaksama • Contoh : • taraf A, B, C • A B C • 10 12 14 • 9 13 17 • 8 15 18 • 14 16 • 18 • >> data =[ 10 9 8 12 13 15 14 14 17 18 16 18 ]; • >> perlakuan = { 'A', 'A', 'A', 'B', 'B', 'B', 'B', 'C', 'C', 'C', 'C', 'C'}; • >> anova1(data, perlakuan);

  8. Fungsi Annova2 • UntukAnnovadengan 2 faktor • p=anova2(x, rep) x= matrikixj -> kombinasifaktoridan j rep= ulangan

More Related