Hi everyone, I have dataset on enterprises which are categorized by sectors and regions. I wanted to draw a stratified sample (sectors, regions) from this dataset. I have tried -gsample command, but the problem I am encountering is as follows. Is there a command in Stata where I can specify the margin of error (%) while drawing the stratified sampling? If there any, can someone share the examples how it can be done. Many thanks for response.
Related Posts with Drawing a sample from dataset.
Extracting hour dummies from datetime variableDear Statalisters, I am working with a panel data that includes a datime variable (Cdayhour, ex: 21f…
extracting a period of timeHello STATLIST, I'm trying to extract a time period to do my analysis, I used the following code, b…
Generate dataset for simulation (non-i.i.d panel data)Hello everyone, Hope you all are well and keeping safe. I have a question for the community here a…
r2 equals 0.00011 …
Pooled panled portfolio regressionDear Statalists, currently I am struggling with the outputs of my pooled portfolio regression. I ha…
Subscribe to:
Post Comments (Atom)
0 Response to Drawing a sample from dataset.
Post a Comment