SlideShare a Scribd company logo
Sampling Statistics
Guide
Author: Ali Fadakar
An Introduction to the Sampling Interface
Sampling interface is an interactive software package that uses statistical procedures such
as random sampling, stratified random sampling, one-stage cluster sampling, two-stage
cluster sampling and sampling with varying probability. In general, the software includes a
sampling window. The sampling window consists of two tabs, Data Sheet view and Output
view.
File
A new project is automatically created when the software is launched. You can also open
a new project by clicking File> Add New Project. In general, use the File menu
commands to manage projects.
Open a previously saved project using the File>Open command.
Click File>Open. Use the file browser to find the Sampling (*.sa) project file. By default,
files that can be opened or translated by Sampling are displayed. Then, select the file you
want to open and click Open.
To save an existing, active project with a new name or to a new location:
Click File>Save As. Use the file browser to find the directory where you want to save the
file. Then, type the name of the file in the File name box and click Save.
Use the File>Save command to save the active project.
Display 1: File menu.
Inserting Data
The first step is to insert Data into the active project. To enter data right-click in the
window and select Add new column then enter the name for column and press Space or
Enter. After that, you can enter your data. Between data entry, you must press at least one
Space or Enter.
Note1: The columns can have the same name or even can be without a name.
Note2: Some special characters such star, decimal point and minus sign cannot be used for
the column name.
To import datum several times, a panel on the left side of the Data Sheet tab can be used.
The value should be entered in the Value box and the number of iterations should be
entered in the Frequency box and then press Enter or Ok button. For example, in Display
2, two data with value 3 are added to the first column named "a".
The size of writing is determined by the zoom box. The default size is two, the minimum
and maximum allowed values are respectively one and ten.
Display 2: Data Sheet tab.
Edit Data
In the Data Sheet tab, the data and the name of columns cannot be deleted or edited.
However, these advantages can be done by clicking Edit>Edit Column. This opens the
dialogue box shown in Display 3.
Display 3: Edit column.
Select the number of the column that you want to edit it by the Column Number box. You
can change the Column’s Name in Column Name box. Also, you can edit or add data to
the specified column in Data box. Finally, click Ok button and the contents of the selected
column will be changed according to the edition.
Moreover, the data can be inserted in the form of fraction or multiplication of two numbers
without spaces in the Data box. For example, if you type 1/5 in the Data box, 0.2 will be
displayed on the main datasheet tab.
Recode into Different Column
Click Edit>Recode into Different Column. This opens the dialogue box shown in
Display 4. You can define values to recode in this dialog box. Select the number of the
column by the Column box. You can specify a name for the new column in the Name
box.
In the Old Value panel, you can specify the type of value that you wish to recode (e.g., a
specific Value, a Range of values, or All Other). All Other can be applied to any value
that not explicitly accounted by the previous recoding rules and it should be applied at the
end.
In the New Value panel, you can specify the new value for column (i.e., a specific numeric
code such as “2,” or copy old values).
In the Old->New panel, click Add button to add the item. The recode that you have
specified appears in Old->New box. If you need to remove one of the recodes that you
have added to the Old->New box, simply click on it and then click the Remove button.
When you have finished defining the conditions, click Ok button.
Display 4: Recode into Different Column.
Random Sampling
Click Analyze>Random Sampling. The Random Sampling dialog box is displayed.
This dialogue box is shown in Display 5. Select the columns under the headings
Column(s). If your sample brings with the replacement you should check Sampling with
replacement box in this window and you can determine the size of your statistical society
in the N box. The sample size estimation output is controlled via the Estimation n button
(Display 6). The sample size can be determined to estimate either population mean or
population proportion. The Proportion option is used when the data of the selected
column are 0 and 1.
To obtain an estimator p having probability at least 1 – α of being no farther than d from
the population proportion, the sample size formula based on the normal approximation
gives:
Pr(|p-P|<d) =1- α
) + p(1 − p)]2
/z2
n = Np(1 − p)/[ (N − 1)(d
In the Mean option, you can specify confidence interval in the 2*l box for sample size
estimation. In this procedure the sample mean y is an unbiased estimator of the population
mean μ with variance var( y ) = (N − n) 2
 /Nn. Setting:
2 × 𝑠 × 𝑧√
𝑁−𝑛
𝑛𝑁
= 2 × 𝑙
and solving for n gives the necessary sample size:
2 2 2
0
1 1
1 1 1
n
d z N n N
 
 
Where
2 2
0 2
z
n
d

 . If instead of confidence interval 2*l, you select an amount in r box for
relative error (the difference between the estimate and the true value, divided by the true
value) the criterion to be met is:
Pr(|
(𝑌̅𝑛−𝑌̅ 𝑁)
𝑌̅ 𝑁
|>r) = α
and the sample size formula is:
2 2 2 2
1
1
n
r z N 


Display 5: Random Sampling.
Display 6: Estimate n.
An output of a command Random Sampling
Display 7 shows the Random Sampling Output, you can see, for example, the mean of
the sample in line 1, the variance of mean in line 2, the confidence interval in line 3, the
sample size in line 4 and the estimation of sample size according to the confidence interval
option in line 5.
Display 7: Output of Random Sampling.
Stratified Random Sampling
To select Stratified Random Sampling click Analyze>Stratified Random Sampling.
Display 8 shows the Stratified Random Sampling dialogue box. A source columns list is a
list of columns from the data sheet that can be used in the requested analysis. Each column
is considered as one Stratum.
You can specify the columns under the headings Stratums. Note you should have more
than one Stratum. If sampling is proportional allocation , you should check the
Proportional Allocation box. Then the box N appears above the check box. The size of
the statistical society should be specified in this box.
Display 8: Stratified Random Sampling.
If the sampling is not proportional allocation, after specifying the columns under the
headings Stratums, by double-clicking on the Stratums list, the window will become as
shown in Display 9.
h hn N
n N

Display 9: Stratified Random Sampling after double-click.
You should specify the size of statistical society for each stratum and then press Enter or
click Ok button. Finally, click Continue button.
Display 10: Optimum Allocation.
The Optimum Allocation output is controlled via the Optimum Allocation button (Display
10). You must specify cost sampling unit for each Stratum and then press Enter or click
Ok button. If the cost of sampling unit for each Stratum is unique, you should check
NEYMAN Allocation and specify an amount of cost.
If an amount of variance is specified, you should select the Variance confirm box and
specify the amount of variance. If an amount of total cost is specified, you should select the
Cost confirm box and specify the amount of cost.
One Stage Cluster Sampling
To select the one-stage cluster sampling click Analyze>One Stage Cluster Sampling.
Display 11 shows the One Stage Cluster Sampling dialogue box.
Display 11: One Stage Cluster Sampling.
A source columns list is a list of columns from the Data sheet that can be used in the
requested analysis. Each column is considered as one Cluster. Total number of clusters
should be determined by the N box and the mean size of clusters should be determined by
the M box. Then click Ok button.
Two Stage Cluster Sampling
The two-stage cluster sampling procedure can be accessed by selecting Analyze >Two
Stage Cluster Sampling. Display 12 shows the Two Stage Cluster Sampling dialogue box.
Display 12: Two Stage Cluster Sampling.
A source columns list is a list of columns from the Data sheet that can be used in the
requested analysis. Each column is considered as one Cluster. Total number of Clusters
should be determined by the N box and the mean size of Clusters should be determined by
the M box. If clusters have the same size, you should check Cluster of Equal Sizes.
Otherwise, by double-clicking on the Cluster, the dialog box will become as shown in
Display 13.
Display 13: Two Stage Cluster Sampling after double-click.
You should specify the size of statistical society for each cluster and then press Enter or
click Ok button. Then click Continue.
Sampling with Varying Probability
You can proceed to apply the probability sampling with varying by clicking
Analyze>Sampling with Varying Probability. Display 14 shows the Sampling with
varying probability dialogue box.
Display 14: Sampling with Varying Probability.
Specify the data columns and the probability of data columns under the headings
Column(s) and probability(s) respectively. Note that the displacement in the columns in
the probability(s) or Column(s) boxes may change the correspondence of the data to their
probability value. If your sample brings without replacement you should check the
Sampling without replacement box and you should determine the size of your statistical
society in the N box.

More Related Content

What's hot

Spss guideline
Spss guidelineSpss guideline
Spss guidelineASDFGGK
 
Metadata manual
Metadata manualMetadata manual
Metadata manual
Luis Ezpeleta
 
Excel.01
Excel.01Excel.01
linear regression analysis in spss (procedure and output)
linear regression analysis in spss (procedure and output)linear regression analysis in spss (procedure and output)
linear regression analysis in spss (procedure and output)
Unexplord Solutions LLP
 
Maliram poonia project
Maliram poonia projectMaliram poonia project
One way anova in spss (procedure and output)
One way anova in spss (procedure and output)One way anova in spss (procedure and output)
One way anova in spss (procedure and output)
Unexplord Solutions LLP
 
chi square goodness of fit test (expected ratio) (procedure and output)
chi square goodness of fit test (expected ratio) (procedure and output)chi square goodness of fit test (expected ratio) (procedure and output)
chi square goodness of fit test (expected ratio) (procedure and output)
Unexplord Solutions LLP
 
Focusing on specific data by using filterss
Focusing on specific data by using filterssFocusing on specific data by using filterss
Focusing on specific data by using filterss
um5ashm
 
One sample t test (procedure and output in SPSS)
One sample t test (procedure and output in SPSS)One sample t test (procedure and output in SPSS)
One sample t test (procedure and output in SPSS)
Unexplord Solutions LLP
 
Paired sample t test (procedure and output)
Paired sample t test (procedure and output)Paired sample t test (procedure and output)
Paired sample t test (procedure and output)
Unexplord Solutions LLP
 
Using Spss Compute (Another Method)
Using Spss   Compute (Another Method)Using Spss   Compute (Another Method)
Using Spss Compute (Another Method)Dr Ali Yusob Md Zain
 
Excel mod 5 PowerPoint
Excel mod 5 PowerPointExcel mod 5 PowerPoint
Excel mod 5 PowerPoint
Wilmington High School
 
Two way anova in spss (procedure and output)
Two way anova in spss (procedure and output)Two way anova in spss (procedure and output)
Two way anova in spss (procedure and output)
Unexplord Solutions LLP
 
chi square goodness of fit test (equal ratio) (procedure and output)
chi square goodness of fit test (equal ratio) (procedure and output)chi square goodness of fit test (equal ratio) (procedure and output)
chi square goodness of fit test (equal ratio) (procedure and output)
Unexplord Solutions LLP
 
Independent sample t test in spss (procedure and output)
Independent sample t test in spss (procedure and output)Independent sample t test in spss (procedure and output)
Independent sample t test in spss (procedure and output)
Unexplord Solutions LLP
 
Excell shortcuts
Excell shortcutsExcell shortcuts
Excell shortcuts
proser tech
 
Excel Solver(By Mahsa Rezaei)
Excel Solver(By Mahsa Rezaei)Excel Solver(By Mahsa Rezaei)
Excel Solver(By Mahsa Rezaei)mahsa rezaei
 
Ad09 Anytl
Ad09 AnytlAd09 Anytl
Ad09 Anytl
snail_chen
 
Module iii part i
Module iii part iModule iii part i
Module iii part i
Sumaja Varma
 

What's hot (20)

Spss guideline
Spss guidelineSpss guideline
Spss guideline
 
Metadata manual
Metadata manualMetadata manual
Metadata manual
 
Excel.01
Excel.01Excel.01
Excel.01
 
linear regression analysis in spss (procedure and output)
linear regression analysis in spss (procedure and output)linear regression analysis in spss (procedure and output)
linear regression analysis in spss (procedure and output)
 
Maliram poonia project
Maliram poonia projectMaliram poonia project
Maliram poonia project
 
One way anova in spss (procedure and output)
One way anova in spss (procedure and output)One way anova in spss (procedure and output)
One way anova in spss (procedure and output)
 
chi square goodness of fit test (expected ratio) (procedure and output)
chi square goodness of fit test (expected ratio) (procedure and output)chi square goodness of fit test (expected ratio) (procedure and output)
chi square goodness of fit test (expected ratio) (procedure and output)
 
Focusing on specific data by using filterss
Focusing on specific data by using filterssFocusing on specific data by using filterss
Focusing on specific data by using filterss
 
One sample t test (procedure and output in SPSS)
One sample t test (procedure and output in SPSS)One sample t test (procedure and output in SPSS)
One sample t test (procedure and output in SPSS)
 
Paired sample t test (procedure and output)
Paired sample t test (procedure and output)Paired sample t test (procedure and output)
Paired sample t test (procedure and output)
 
Using Spss Compute (Another Method)
Using Spss   Compute (Another Method)Using Spss   Compute (Another Method)
Using Spss Compute (Another Method)
 
Excel mod 5 PowerPoint
Excel mod 5 PowerPointExcel mod 5 PowerPoint
Excel mod 5 PowerPoint
 
Two way anova in spss (procedure and output)
Two way anova in spss (procedure and output)Two way anova in spss (procedure and output)
Two way anova in spss (procedure and output)
 
chi square goodness of fit test (equal ratio) (procedure and output)
chi square goodness of fit test (equal ratio) (procedure and output)chi square goodness of fit test (equal ratio) (procedure and output)
chi square goodness of fit test (equal ratio) (procedure and output)
 
Independent sample t test in spss (procedure and output)
Independent sample t test in spss (procedure and output)Independent sample t test in spss (procedure and output)
Independent sample t test in spss (procedure and output)
 
MS Excel Tips & Tricks
MS Excel Tips & TricksMS Excel Tips & Tricks
MS Excel Tips & Tricks
 
Excell shortcuts
Excell shortcutsExcell shortcuts
Excell shortcuts
 
Excel Solver(By Mahsa Rezaei)
Excel Solver(By Mahsa Rezaei)Excel Solver(By Mahsa Rezaei)
Excel Solver(By Mahsa Rezaei)
 
Ad09 Anytl
Ad09 AnytlAd09 Anytl
Ad09 Anytl
 
Module iii part i
Module iii part iModule iii part i
Module iii part i
 

Similar to Sampling

Libre Office Calc Lesson 5: Working with Data
Libre Office Calc Lesson 5: Working with DataLibre Office Calc Lesson 5: Working with Data
Libre Office Calc Lesson 5: Working with Data
Smart Chicago Collaborative
 
SPSS PRESENTATION.PPT.pptx
SPSS PRESENTATION.PPT.pptxSPSS PRESENTATION.PPT.pptx
SPSS PRESENTATION.PPT.pptx
BMmugal
 
111249-140817070204-phpapp02.pdf
111249-140817070204-phpapp02.pdf111249-140817070204-phpapp02.pdf
111249-140817070204-phpapp02.pdf
BMmugal
 
Easy Pivot Tutorial June 2020
Easy Pivot Tutorial June 2020Easy Pivot Tutorial June 2020
Easy Pivot Tutorial June 2020
Adhi Wikantyoso
 
Spss notes
Spss notesSpss notes
Spss notes
sitifatimahcheosmi
 
SPSS How to use Spss software
SPSS How to use Spss softwareSPSS How to use Spss software
SPSS How to use Spss software
Debashis Baidya
 
This image appears when a project instruction has changed to accommo.docx
This image appears when a project instruction has changed to accommo.docxThis image appears when a project instruction has changed to accommo.docx
This image appears when a project instruction has changed to accommo.docx
juan1826
 
Steps for q3 q4
Steps for q3 q4Steps for q3 q4
Steps for q3 q4
IIUM
 
Week 2 Project - STAT 3001Student Name Type your name here.docx
Week 2 Project - STAT 3001Student Name Type your name here.docxWeek 2 Project - STAT 3001Student Name Type your name here.docx
Week 2 Project - STAT 3001Student Name Type your name here.docx
cockekeshia
 
Excel 2011-cheat-sheet
Excel 2011-cheat-sheetExcel 2011-cheat-sheet
Excel 2011-cheat-sheet
SchoolVision Inc.
 
PAGE 1Using Microsoft Excel 2010 for Selected Tasks(Thr.docx
PAGE  1Using Microsoft Excel 2010 for Selected Tasks(Thr.docxPAGE  1Using Microsoft Excel 2010 for Selected Tasks(Thr.docx
PAGE 1Using Microsoft Excel 2010 for Selected Tasks(Thr.docx
alfred4lewis58146
 
Fill series. Data validation. Excel Tutorial
Fill series. Data validation. Excel TutorialFill series. Data validation. Excel Tutorial
Fill series. Data validation. Excel Tutorial
Ilgar Zarbaliyev
 
Pas wv18 spssv18-slides
Pas wv18 spssv18-slidesPas wv18 spssv18-slides
Pas wv18 spssv18-slides
bik erbrom
 
Copying Files Across Workbooks Lab 5, Step 1 A. Save al.docx
Copying Files Across Workbooks Lab 5, Step 1  A. Save al.docxCopying Files Across Workbooks Lab 5, Step 1  A. Save al.docx
Copying Files Across Workbooks Lab 5, Step 1 A. Save al.docx
maxinesmith73660
 
Microsoft Excel Tutorial
Microsoft Excel TutorialMicrosoft Excel Tutorial
Microsoft Excel Tutorial
Kristine Tiongco-Rimpa
 
Spreadsheets Introduction using RM Number Magic
Spreadsheets Introduction using RM Number MagicSpreadsheets Introduction using RM Number Magic
Spreadsheets Introduction using RM Number MagicMalcolm Wilson
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
AbramMartino96
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
AbramMartino96
 
Lesson 18 Creating Pivot Tables
Lesson 18 Creating Pivot TablesLesson 18 Creating Pivot Tables
Lesson 18 Creating Pivot Tablesguevarra_2000
 

Similar to Sampling (20)

(Manual spss)
(Manual spss)(Manual spss)
(Manual spss)
 
Libre Office Calc Lesson 5: Working with Data
Libre Office Calc Lesson 5: Working with DataLibre Office Calc Lesson 5: Working with Data
Libre Office Calc Lesson 5: Working with Data
 
SPSS PRESENTATION.PPT.pptx
SPSS PRESENTATION.PPT.pptxSPSS PRESENTATION.PPT.pptx
SPSS PRESENTATION.PPT.pptx
 
111249-140817070204-phpapp02.pdf
111249-140817070204-phpapp02.pdf111249-140817070204-phpapp02.pdf
111249-140817070204-phpapp02.pdf
 
Easy Pivot Tutorial June 2020
Easy Pivot Tutorial June 2020Easy Pivot Tutorial June 2020
Easy Pivot Tutorial June 2020
 
Spss notes
Spss notesSpss notes
Spss notes
 
SPSS How to use Spss software
SPSS How to use Spss softwareSPSS How to use Spss software
SPSS How to use Spss software
 
This image appears when a project instruction has changed to accommo.docx
This image appears when a project instruction has changed to accommo.docxThis image appears when a project instruction has changed to accommo.docx
This image appears when a project instruction has changed to accommo.docx
 
Steps for q3 q4
Steps for q3 q4Steps for q3 q4
Steps for q3 q4
 
Week 2 Project - STAT 3001Student Name Type your name here.docx
Week 2 Project - STAT 3001Student Name Type your name here.docxWeek 2 Project - STAT 3001Student Name Type your name here.docx
Week 2 Project - STAT 3001Student Name Type your name here.docx
 
Excel 2011-cheat-sheet
Excel 2011-cheat-sheetExcel 2011-cheat-sheet
Excel 2011-cheat-sheet
 
PAGE 1Using Microsoft Excel 2010 for Selected Tasks(Thr.docx
PAGE  1Using Microsoft Excel 2010 for Selected Tasks(Thr.docxPAGE  1Using Microsoft Excel 2010 for Selected Tasks(Thr.docx
PAGE 1Using Microsoft Excel 2010 for Selected Tasks(Thr.docx
 
Fill series. Data validation. Excel Tutorial
Fill series. Data validation. Excel TutorialFill series. Data validation. Excel Tutorial
Fill series. Data validation. Excel Tutorial
 
Pas wv18 spssv18-slides
Pas wv18 spssv18-slidesPas wv18 spssv18-slides
Pas wv18 spssv18-slides
 
Copying Files Across Workbooks Lab 5, Step 1 A. Save al.docx
Copying Files Across Workbooks Lab 5, Step 1  A. Save al.docxCopying Files Across Workbooks Lab 5, Step 1  A. Save al.docx
Copying Files Across Workbooks Lab 5, Step 1 A. Save al.docx
 
Microsoft Excel Tutorial
Microsoft Excel TutorialMicrosoft Excel Tutorial
Microsoft Excel Tutorial
 
Spreadsheets Introduction using RM Number Magic
Spreadsheets Introduction using RM Number MagicSpreadsheets Introduction using RM Number Magic
Spreadsheets Introduction using RM Number Magic
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
 
Lesson 18 Creating Pivot Tables
Lesson 18 Creating Pivot TablesLesson 18 Creating Pivot Tables
Lesson 18 Creating Pivot Tables
 

Recently uploaded

做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
axoqas
 
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Linda486226
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
MaleehaSheikh2
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
Opendatabay
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
NABLAS株式会社
 
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
correoyaya
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
ewymefz
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
ewymefz
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
ewymefz
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
TravisMalana
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Subhajit Sahu
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
vcaxypu
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
axoqas
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
ArpitMalhotra16
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
nscud
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
ewymefz
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
Oppotus
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
benishzehra469
 

Recently uploaded (20)

做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
 
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
 
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
 

Sampling

  • 2. An Introduction to the Sampling Interface Sampling interface is an interactive software package that uses statistical procedures such as random sampling, stratified random sampling, one-stage cluster sampling, two-stage cluster sampling and sampling with varying probability. In general, the software includes a sampling window. The sampling window consists of two tabs, Data Sheet view and Output view. File A new project is automatically created when the software is launched. You can also open a new project by clicking File> Add New Project. In general, use the File menu commands to manage projects. Open a previously saved project using the File>Open command. Click File>Open. Use the file browser to find the Sampling (*.sa) project file. By default, files that can be opened or translated by Sampling are displayed. Then, select the file you want to open and click Open. To save an existing, active project with a new name or to a new location: Click File>Save As. Use the file browser to find the directory where you want to save the file. Then, type the name of the file in the File name box and click Save. Use the File>Save command to save the active project. Display 1: File menu.
  • 3. Inserting Data The first step is to insert Data into the active project. To enter data right-click in the window and select Add new column then enter the name for column and press Space or Enter. After that, you can enter your data. Between data entry, you must press at least one Space or Enter. Note1: The columns can have the same name or even can be without a name. Note2: Some special characters such star, decimal point and minus sign cannot be used for the column name. To import datum several times, a panel on the left side of the Data Sheet tab can be used. The value should be entered in the Value box and the number of iterations should be entered in the Frequency box and then press Enter or Ok button. For example, in Display 2, two data with value 3 are added to the first column named "a". The size of writing is determined by the zoom box. The default size is two, the minimum and maximum allowed values are respectively one and ten. Display 2: Data Sheet tab. Edit Data In the Data Sheet tab, the data and the name of columns cannot be deleted or edited. However, these advantages can be done by clicking Edit>Edit Column. This opens the dialogue box shown in Display 3.
  • 4. Display 3: Edit column. Select the number of the column that you want to edit it by the Column Number box. You can change the Column’s Name in Column Name box. Also, you can edit or add data to the specified column in Data box. Finally, click Ok button and the contents of the selected column will be changed according to the edition. Moreover, the data can be inserted in the form of fraction or multiplication of two numbers without spaces in the Data box. For example, if you type 1/5 in the Data box, 0.2 will be displayed on the main datasheet tab. Recode into Different Column Click Edit>Recode into Different Column. This opens the dialogue box shown in Display 4. You can define values to recode in this dialog box. Select the number of the column by the Column box. You can specify a name for the new column in the Name box. In the Old Value panel, you can specify the type of value that you wish to recode (e.g., a specific Value, a Range of values, or All Other). All Other can be applied to any value that not explicitly accounted by the previous recoding rules and it should be applied at the end. In the New Value panel, you can specify the new value for column (i.e., a specific numeric code such as “2,” or copy old values). In the Old->New panel, click Add button to add the item. The recode that you have specified appears in Old->New box. If you need to remove one of the recodes that you have added to the Old->New box, simply click on it and then click the Remove button. When you have finished defining the conditions, click Ok button.
  • 5. Display 4: Recode into Different Column. Random Sampling Click Analyze>Random Sampling. The Random Sampling dialog box is displayed. This dialogue box is shown in Display 5. Select the columns under the headings Column(s). If your sample brings with the replacement you should check Sampling with replacement box in this window and you can determine the size of your statistical society in the N box. The sample size estimation output is controlled via the Estimation n button (Display 6). The sample size can be determined to estimate either population mean or population proportion. The Proportion option is used when the data of the selected column are 0 and 1. To obtain an estimator p having probability at least 1 – α of being no farther than d from the population proportion, the sample size formula based on the normal approximation gives: Pr(|p-P|<d) =1- α ) + p(1 − p)]2 /z2 n = Np(1 − p)/[ (N − 1)(d In the Mean option, you can specify confidence interval in the 2*l box for sample size estimation. In this procedure the sample mean y is an unbiased estimator of the population mean μ with variance var( y ) = (N − n) 2  /Nn. Setting: 2 × 𝑠 × 𝑧√ 𝑁−𝑛 𝑛𝑁 = 2 × 𝑙 and solving for n gives the necessary sample size:
  • 6. 2 2 2 0 1 1 1 1 1 n d z N n N     Where 2 2 0 2 z n d   . If instead of confidence interval 2*l, you select an amount in r box for relative error (the difference between the estimate and the true value, divided by the true value) the criterion to be met is: Pr(| (𝑌̅𝑛−𝑌̅ 𝑁) 𝑌̅ 𝑁 |>r) = α and the sample size formula is: 2 2 2 2 1 1 n r z N    Display 5: Random Sampling.
  • 7. Display 6: Estimate n. An output of a command Random Sampling Display 7 shows the Random Sampling Output, you can see, for example, the mean of the sample in line 1, the variance of mean in line 2, the confidence interval in line 3, the sample size in line 4 and the estimation of sample size according to the confidence interval option in line 5. Display 7: Output of Random Sampling.
  • 8. Stratified Random Sampling To select Stratified Random Sampling click Analyze>Stratified Random Sampling. Display 8 shows the Stratified Random Sampling dialogue box. A source columns list is a list of columns from the data sheet that can be used in the requested analysis. Each column is considered as one Stratum. You can specify the columns under the headings Stratums. Note you should have more than one Stratum. If sampling is proportional allocation , you should check the Proportional Allocation box. Then the box N appears above the check box. The size of the statistical society should be specified in this box. Display 8: Stratified Random Sampling. If the sampling is not proportional allocation, after specifying the columns under the headings Stratums, by double-clicking on the Stratums list, the window will become as shown in Display 9. h hn N n N 
  • 9. Display 9: Stratified Random Sampling after double-click. You should specify the size of statistical society for each stratum and then press Enter or click Ok button. Finally, click Continue button. Display 10: Optimum Allocation.
  • 10. The Optimum Allocation output is controlled via the Optimum Allocation button (Display 10). You must specify cost sampling unit for each Stratum and then press Enter or click Ok button. If the cost of sampling unit for each Stratum is unique, you should check NEYMAN Allocation and specify an amount of cost. If an amount of variance is specified, you should select the Variance confirm box and specify the amount of variance. If an amount of total cost is specified, you should select the Cost confirm box and specify the amount of cost. One Stage Cluster Sampling To select the one-stage cluster sampling click Analyze>One Stage Cluster Sampling. Display 11 shows the One Stage Cluster Sampling dialogue box. Display 11: One Stage Cluster Sampling. A source columns list is a list of columns from the Data sheet that can be used in the requested analysis. Each column is considered as one Cluster. Total number of clusters should be determined by the N box and the mean size of clusters should be determined by the M box. Then click Ok button. Two Stage Cluster Sampling The two-stage cluster sampling procedure can be accessed by selecting Analyze >Two Stage Cluster Sampling. Display 12 shows the Two Stage Cluster Sampling dialogue box.
  • 11. Display 12: Two Stage Cluster Sampling. A source columns list is a list of columns from the Data sheet that can be used in the requested analysis. Each column is considered as one Cluster. Total number of Clusters should be determined by the N box and the mean size of Clusters should be determined by the M box. If clusters have the same size, you should check Cluster of Equal Sizes. Otherwise, by double-clicking on the Cluster, the dialog box will become as shown in Display 13.
  • 12. Display 13: Two Stage Cluster Sampling after double-click. You should specify the size of statistical society for each cluster and then press Enter or click Ok button. Then click Continue. Sampling with Varying Probability You can proceed to apply the probability sampling with varying by clicking Analyze>Sampling with Varying Probability. Display 14 shows the Sampling with varying probability dialogue box.
  • 13. Display 14: Sampling with Varying Probability. Specify the data columns and the probability of data columns under the headings Column(s) and probability(s) respectively. Note that the displacement in the columns in the probability(s) or Column(s) boxes may change the correspondence of the data to their probability value. If your sample brings without replacement you should check the Sampling without replacement box and you should determine the size of your statistical society in the N box.