Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Design of experiments

Lecture 7: Data visuals (demo), mean, var,


population, sample (2.1 of DAE)
Nitin Padhiyar
IIT Gandhinagar
MATLAB Code for Data Visuals

clc;clear;close all
% BOX PLOTS
r=rand(10,2);
boxplot(r,'whisker',1)2
r1=[0.1 0.3 0.2 0.7 0.9];
r2=[0.24 0.13 0.42 0.57 0.89];
r=[r1' r2'];
boxplot(r)

% HISTOGRAMS

r=randn(1000,1);
figure,
histogram(r,10)
Probability Distribution (2.1 of
DAE)

Std probability density function


of y
Mean, Variance, and Expected Values
Mean or Expected mean - Central
tendency

Variance = variability or dispersion of a probability


distribution

You might also like