Popisna statistika

K popisnej statistike nadcitame tieto baliky programov

<<  Statistics`DescriptiveStatistics`

<<  Statistics`StatisticsPlots`

\(\(<< \ Statistics`DataManipulation`\)\(
\)
      \)

Pocas 50 tyzdnov sa merali pocty chybne vyrobenych panelov, vysledky boli nasledovne, urobte prvotnu statisticku analyz

panely={14,  13,  15,  12,  14,  9,  15,  
          8,  14,  10,  16,  12,  13,  17,  18,  13,  13,  10,  
          14,  16,  11,  14,  12,  9,  15,  11,  14,  15,  11,  
          15,  10,  16,  10,  12,  13,  11,  13,  11,  9,  13,  
          8,  12,  16,  12,  17,  12,  13,  11,  13,  
          12}

Najprv urobime tabulku pocetnosti merani a grafy pocetnosti-

Min[panely]

Max[panely]

\(\(freq\  = \ BinCounts[panely, \ {7, \ 18}]\)\(
\)
      \)

Prikaz  je vo forme (zlava otvoreny, sprava uzavrety inerval
BinCounts[{(Subscript[x, 1]), (Subscript[x, 2]), … }, {xmin, xmax, dx}]

({{hodnoty, pocetnost}, {8, 2}, {9, 3}, {10, 4}, {11, 6}, {12, 8}, {13, 9}, {14, 6}, {15, 5}, {16, 4}, {17, 2}, {18, 1}})

pocetnost = Table[i, {i, 8, 18}]

BarChart[freq, BarLabels -> pocetnost]

Histogram[panely, HistogramScale -> 1]

urobme teraz tabulku a grafy triednych pocetnosti, rpvky stotoznime so stredom intervalu

triedy =  BinCounts[panely,  {7.5, 19.5, 3}]

p = Table[i, {i, 7.5, 19.5, 3}]

Histogram[triedy, FrequencyData -> True, 
      HistogramCategories -> p, 
      Ticks -> IntervalCenters]

vybocujuce = Flatten[{panely, 25}]

BoxWhiskerPlot[panely, BoxOutliers -> All, 
      BoxOrientation -> Horizontal]

BoxWhiskerPlot[vybocujuce, BoxOutliers -> All, 
      BoxOutlierShapes -> {PlotSymbol[Star]}]

ParetoPlot[panely]

StemLeafPlot[panely]

Charakteristiky polohy

Mean[panely] // N

Median[panely]

Mode[panely]

HarmonicMean[panely] // N

Quartiles[panely] // N

Quantile[panely, 0.1]

LocationReport[panely] // N

Charakteristiky rozptylu

Variance[panely] // N

VarianceMLE[panely] // N

StandardDeviation[panely] // N

StandardDeviationMLE[panely] // N

InterquartileRange[panely]

Skewness[panely] // N

Kurtosis[panely] // N

% - 3