| ... | ... | @@ -51,6 +51,7 @@ The raw data consist of: |
|
|
|
```
|
|
|
|
colnames(data_1) <- c("bs_o","pop","kab")
|
|
|
|
```
|
|
|
|
|
|
|
|
3. Run the function of complex survey by input:
|
|
|
|
- Data
|
|
|
|
- Sampling fraction (in decimal)
|
| ... | ... | @@ -59,6 +60,7 @@ The raw data consist of: |
|
|
|
```
|
|
|
|
res_1_srs_0.8 <- resampling_srs(data = data_1, prop = 0.8, iterasi = 100)
|
|
|
|
```
|
|
|
|
|
|
|
|
4. View the result of complex survey estimation
|
|
|
|
|
|
|
|
```
|
| ... | ... | |