# Cuplik

Membuat tabel dengan sampel data dari tabel lain.

Untuk mengakses fungsi ini...

Pilih Data - Statistik - Cuplik

Sampling allows you to pick data from a source table (population) to fill a target table. The sampling can be random or in a periodic basis, as well as with or without sample replacement in the source table.

Sampling dilakukan per baris. Itu berarti, data sampel akan mengambil seluruh baris dari tabel sumber dan menyalin ke baris tabel sasaran.

### Data

Rentang Input: Referensi rentang data yang akan dianalisis.

Hasil ke: Referensi sel kiri atas dari rentang di mana hasil akan ditampilkan.

## Metode Pencuplikan

### Random

Picks exactly Sample Size lines of the source table in a random way.

### Sample size

Number of lines sampled from the source table. The Sample size is limited to the population size for all sampling methods without replacement.

### With replacement

When checked, put back samples in population (source table) after draw. A sample can be drawn more than once and therefore a larger sample size than population is possible. This option is mutually exclusive with Keep order. When unchecked, a sample drawn is not put back to the population and sample size is limited to population size.

### Keep order

When checked, samples are drawn in order of population data. Samples are not put back to the population (exclusive with With replacement). This option is automatically checked for Periodic sampling. When unchecked, samples are drawn in random order.

### Periodic

Picks lines in a pace defined by Period.

### Period

The number of lines to skip periodically when sampling. The Period is limited to the population size.

#### Contoh

Data berikut akan digunakan sebagai contoh tabel data sumber untuk sampling:

 A B C 11 21 31 12 22 32 13 23 33 14 24 34 15 25 35 16 26 36 17 27 37 18 28 38 19 29 39

Sampling dengan periode 2 akan menghasilkan tabel berikut:

 12 22 32 14 24 34 16 26 36 18 28 38

Mohon dukung kami!