Skip to content

Commit

Permalink
patch ESS dataset (Israeli design weights)
Browse files Browse the repository at this point in the history
  • Loading branch information
briatte committed Sep 1, 2013
1 parent 19cbfef commit 0ad852a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion course/guide/1C_course.tex
Expand Up @@ -365,7 +365,9 @@ \subsection{Course datasets}
\end{docspec}

See the \ESS weighting guide for details on using additional population weights to use a sample that representative of the European population.%
\footnote{\url{http://ess.nsd.uib.no/ess/doc/weighting.pdf}}
\footnote{\url{http://ess.nsd.uib.no/ess/doc/weighting.pdf}} %
You might also want to take a look at Matthias Ganniger's training module on weigthing the \ESS, which is an excellent five-chapter introduction to the topic.%
\footnote{\url{http://essedunet.nsd.uib.no/cms/topics/weight/}}

The datasets for both rounds were downloaded from the ESS data server,%
\footnote{\url{http://nesstar.ess.nsd.uib.no/}} %
Expand Down
6 changes: 6 additions & 0 deletions setup/srqm_data.ado
Expand Up @@ -32,6 +32,12 @@ if inlist("`1'", "all", "ess0810") {
// Zero-match merge (non-longitudinal survey).
merge 1:1 idno cntry edition using "`src'/ESS/ESS5e03.0/ESS5e03.0_F1.dta", nogen

// Merge N = 4,784 corrected Israeli weights.
merge 1:1 essround cntry idno using "`src'/ESS/IL_DWEIGHT/dweight_corrected.dta", nogen

replace dweight = dweight_corrected if !mi(dweight_corrected)
drop dweight_corrected

// Trim (this threshold drops nation-specific questions).
srqm_datatrim, k(9)

Expand Down

0 comments on commit 0ad852a

Please sign in to comment.