Good Day, Is it possible to generate a sample of data using CSPro software? For instance I want to generate a 20% Random sample of the a dataset.
Thanks in advance
Sample Generation Tool
-
- Posts: 1803
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Sample Generation Tool
Right-click on the dictionary in the dictionary tree and select Dictionary Macros. From there you can easily create a sample of your data file, specifying what percentage of the data file you want to retain.
Re: Sample Generation Tool
Thanks for your quick response. I wanted to get 20 percent of the data for development purposes
thanks
thanks
-
- Posts: 1803
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Sample Generation Tool
Were you able to use the Dictionary Macros approach? You can specify 20 as the percentage of data that you want, and you can specify whether you want a sequential sample or a random sample.
Re: Sample Generation Tool
Yes I was able to generate the sample as I followed your instructions. Thank you.
Re: Sample Generation Tool
Dear Greg,
Sorry for jumping into this old post. I was wondering, if it can be done through a program or menu based system?
Your response will be highly appreciated.
Regards
Bidhu
Sorry for jumping into this old post. I was wondering, if it can be done through a program or menu based system?
Your response will be highly appreciated.
Regards
Bidhu
Re: Sample Generation Tool
You can do this with a batch edit application although you need to write a bit of logic. Use a counter combined with the "skip case" statement to keep only every nth case.
Re: Sample Generation Tool
Thank you Josh. I will work on it and I will come back to you if I face problem.
Re: Sample Generation Tool
Hey Josh, I could do it without any trouble.
Many thanks for the clue.
Regards
Bidhu
Many thanks for the clue.
Regards
Bidhu