# Sampling weight when using regression or descriptive statistics

I came across sampling weight when I was looking into analyzing survey data.

I was wondering whether we need to take into consideration sampling weight when we are running linear/non-linear regression model or descriptive statistics.

-

Complex answer: How we do this will depend on the nature of your sampling scheme. In SAS see the PROC SURVEY... procedures (there are several, all starting with "survey"). In R, see, e.g. the survey package. For texts, see, e.g.

Thompson, S.K. (2012). Sampling (3rd ed.), Wiley.

-
Thanks a lot Peter! –  Metrics Oct 24 '12 at 15:03