On Mon, Feb 16, 2015 at 11:36:16PM +0100, ftr wrote:
> Hi,
> 
> I have the following problem: I have a large multi country data file from
> which I want to export a random sample of about 20% of the cases of each
> country.
> 
> Can I achieve this with the following temporary and the sample commands ?
> 
> SORT CASES  by  country.
> SPLIT FILE by country.
> TEMP.
> Sample .2 .
> COMPUTE selection = 1.
> FREQ selection.
> SPLIT FILE OFF

I think that ought to work.

_______________________________________________
Pspp-users mailing list
Pspp-users@gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users

Reply via email to