Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
Batch Export Simulated Data (Read 1973 times)
Nathan Clark
Guest


Batch Export Simulated Data
Mar 16th, 2006 at 11:28am
 
Hello again,
    Thanks for the feedback, we are weighing our options. For now, is there a way to save simulated data sequences to a file using Batch Language?  I can't seem to find a way.  Tongue
Thanks,
-Nathan Clark
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: Batch Export Simulated Data
Reply #1 - Mar 16th, 2006 at 12:47pm
 
Dear Nathan,
Quote:
Hello again,
   Thanks for the feedback, we are weighing our options. For now, is there a way to save simulated data sequences to a file using Batch Language?  I can't seem to find a way.  Tongue


Try something along these lines:

Code:
outputFileName  = "foo.bar";
DataSet simData = SimulateDataSet (myLikelihoodFunction);
DataSetFilter simFilter = CreateFilter (simData,1);
DATA_FILE_PRINT_FORMAT = 5; /* there are other options as well; check the docs for the full list */

fprintf (outputFileName,CLEAR_FILE,simFilter);

 



Cheers,
Sergei
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged