This document provides an overview of input modeling for simulation. It discusses the four main steps: 1) collecting real system data, 2) identifying the probability distribution, 3) estimating distribution parameters, and 4) evaluating goodness of fit. Common distributions are identified like Poisson, normal, exponential. Methods for identifying the distribution include histograms and Q-Q plots. Goodness of fit can be tested using chi-square and Kolmogorov-Smirnov tests. The document also discusses modeling non-stationary processes, selecting distributions without data, and multivariate/time-series input models.
Introduction to simulation and modeling will describe what is simulation, what is system and what is model. It will give a brief overview of simulation and modeling in computer science.
Introduction to simulation and modeling will describe what is simulation, what is system and what is model. It will give a brief overview of simulation and modeling in computer science.
File Replication : High availability is a desirable feature of a good distributed file system and file replication is the primary mechanism for improving file availability. Replication is a key strategy for improving reliability, fault tolerance and availability. Therefore duplicating files on multiple machines improves availability and performance.
Replicated file : A replicated file is a file that has multiple copies, with each copy located on a separate file server. Each copy of the set of copies that comprises a replicated file is referred to as replica of the replicated file.
Replication is often confused with caching, probably because they both deal with multiple copies of data. The two concepts has the following basic differences:
A replica is associated with server, whereas a cached copy is associated with a client.
The existence of cached copy is primarily dependent on the locality in file access patterns, whereas the existence of a replica normally depends on availability and performance requirements.
Satynarayanana [1992] distinguishes a replicated copy from a cached copy by calling the first-class replicas and second-class replicas respectively
Scheduling
Routing
Prioritizing
Dispatching
What is Scheduling ?
Forward Scheduling
Backward Scheduling
Finite LOADING
infinite loading
Schedule Gantt Chart
Line balancing
GOAL AND OBJECTIVE
LINE BALANCING PROCEDURE
Strategies and Costs
as early as possible
as last as possible
File Replication : High availability is a desirable feature of a good distributed file system and file replication is the primary mechanism for improving file availability. Replication is a key strategy for improving reliability, fault tolerance and availability. Therefore duplicating files on multiple machines improves availability and performance.
Replicated file : A replicated file is a file that has multiple copies, with each copy located on a separate file server. Each copy of the set of copies that comprises a replicated file is referred to as replica of the replicated file.
Replication is often confused with caching, probably because they both deal with multiple copies of data. The two concepts has the following basic differences:
A replica is associated with server, whereas a cached copy is associated with a client.
The existence of cached copy is primarily dependent on the locality in file access patterns, whereas the existence of a replica normally depends on availability and performance requirements.
Satynarayanana [1992] distinguishes a replicated copy from a cached copy by calling the first-class replicas and second-class replicas respectively
Scheduling
Routing
Prioritizing
Dispatching
What is Scheduling ?
Forward Scheduling
Backward Scheduling
Finite LOADING
infinite loading
Schedule Gantt Chart
Line balancing
GOAL AND OBJECTIVE
LINE BALANCING PROCEDURE
Strategies and Costs
as early as possible
as last as possible
A Crux of the sampling chapter in the book: Essentials of Business Research: A Guide to Doing Your Research Project by Jonathan Wilson.
The content of the book is used under Creative Commons Attribution.
These slides are related to statistics. This is an detailed version of the topic. This slide discusses about various methods of sampling and also tells us about the method of planning and executing any particular survey.
ARIMA Model for analysis of time series data.pptREFOTDEBuea
Applying the classical linear regression approach to time series data seriously violates one of the key assumptions, known as uncorrelated error terms. Therefore, there is a need for appropriate statistical tools to model these types of data. ARIMA.
Advancements in Phased Array Scan PlanningOlympus IMS
For more on Olympus Phased Array: http://bit.ly/1zo4CRu
A presentation from the webinar Advancements in Phased Array Scan Planning.
Scan planning is an integral, yet somewhat neglected step in the everyday Phased Array (PA) inspection process. Success in proper scan planning leads to reliable results, higher productivity, and ensures repeatability but can often be difficult due to the varying nature of the PA technique and its application.
In this presentation, learn advanced scan planning concepts, implementation of different PA inspections, and achieve a better overall understanding of the benefits and limitations of Phased Array.
Watch the webinar associated with this presentation: http://bit.ly/1EyHFg9
Contact us: http://bit.ly/1rDmq94
Sign up for our newsletter: http://bit.ly/1j5FOTy
Applet Basics,
Applet Organization and Essential Elements,
The Applet Architecture,
A Complete Applet Skeleton,
Applet Initialization and Termination,
Requesting Repainting
The update() Method,
Using the Status Window
Passing parameters to Applets
The Applet Class
Event Handling The Delegation Event Model
Events,
Using the Delegation Event Model,
More Java Keywords.
Multithreaded fundamentals
The thread class and runnable interface
Creating a thread
Creating multiple threads
Determining when a thread ends
Thread priorities
Synchronization
Using synchronized methods
The synchronized statement
Thread communication using notify(), wait() and notifyall()
Suspending , resuming and stopping threads
The exception hierarchy
Exception handling fundamentals
Try and catch
The consequences of an uncaught exception
Using multiple catch statements
Catching subclass exceptions
Nested try blocks
Throwing an exception
Re-throwing an exception
Using finally
Using throws
Java’s built-in exception
Creating exception subclasses
Introduction,Developing a Program, Program Development Life Cycle, Algorithm,Flowchart,Flowchart Symbols,Guidelines for Preparing Flowcharts,Benefits and Limitations of Flowcharts
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
How to Create Map Views in the Odoo 17 ERPCeline George
The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
What is the purpose of the Sabbath Law in the Torah. It is interesting to compare how the context of the law shifts from Exodus to Deuteronomy. Who gets to rest, and why?
This is a presentation by Dada Robert in a Your Skill Boost masterclass organised by the Excellence Foundation for South Sudan (EFSS) on Saturday, the 25th and Sunday, the 26th of May 2024.
He discussed the concept of quality improvement, emphasizing its applicability to various aspects of life, including personal, project, and program improvements. He defined quality as doing the right thing at the right time in the right way to achieve the best possible results and discussed the concept of the "gap" between what we know and what we do, and how this gap represents the areas we need to improve. He explained the scientific approach to quality improvement, which involves systematic performance analysis, testing and learning, and implementing change ideas. He also highlighted the importance of client focus and a team approach to quality improvement.
We all have good and bad thoughts from time to time and situation to situation. We are bombarded daily with spiraling thoughts(both negative and positive) creating all-consuming feel , making us difficult to manage with associated suffering. Good thoughts are like our Mob Signal (Positive thought) amidst noise(negative thought) in the atmosphere. Negative thoughts like noise outweigh positive thoughts. These thoughts often create unwanted confusion, trouble, stress and frustration in our mind as well as chaos in our physical world. Negative thoughts are also known as “distorted thinking”.
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