SlideShare une entreprise Scribd logo
1  sur  34
INPUT MODELING
UNIT 6
CONTENTS
• Data Collection
• Identifying the distribution with data
• Parameter estimation
• Goodness of Fit Tests
• Fitting a non-stationary Poisson process
• Selecting input models without data
• Multivariate and Time-Series input models
• uniformity and independence
• Chi-Square test,
• K-S Test.
• Input models are the distributions of time b/w arrivals and of
service times.
• four steps in the development of a useful model of input data
1. collect the data from the real system of interest
2. identify the probability distribution to represent the input process.
3. choose the parameters that determine a specific instance of the
distribution family
4. evaluate the chosen distribution and associated parameters for
goodness of fit test.
1. DATA COLLECTION
• Collect data from the real system of interest
• Requires substantial amount of time and resource commitment
• When data is not available, expert opinion and knowledge of
the process must be used to make educated guesses
• Even though if the model structure is valid, if the input data is
inaccurately collected, inappropriately analysed then simulation
output will be misleading.
SUGGESTIONS TO ENHANCE DATA
COLLECTION
1. A useful expenditure of time is in planning which could begin by
practice or pre observing session
2. Try to analyse the data as they are being collected
3. Try to combine homogeneous data sets
4. Be aware of the possibility of data censoring
5. Discover the relationship between the two variables by using scatter
diagram
6. Check for autocorrelation of data collected from the customers
7. Difference between input data and output or performance data
must be given importance
2. IDENTIFYING THE DISTRIBUTION WITH
DATA
• Shape of distribution is identified by
•Frequency distribution
•Histograms
STEPS INVOLVED IN CONSTRUCTION OF
HISTOGRAM
1. Divide the range of the data into interval
2. Label the horizontal axis to conform to the intervals selected
3. Find the frequency of occurrences within each interval
4. Label the vertical axis so that the total occurrences can be
plotted for each interval
5. Plot the frequencies on the vertical axis
• The no .of intervals depends on the no. of observations & on
the amount of scatter or dispersion in the data
• Histogram should not be too ragged or to coarse as shown
RAGGED AND
COARSE
HISTOGRAM
EXAMPLE
2.2. SELECTING THE FAMILY OF
DISTRIBUTION
• Purpose of preparing a histogram is to infer a known pmf or
pdf
• Family of distribution is chosen based on what might arise in
the context being investigated along with the shape of the
histogram
• There are many probability distributions created , few are
• Binomial :
• Models the no. of successes in n trails , where the trails are independent
with common success probability p
• Eg: number of defective chips out of n chips
• Poisson:
• Models the number of independent events that occur in a fixed amount
of time or space
• Eg : the number of customer that arrive to a store in one hour
• Normal:
• Models the distribution of a process that can be thought of as the sum
of a number of component process
• Eg: time assemble a product that is the sum of the times required for
each assembly operation
• Exponential:
• Models the time between independent event
• E.g.: time between the arrivals
• Gamma:
• Models non-negative random variables and it is flexible distribution
• Beta
• Extremely flexible distribution used to model bounded random variable
• Weibull
• Models the time to failure for compounds
• Discrete or continuous uniform
• Models complete uncertainty
• Triangular
• Models a process which only min most likely and max values of the
distribution known
2.3. QUANTILE-QUANTILE PLOTS (Q-Q
PLOTS)
• Histogram is not useful for evaluating the fit of the chosen
distribution, where there are small number of data points,
histograms can be ragged, width of histogram interval should be
appropriate
• Q-Q plot is a useful tool for evaluating distribution fit
• Definition:
• If X is a random variable with cdf F, then q-quantile if X is that value ᵞ
such that F(ᵞ)=P(X≤Y)=q for 0<q<1
3 PARAMETER ESTIMATION
• After the selection of family of distributions , the next step is to
estimate the parameters of the distribution.
Preliminary statistics: sample mean and sample variance
• Sample mean and variance will be calculated depending on the
type of data whether discrete or continuous .
SUGGESTED ESTIMATORS:
• Numerical estimates of the distribution parameters are needed
to reduce the family of distributions to a specific distribution
• These estimators are the likelihood estimators based on the
raw data.
• The triangular distribution is usually employed when no data is
available.
4 GOODNESS-OF-FIT TESTS
• Apply the different types of tests for goodness based on the
family of distribution selected.
• Use the corresponding estimators based on the family of
distribution and verify for the goodness of fit.
• General tests can be applied are
1. Chi-square test
2. Kolmogorov-Smirnov test
GOODNESS-OF-FIT TESTS
• Chi-square test: the test procedure starts by
arranging ‘n’ observations into k class intervals or
cells.
• The test statistic is given by X0²= Σ (Oi – Ei)²/ Ei ,
where Oi is the observed frequency at ith interval & Ei is
the expected frequency in that class interval.
• The expected frequency for each class interval can be
computed as Ei = nPi, where, Pi is the theoretical
hypothesized probability associated with the ith class
CHI-SQUARE TEST STEPS
1. Formulate the hypothesis
Ho : Data belongs to a particular candidate distribution
H1: data belongs to a particular candidate distribution
2. Estimate the parameters of these distribution
3. Calculate the value of the pdf i.e. Pi
4. Calculate the estimated frequency Ei=nPi
5. Calculate X0²= ∑(Oi-Ei)2/Ei
6. Find the critical value X0² > X²α, K-S-1
Where k is number of class intervals
S is the number of parameters distributed
α Is level of significance
CHI-SQUARE TEST WITH EQUAL
PROBABILITIES
•Number of intervals is k ≤ n/5
•the probability of class interval is Pi =1/K
•the upper limit of the class interval are computed
as
F(x) = ip
•For the exponential distribution the upper limit of
the class interval is computed as ai=-1/λ ln (1-ip)
KOLMOGOROV - SMIRNOV TEST FOR
GOODNESS-OF-FIT TEST FOR EXPONENTIAL
DISTRIBUTION
• Hypothesis can be given as
H0: IAT are exponentially distributed.
H1: the IAT are not exponentially distributed.
• The data were collected over a period of time from 0 to T.
• If the underlying distributions IAT {T1,T2,…….Tn} is
exponential , then the arrival times are uniformly distributed on
interval (0,T).
• Arrival times can be obtained by adding IA times. i.e, T1, T1+T2,
T1+T2+T3,………T1+……TN.
• Then the arrival times can be normalized to a (1, T) interval. so
that the K-S test can be applied .on (0,T) interval the data
points (Di) will be T1/T, T1+T2/T, T1+T2+T3/T,…….T1+…..TN/T
• Use these data points to apply KS test.
• Finally, calculate Dα = D/ sqrt(N) and compare D value with Dα
, to accept or to reject the null hypothesis.
• If D < Dα, then the no's are uniformly distributed, vice versa.
P-VALUES AND BEST FITS
• P value
• Is the significance level at which one would just reject H0 for the given
values of statistics
• Therefore large p-values indicate a good fit
• Small p-value suggests a poor fit
• Best fit
• Here software recommends are input model to the user after evaluating
all feasible models
FITTING A NON STATIONARY POISON
PROCESS (NSPP)
• Approaches used are
• Choose a very flexible model with lots of
parameters and fit it with a method such as
maximum likelihood
• Approximate the arrival rate as being constant over
some basic interval of time , such as an hour, or a
day or a month best by carrying from time interval
to time interval
SELECTING INPUT MODELS WITHOUT DATA
• Different ways to obtain information about a process even if
data are not available
• Engineering data
• Product or process performance rating satisfied by the manufacturer
• Expert opinion
• Talk to people who are experienced with process or similar process
• Physical or conventional limitations
• Most physical process have physical limits or performance
• The nature of process
• The artificial description of the distribution which is predefined can be
used
MULTIVARIATE AND TIME SERVICE INPUT
MODELS
•If we have finite numbers of random variables
then we have multivariate model
•If we have infinite number of random variable
then we have time series model
COVARIANCE AND CORRELATION
TIME SERIES INPUT MODEL
• If X1,X2,X3, … is a sequence of identically distributed but
dependent and covariance stationary random variables there
are number of time series models that can be used to represent
the process
• Two models that have the characteristics that auto correlation
take the form
• AR(1) model
• EAR (1) model
AR MODEL- AUTOREGRESSIVE ORDER 1
MODEL
EAR MODEL- EXPONENTIAL
AUTOREGRESSIVE ORDER 1 MODEL
END OF UNIT 6
THANK YOU 

