|
Keywords: download, sigma plot, demo, sigma plot, free, download, sigma plot
Simulation
The following transform is used to generate time-activity data to evaluate the shelf life transform.
' Simulation for Shelf Life Analysis
' Input
dt=3 ' time increment (months)
n=25 ' number of data points
b=-.1 ' slope of activity line
std=2 ' std deviation of gaussian noise
res=1 ' first column of output
' Program
x=data(dt,n*dt,dt)
a=100
y=a+b*x
yf=y+gaussian(size(x),0/0,0,std)
' Output
col(res)=x
col(res+1)=round(yf,2)
Back to Sigma Plot Product Uses Page.
|