Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to use SPSS to do simple random sampling

Shulou Source: shulou.com Published: 2022-06-01 04:59:39 10月02日 Update

This article shows you how to use SPSS to do simple random sampling, the content is concise and easy to understand, can definitely brighten your eyes, through the detailed introduction of this article, I hope you can get something.

Sampling methods can be divided into non-random sampling and random sampling, the former such as typical sampling. There are many sampling methods, such as simple random sampling, systematic sampling, stratified sampling, cluster sampling and so on. Random sampling should follow the principle of randomization, that is, to ensure that every research object in the population has a known, non-zero probability to be selected as the research object, in order to ensure the representativeness of the sample.

Simple random sampling (simple random sampling) is the most simple and basic sampling method. The principle is that n objects are extracted from the total N objects by random methods (such as random numbers) without putting them back, and the probability of each object being extracted is nhammer N.

Simple random sampling

15% of the samples were randomly selected from 100 subjects, that is, 15 samples.

Data view

[1] set random number seeds to ensure the repeatability of sampling results

Click convert, Random number

[2] check the corresponding option. "fixed value" can be the sampling time.

[3] generate random numbers

Click convert calculate variable

[4] name the "target variable", select "random number" in the function group, and then find the function "RV.UNIFORM". Set the range between "0quota 1" and "OK".

[5] output the corresponding random number "random"

[6] at this time, we can "ascend" or "descend" the newly generated variable "random" to select the first or last 15 random numbers, that is, the corresponding ID.

[7] as shown in the figure

The above content is how to do simple random sampling with SPSS. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Tags: Sampling number object method variable sample guarantee extraction research content function population skill probability knowledge concise concise intermediate representative representative Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Shulou Tech Info Redmi Docker Apple