pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

random sample within strata


From: ftr
Subject: random sample within strata
Date: Mon, 16 Feb 2015 23:36:16 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

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


Thanks for any hints.
- ftr



reply via email to

[Prev in Thread] Current Thread [Next in Thread]