Contenu connexe

Tendances

System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]qwerty626
 
Simulation & Modeling - Smilulation Queuing System
Simulation & Modeling - Smilulation Queuing SystemSimulation & Modeling - Smilulation Queuing System
Simulation & Modeling - Smilulation Queuing SystemMaruf Rion
 
System modeling and simulation full notes by sushma shetty (www.vtulife.com)
System modeling and simulation full notes by sushma shetty (www.vtulife.com)System modeling and simulation full notes by sushma shetty (www.vtulife.com)
System modeling and simulation full notes by sushma shetty (www.vtulife.com)Vivek Maurya
 
Output analysis for simulation models / Elimination of initial Bias
Output analysis for simulation models / Elimination of initial BiasOutput analysis for simulation models / Elimination of initial Bias
Output analysis for simulation models / Elimination of initial BiasTilakpoudel2
 
System Modeling & Simulation Introduction
System Modeling & Simulation  IntroductionSystem Modeling & Simulation  Introduction
System Modeling & Simulation IntroductionSharmilaChidaravalli
 
Steps in Simulation Study
Steps in Simulation StudySteps in Simulation Study
Steps in Simulation StudyNalin Adhikari
 
Monte Carlo Simulation
Monte Carlo SimulationMonte Carlo Simulation
Monte Carlo SimulationDeepti Singh
 
