शुरू करेंमुफ़्त में शुरू करें

3 kinds of sampling

Let's compare the performance of point estimates using simple, stratified, and cluster sampling. Before we do that, you'll have to set up the samples.

In these exercises, we'll use the RelationshipSatisfaction column of the attrition dataset, which categorizes the employee's relationship with the company. It's an ordered factor with four levels: Low, Medium, High, and Very_High.

यह अभ्यास पाठ्यक्रम का हिस्सा है

Sampling in R

पाठ्यक्रम देखें

इंटरैक्टिव व्यावहारिक अभ्यास

इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।

# Perform simple random sampling to get 0.25 of the population
attrition_srs <- ___
कोड संपादित करें और चलाएँ