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
I doubt anyone will have any valuable input without being able to look at your code.
http://www.math.uni-bremen.de/~pigeot/software/engl_boot_sas.html
I am using this program plz help me in this regard
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.
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
http://www.math.uni-bremen.de/~pigeot/software/engl_boot_sas.html
Add a parameter to your program to ensure that it creates a uniquely named data set for each iteration/call.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.