Unit 3 random number generation, random-variate generation
Unit 3 random number generation, random-variate generationUnit 3 random number generation, random-variate generation
Unit 3 random number generation, random-variate generationraksharao
 
Chapter 02 simulation examples
Chapter 02   simulation examplesChapter 02   simulation examples
Chapter 02 simulation examplesImran Ali Chaudhry
 
Introduction to Simulation
Introduction to SimulationIntroduction to Simulation
Introduction to Simulationchimco.net
 
Simulation and Modeling
Simulation and ModelingSimulation and Modeling
Simulation and Modelinganhdbh
 
Test suite minimization
Test suite minimizationTest suite minimization
Test suite minimizationGaurav Saxena
 
Chp. 2 simulation examples
Chp. 2 simulation examplesChp. 2 simulation examples
Chp. 2 simulation examplesPravesh Negi
 
Time advance mehcanism
Time advance mehcanismTime advance mehcanism
Time advance mehcanismNikhil Sharma
 
Modeling & Simulation Lecture Notes
Modeling & Simulation Lecture NotesModeling & Simulation Lecture Notes
Modeling & Simulation Lecture NotesFellowBuddy.com
 

Tendances (20)

System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]
 
Simulation & Modeling - Smilulation Queuing System
Simulation & Modeling - Smilulation Queuing SystemSimulation & Modeling - Smilulation Queuing System
Simulation & Modeling - Smilulation Queuing System
 
System modeling and simulation full notes by sushma shetty (www.vtulife.com)
System modeling and simulation full notes by sushma shetty (www.vtulife.com)System modeling and simulation full notes by sushma shetty (www.vtulife.com)
System modeling and simulation full notes by sushma shetty (www.vtulife.com)
 
Output analysis for simulation models / Elimination of initial Bias
Output analysis for simulation models / Elimination of initial BiasOutput analysis for simulation models / Elimination of initial Bias
Output analysis for simulation models / Elimination of initial Bias
 
System Modeling & Simulation Introduction
System Modeling & Simulation  IntroductionSystem Modeling & Simulation  Introduction
System Modeling & Simulation Introduction
 
Steps in Simulation Study
Steps in Simulation StudySteps in Simulation Study
Steps in Simulation Study
 
Input modeling
Input modelingInput modeling
Input modeling
 
Monte Carlo Simulation
Monte Carlo SimulationMonte Carlo Simulation
Monte Carlo Simulation
 
Unit 3 random number generation, random-variate generation
Unit 3 random number generation, random-variate generationUnit 3 random number generation, random-variate generation
Unit 3 random number generation, random-variate generation
 
Chapter 02 simulation examples
Chapter 02   simulation examplesChapter 02   simulation examples
Chapter 02 simulation examples
 
Introduction to Simulation
Introduction to SimulationIntroduction to Simulation
Introduction to Simulation
 
Simulation and Modeling
Simulation and ModelingSimulation and Modeling
Simulation and Modeling
 
Test suite minimization
Test suite minimizationTest suite minimization
Test suite minimization
 
Confusion Matrix Explained
Confusion Matrix ExplainedConfusion Matrix Explained
Confusion Matrix Explained
 
Chp. 2 simulation examples
Chp. 2 simulation examplesChp. 2 simulation examples
Chp. 2 simulation examples
 
Modelling and simulation
Modelling and simulationModelling and simulation
Modelling and simulation
 
Discrete event-simulation
Discrete event-simulationDiscrete event-simulation
Discrete event-simulation
 
Time advance mehcanism
Time advance mehcanismTime advance mehcanism
Time advance mehcanism
 
Validation and verification
Validation and verificationValidation and verification
Validation and verification
 
Modeling & Simulation Lecture Notes
Modeling & Simulation Lecture NotesModeling & Simulation Lecture Notes
Modeling & Simulation Lecture Notes
 

Similaire à Unit 6 input modeling

Introduction to sampling
Introduction to samplingIntroduction to sampling
Introduction to samplingSituo Liu
 
Data Collection Preparation
Data Collection PreparationData Collection Preparation
Data Collection PreparationBusiness Student
 
1. Intro DS.pptx
1. Intro DS.pptx1. Intro DS.pptx
1. Intro DS.pptxAnusuya123
 
Sampling for Business Research
Sampling for Business Research Sampling for Business Research
Sampling for Business Research Karan Bhatnagar
 
Biostatistics CH Lecture Pack
Biostatistics CH Lecture PackBiostatistics CH Lecture Pack
Biostatistics CH Lecture PackShaun Cochrane
 
Data analytics for engineers- introduction
Data analytics for engineers-  introductionData analytics for engineers-  introduction
Data analytics for engineers- introductionRINUSATHYAN
 
Methods of sampling Statistics
Methods of sampling StatisticsMethods of sampling Statistics
Methods of sampling StatisticsJoelMoncy
 
Introduction to Statistics and Probability:
Introduction to Statistics and Probability:Introduction to Statistics and Probability:
Introduction to Statistics and Probability:Shrihari Shrihari
 
Statr sessions 11 to 12
Statr sessions 11 to 12Statr sessions 11 to 12
Statr sessions 11 to 12Ruru Chowdhury
 
ARIMA Model for analysis of time series data.ppt
ARIMA Model for analysis of time series data.pptARIMA Model for analysis of time series data.ppt
ARIMA Model for analysis of time series data.pptREFOTDEBuea
 
Advancements in Phased Array Scan Planning
Advancements in Phased Array Scan PlanningAdvancements in Phased Array Scan Planning
Advancements in Phased Array Scan PlanningOlympus IMS
 

Similaire à Unit 6 input modeling (20)

Introduction to sampling
Introduction to samplingIntroduction to sampling
Introduction to sampling
 
MT6702 Unit 4 Analysis of Data
MT6702 Unit 4 Analysis of DataMT6702 Unit 4 Analysis of Data
MT6702 Unit 4 Analysis of Data
 
Data Collection Preparation
Data Collection PreparationData Collection Preparation
Data Collection Preparation
 
