05-01-2015 11:14 AM
I wrote a program for bootstrap sample generation
It works fine but It has one issue
when I run that SAS program twice then newer bootstrap samples are merged with previously generated bootstrap samples in SAS output
E.g, First I generated 100 bootstrap sample and calculated 95 percentile from it
But when I again run that program then SAS out put show 200 bootstrap samples therefore 95 percentile is misleading in this case
Please help me how to resolve this issue
05-01-2015 01:10 PM
It sounds like somewhere you are appending data to a dataset. The first step would be either to deleted the existing dataset or direct your output to a new dataset.
Other than that, details are needed to provide more specific help.
If you have code look for some place with Proc Append, Proc Datasets with append, a data step with 2 or more datasets on a Set statement or Proc SQL with a Union join.
05-03-2015 02:00 AM
here I am inserting a link of program that I am using
I would be really grate full to you if you could mention me the correction in it