ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
Record object variance staytime
statistics>experimenter>performance measures, there are no command can record variance.
I want to record the performance measures - "variance",so I want to create a new user command, some thing like "stats_staytimevar". The flexsim can record the object average staytime, so I think my problem can easy to recover.But I don't know how to write down the code. please give me a hand,I will appreciate your help. |
#2
|
||||
|
||||
The experimenter does that for you. For the performance measures you give in it determines for each scenario the mean of the replications, the variance and shows you confindence intervals. After you've run the experimenter you can view the results at performance measures tab. There you can Generate the PFM report.
Martijn |
The Following 4 Users Say Thank You to Anthony Johnson For This Useful Post: | ||
Vic Li (09-02-2008) |
#4
|
|||
|
|||
Hi,Anthony Johnson
you get my point and thanks for the cool formula.you explain clear. Would you can provide other codes for me ? 1.recode the variance of content in one replication experiment? 2.the original code of these commands: stats_staytimeavg , stats_contentavg, stats_staytimemax. I am beginner for the flexsim and want to acquire mastery of flexsim, so I want to see more details in the flexsim. thank you very much Last edited by Vic Li; 09-02-2008 at 02:38 AM. |
#5
|
|||
|
|||
Is there a way to find out whether or not the simulation time is passed the specified warmup period in a run? Only because if I wanted to collect variance data on part stay times I would want to make sure I'm only collecting the data after the warmup time has elapsed...
I learned that the staytimes of parts in a simulation model are usually not independent, identically distributied (IID) and so can't be validly analyzed within a single run. The reasoning was that the staytime of part i is usually affected by the staytime of part i-1, and so part i is dependent on part i - 1. Then I was told that pretty much all stat tools used for analyzing simulation data variance had to assume the observations were IID, and so we couldn't use staytime variance for a part type in a single run, unless you can prove that the observations are IID. Otherwise we just make multiple runs where we can assume the runs are IID. You can see a discussion of this in Averill Law's simulation textbook, 4th edition, chapter 4, example 4.17 (pg. 224). Or you can look at the Banks, Carson, Nelson & Nicol 3rd Edition of Discrete Event System Simulation, section 11.5.2 (pg.426) |
#9
|
||||
|
||||
Sorry, I don't really know of a great formula for that. Tracking variance on the content seems like a weird thing to track, though, because each sample is not independent of other samples, and I don't know how you'd figure weighting into the equation, i.e. staying at one content sample for longer results in a higher weight for that sample.
|
The Following User Says Thank You to Anthony Johnson For This Useful Post: | ||
Congshi Wang (12-23-2010) |
Thread | Thread Starter | Forum | Replies | Last Post |
How to turn on stats history in Vista to use Record object | syseo | Q&A | 1 | 09-22-2007 01:45 AM |