1. Intro DS.pptx
1. Intro DS.pptx1. Intro DS.pptx
1. Intro DS.pptx
 
Sampling for Business Research
Sampling for Business Research Sampling for Business Research
Sampling for Business Research
 
Sampling
SamplingSampling
Sampling
 
Sample design
Sample designSample design
Sample design
 
SMS Module-4(theory) ppt.pptx
SMS Module-4(theory) ppt.pptxSMS Module-4(theory) ppt.pptx
SMS Module-4(theory) ppt.pptx
 
crossvalidation.pptx
crossvalidation.pptxcrossvalidation.pptx
crossvalidation.pptx
 
Biostatistics CH Lecture Pack
Biostatistics CH Lecture PackBiostatistics CH Lecture Pack
Biostatistics CH Lecture Pack
 
Data analytics for engineers- introduction
Data analytics for engineers-  introductionData analytics for engineers-  introduction
Data analytics for engineers- introduction
 
Methods of sampling Statistics
Methods of sampling StatisticsMethods of sampling Statistics
Methods of sampling Statistics
 
Introduction to Statistics and Probability:
Introduction to Statistics and Probability:Introduction to Statistics and Probability:
Introduction to Statistics and Probability:
 
Statr sessions 11 to 12
Statr sessions 11 to 12Statr sessions 11 to 12
Statr sessions 11 to 12
 
wasim 1
wasim 1wasim 1
wasim 1
 
ARIMA Model.ppt
ARIMA Model.pptARIMA Model.ppt
ARIMA Model.ppt
 
ARIMA Model for analysis of time series data.ppt
ARIMA Model for analysis of time series data.pptARIMA Model for analysis of time series data.ppt
ARIMA Model for analysis of time series data.ppt
 
ARIMA Model.ppt
ARIMA Model.pptARIMA Model.ppt
ARIMA Model.ppt
 
Research Design
Research DesignResearch Design
Research Design
 
Advancements in Phased Array Scan Planning
Advancements in Phased Array Scan PlanningAdvancements in Phased Array Scan Planning
Advancements in Phased Array Scan Planning
 

Plus de raksharao

Unit 1-logic
Unit 1-logicUnit 1-logic
Unit 1-logicraksharao
 
Unit 1 rules of inference
Unit 1  rules of inferenceUnit 1  rules of inference
Unit 1 rules of inferenceraksharao
 
Unit 1 quantifiers
Unit 1  quantifiersUnit 1  quantifiers
Unit 1 quantifiersraksharao
 
Unit 1 introduction to proofs
Unit 1  introduction to proofsUnit 1  introduction to proofs
Unit 1 introduction to proofsraksharao
 
Unit 7 verification &amp; validation
Unit 7 verification &amp; validationUnit 7 verification &amp; validation
Unit 7 verification &amp; validationraksharao
 
Unit 6 input modeling problems
Unit 6 input modeling problemsUnit 6 input modeling problems
Unit 6 input modeling problemsraksharao
 
Unit 5 general principles, simulation software
Unit 5 general principles, simulation softwareUnit 5 general principles, simulation software
Unit 5 general principles, simulation softwareraksharao
 
Unit 5 general principles, simulation software problems
Unit 5  general principles, simulation software problemsUnit 5  general principles, simulation software problems
Unit 5 general principles, simulation software problemsraksharao
 
Unit 4 queuing models
Unit 4 queuing modelsUnit 4 queuing models
Unit 4 queuing modelsraksharao
 
Unit 4 queuing models problems
Unit 4 queuing models problemsUnit 4 queuing models problems
Unit 4 queuing models problemsraksharao
 
Unit 1 introduction contd
Unit 1 introduction contdUnit 1 introduction contd
Unit 1 introduction contdraksharao
 
Unit 1 introduction
Unit 1 introductionUnit 1 introduction
Unit 1 introductionraksharao
 
Module1 part2
Module1 part2Module1 part2
Module1 part2raksharao
 
