Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use SPSS to do simple random sampling

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report