Project

General

Profile

Support #1484

Covid-19 Survey Wave e weights

Added by JINGYA ZENG about 3 years ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Start date:
01/19/2021
% Done:

100%


Description

Hi,

I would like to explore the relationship between internet use (ce_netpusenew) and mental health status (ce_scghq1_dv) using the data of wave e of covid-19 survey. The regression is carried out in Stata version 16 using the svy commands and survey weights. I use the following command:

  • replace ce_scghq1_dv=. if ce_scghq1_dv<0
  • replace ce_netpusenew=. if ce_netpusenew<0
  • svyset psu [pweight=ce_betaindin_xw], strata(strata) singleunit(centered)
  • svy: reg ce_scghq1_dv i.ce_netpusenew

The question is that the population size (10,198) is smaller than the number of observations (12,391)

I am wondering if I did something wrong. I assume that population size should be bigger than the number of observations.

Thanks for your help and looking forward to your reply.

Best wishes,
Jingya


Files

Results.png (92.8 KB) Results.png JINGYA ZENG, 01/20/2021 03:58 PM

Also available in: Atom PDF