Module1 Mobile Computing Architecture
Module1 Mobile Computing ArchitectureModule1 Mobile Computing Architecture
Module1 Mobile Computing Architectureraksharao
 
java-Unit4 chap2- awt controls and layout managers of applet
java-Unit4 chap2- awt controls and layout managers of appletjava-Unit4 chap2- awt controls and layout managers of applet
java-Unit4 chap2- awt controls and layout managers of appletraksharao
 
java Unit4 chapter1 applets
java Unit4 chapter1 appletsjava Unit4 chapter1 applets
java Unit4 chapter1 appletsraksharao
 
Chap3 multi threaded programming
Chap3 multi threaded programmingChap3 multi threaded programming
Chap3 multi threaded programmingraksharao
 
Java-Unit 3- Chap2 exception handling
Java-Unit 3- Chap2 exception handlingJava-Unit 3- Chap2 exception handling
Java-Unit 3- Chap2 exception handlingraksharao
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languagesraksharao
 
FIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer programFIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer programraksharao
 

Plus de raksharao (20)

Unit 1-logic
Unit 1-logicUnit 1-logic
Unit 1-logic
 
Unit 1 rules of inference
Unit 1  rules of inferenceUnit 1  rules of inference
Unit 1 rules of inference
 
Unit 1 quantifiers
Unit 1  quantifiersUnit 1  quantifiers
Unit 1 quantifiers
 
Unit 1 introduction to proofs
Unit 1  introduction to proofsUnit 1  introduction to proofs
Unit 1 introduction to proofs
 
Unit 7 verification &amp; validation
Unit 7 verification &amp; validationUnit 7 verification &amp; validation
Unit 7 verification &amp; validation
 
Unit 6 input modeling problems
Unit 6 input modeling problemsUnit 6 input modeling problems
Unit 6 input modeling problems
 
Unit 5 general principles, simulation software
Unit 5 general principles, simulation softwareUnit 5 general principles, simulation software
Unit 5 general principles, simulation software
 
Unit 5 general principles, simulation software problems
Unit 5  general principles, simulation software problemsUnit 5  general principles, simulation software problems
Unit 5 general principles, simulation software problems
 
Unit 4 queuing models
Unit 4 queuing modelsUnit 4 queuing models
Unit 4 queuing models
 
Unit 4 queuing models problems
Unit 4 queuing models problemsUnit 4 queuing models problems
Unit 4 queuing models problems
 
Unit 1 introduction contd
Unit 1 introduction contdUnit 1 introduction contd
Unit 1 introduction contd
 
Unit 1 introduction
Unit 1 introductionUnit 1 introduction
Unit 1 introduction
 
Module1 part2
Module1 part2Module1 part2
Module1 part2
 
Module1 Mobile Computing Architecture
Module1 Mobile Computing ArchitectureModule1 Mobile Computing Architecture
Module1 Mobile Computing Architecture
 
java-Unit4 chap2- awt controls and layout managers of applet
java-Unit4 chap2- awt controls and layout managers of appletjava-Unit4 chap2- awt controls and layout managers of applet
java-Unit4 chap2- awt controls and layout managers of applet
 
java Unit4 chapter1 applets
java Unit4 chapter1 appletsjava Unit4 chapter1 applets
java Unit4 chapter1 applets
 
Chap3 multi threaded programming
Chap3 multi threaded programmingChap3 multi threaded programming
Chap3 multi threaded programming
 
Java-Unit 3- Chap2 exception handling
Java-Unit 3- Chap2 exception handlingJava-Unit 3- Chap2 exception handling
Java-Unit 3- Chap2 exception handling
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languages
 
FIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer programFIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer program
 

Dernier

The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 

Dernier (20)

The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 

Unit 6 input modeling

  • 2. CONTENTS • Data Collection • Identifying the distribution with data • Parameter estimation • Goodness of Fit Tests • Fitting a non-stationary Poisson process • Selecting input models without data • Multivariate and Time-Series input models • uniformity and independence • Chi-Square test, • K-S Test.
  • 3. • Input models are the distributions of time b/w arrivals and of service times. • four steps in the development of a useful model of input data 1. collect the data from the real system of interest 2. identify the probability distribution to represent the input process. 3. choose the parameters that determine a specific instance of the distribution family 4. evaluate the chosen distribution and associated parameters for goodness of fit test.
  • 4. 1. DATA COLLECTION • Collect data from the real system of interest • Requires substantial amount of time and resource commitment • When data is not available, expert opinion and knowledge of the process must be used to make educated guesses • Even though if the model structure is valid, if the input data is inaccurately collected, inappropriately analysed then simulation output will be misleading.
  • 5. SUGGESTIONS TO ENHANCE DATA COLLECTION 1. A useful expenditure of time is in planning which could begin by practice or pre observing session 2. Try to analyse the data as they are being collected 3. Try to combine homogeneous data sets 4. Be aware of the possibility of data censoring 5. Discover the relationship between the two variables by using scatter diagram 6. Check for autocorrelation of data collected from the customers 7. Difference between input data and output or performance data must be given importance
  • 6. 2. IDENTIFYING THE DISTRIBUTION WITH DATA • Shape of distribution is identified by •Frequency distribution •Histograms
  • 7. STEPS INVOLVED IN CONSTRUCTION OF HISTOGRAM 1. Divide the range of the data into interval 2. Label the horizontal axis to conform to the intervals selected 3. Find the frequency of occurrences within each interval 4. Label the vertical axis so that the total occurrences can be plotted for each interval 5. Plot the frequencies on the vertical axis
  • 8. • The no .of intervals depends on the no. of observations & on the amount of scatter or dispersion in the data • Histogram should not be too ragged or to coarse as shown
  • 11. 2.2. SELECTING THE FAMILY OF DISTRIBUTION • Purpose of preparing a histogram is to infer a known pmf or pdf • Family of distribution is chosen based on what might arise in the context being investigated along with the shape of the histogram • There are many probability distributions created , few are
  • 12. • Binomial : • Models the no. of successes in n trails , where the trails are independent with common success probability p • Eg: number of defective chips out of n chips • Poisson: • Models the number of independent events that occur in a fixed amount of time or space • Eg : the number of customer that arrive to a store in one hour • Normal: • Models the distribution of a process that can be thought of as the sum of a number of component process • Eg: time assemble a product that is the sum of the times required for each assembly operation
  • 13. • Exponential: • Models the time between independent event • E.g.: time between the arrivals • Gamma: • Models non-negative random variables and it is flexible distribution • Beta • Extremely flexible distribution used to model bounded random variable • Weibull • Models the time to failure for compounds • Discrete or continuous uniform • Models complete uncertainty • Triangular • Models a process which only min most likely and max values of the distribution known
  • 14. 2.3. QUANTILE-QUANTILE PLOTS (Q-Q PLOTS) • Histogram is not useful for evaluating the fit of the chosen distribution, where there are small number of data points, histograms can be ragged, width of histogram interval should be appropriate • Q-Q plot is a useful tool for evaluating distribution fit • Definition: • If X is a random variable with cdf F, then q-quantile if X is that value ᵞ such that F(ᵞ)=P(X≤Y)=q for 0<q<1
  • 15. 3 PARAMETER ESTIMATION • After the selection of family of distributions , the next step is to estimate the parameters of the distribution. Preliminary statistics: sample mean and sample variance • Sample mean and variance will be calculated depending on the type of data whether discrete or continuous .
  • 16.
  • 17. SUGGESTED ESTIMATORS: • Numerical estimates of the distribution parameters are needed to reduce the family of distributions to a specific distribution • These estimators are the likelihood estimators based on the raw data. • The triangular distribution is usually employed when no data is available.
  • 18.
  • 19. 4 GOODNESS-OF-FIT TESTS • Apply the different types of tests for goodness based on the family of distribution selected. • Use the corresponding estimators based on the family of distribution and verify for the goodness of fit. • General tests can be applied are 1. Chi-square test 2. Kolmogorov-Smirnov test
  • 20. GOODNESS-OF-FIT TESTS • Chi-square test: the test procedure starts by arranging ‘n’ observations into k class intervals or cells. • The test statistic is given by X0²= Σ (Oi – Ei)²/ Ei , where Oi is the observed frequency at ith interval & Ei is the expected frequency in that class interval. • The expected frequency for each class interval can be computed as Ei = nPi, where, Pi is the theoretical hypothesized probability associated with the ith class
  • 21. CHI-SQUARE TEST STEPS 1. Formulate the hypothesis Ho : Data belongs to a particular candidate distribution H1: data belongs to a particular candidate distribution 2. Estimate the parameters of these distribution 3. Calculate the value of the pdf i.e. Pi 4. Calculate the estimated frequency Ei=nPi 5. Calculate X0²= ∑(Oi-Ei)2/Ei 6. Find the critical value X0² > X²α, K-S-1 Where k is number of class intervals S is the number of parameters distributed α Is level of significance
  • 22. CHI-SQUARE TEST WITH EQUAL PROBABILITIES •Number of intervals is k ≤ n/5 •the probability of class interval is Pi =1/K •the upper limit of the class interval are computed as F(x) = ip •For the exponential distribution the upper limit of the class interval is computed as ai=-1/λ ln (1-ip)
  • 23. KOLMOGOROV - SMIRNOV TEST FOR GOODNESS-OF-FIT TEST FOR EXPONENTIAL DISTRIBUTION • Hypothesis can be given as H0: IAT are exponentially distributed. H1: the IAT are not exponentially distributed. • The data were collected over a period of time from 0 to T. • If the underlying distributions IAT {T1,T2,…….Tn} is exponential , then the arrival times are uniformly distributed on interval (0,T).
  • 24. • Arrival times can be obtained by adding IA times. i.e, T1, T1+T2, T1+T2+T3,………T1+……TN. • Then the arrival times can be normalized to a (1, T) interval. so that the K-S test can be applied .on (0,T) interval the data points (Di) will be T1/T, T1+T2/T, T1+T2+T3/T,…….T1+…..TN/T
  • 25. • Use these data points to apply KS test. • Finally, calculate Dα = D/ sqrt(N) and compare D value with Dα , to accept or to reject the null hypothesis. • If D < Dα, then the no's are uniformly distributed, vice versa.
  • 26. P-VALUES AND BEST FITS • P value • Is the significance level at which one would just reject H0 for the given values of statistics • Therefore large p-values indicate a good fit • Small p-value suggests a poor fit • Best fit • Here software recommends are input model to the user after evaluating all feasible models
  • 27. FITTING A NON STATIONARY POISON PROCESS (NSPP) • Approaches used are • Choose a very flexible model with lots of parameters and fit it with a method such as maximum likelihood • Approximate the arrival rate as being constant over some basic interval of time , such as an hour, or a day or a month best by carrying from time interval to time interval
  • 28. SELECTING INPUT MODELS WITHOUT DATA • Different ways to obtain information about a process even if data are not available • Engineering data • Product or process performance rating satisfied by the manufacturer • Expert opinion • Talk to people who are experienced with process or similar process • Physical or conventional limitations • Most physical process have physical limits or performance • The nature of process • The artificial description of the distribution which is predefined can be used
  • 29. MULTIVARIATE AND TIME SERVICE INPUT MODELS •If we have finite numbers of random variables then we have multivariate model •If we have infinite number of random variable then we have time series model
  • 31. TIME SERIES INPUT MODEL • If X1,X2,X3, … is a sequence of identically distributed but dependent and covariance stationary random variables there are number of time series models that can be used to represent the process • Two models that have the characteristics that auto correlation take the form • AR(1) model • EAR (1) model
  • 32. AR MODEL- AUTOREGRESSIVE ORDER 1 MODEL
  • 34. END OF UNIT 6 THANK YOU 