Commit 7aa13555 authored by Knut Wenzig's avatar Knut Wenzig
Browse files

init

parents
\documentclass{scrartcl}
\usepackage[a4paper, top=2.5cm, bottom=3cm]{geometry}
\usepackage{microtype}
\usepackage{scrpage2}
\setcounter{secnumdepth}{1}
\usepackage{xkeyval} % http://www.unknownerror.org/Problem/index/532828491/xelatex-stopped-working-after-texlive2011-update-2-days-ago/
\usepackage{polyglossia}
\setdefaultlanguage[variant=usmax]{english}
\setdefaultlanguage[spelling=new]{german}
\usepackage{xltxtra}
% Das Paket xltxtra xltxtra [12] enthält eigentlich alle nötigen Pakete und Definitionen für einen guten Start mit XeLATEX: Es lädt u. a. die Pakete fontspec, xunicode, ifxetex und graphicx. Es definiert die Befehle \XeTeX (X TEX) und \XeLaTeX (X LATEX). Außerdem enthält es noch diverse sinnvolle Anpassungen. http://www.dante.de/DTK/Ausgaben/2008-3.pdf
\usepackage[colorlinks=true,pdfpagelabels,pdfstartview=Fit,bookmarks, bookmarksopen=true,bookmarksnumbered=true,pdfpagelayout=SinglePage,linkcolor=DIWgruen, urlcolor=black,plainpages=false,hypertexnames=false,citecolor=black]{hyperref}
\usepackage{bookmark}
\defaultfontfeatures{Mapping=tex-text} % http://www.mrunix.de/forums/showpost.php?p=291333&postcount=9
\setromanfont{Constantia}
\setsansfont{Calibri}
\usepackage{pbox}
\usepackage{xcolor}
\usepackage{colortbl}
\definecolor{DIWgruen}{cmyk}{1,0.2,0.55,0}
\definecolor{DIWhellgrau}{cmyk}{0.12,0,0,0.17}
\usepackage{xspace}
\usepackage{graphicx}
\makeatletter
\newcommand\need[1]{\par \penalty-100 \begingroup
\dimen@\pagegoal \advance\dimen@-\pagetotal
\advance\dimen@-1.1in
\ifdim #1>\dimen@
\ifdim\dimen@>\z@ \vskip -\pagedepth plus 1fil \fi
\break
\fi \endgroup}
\makeatother
\newlength\needintro
\setlength\needintro{3cm}
% https://groups.google.com/d/msg/comp.text.tex/VQqJdOKUTjk/rJByunvW23IJ
\usepackage{array,ragged2e,varwidth,booktabs}
\newcolumntype{C}[1]{>{\hspace{0pt}\Centering}b{#1}}
\newcolumntype{M}{>{\begin{varwidth}{13cm}}l<{\end{varwidth}}} %M is for Maximal column
% http://tex.stackexchange.com/questions/4709/how-do-i-set-a-maximum-column-width
\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}X}
% http://texwelt.de/wissen/fragen/1805/ist-es-moglich-x-spalten-in-tabellen-linksbundig-auszurichten
\newcolumntype{V}[1]{>{\raggedright\hspace{0pt}}p{#1}}
\newcolumntype{N}[1]{>{\hspace{0pt}\RaggedRight}p{#1}}
% Eingangsfilter
\newcommand{\efilt}[1]{\par\footnotesize\textcolor{DIWhellgrau}{\textsf{#1}}\par\normalsize}
% Fragenummer
\newcommand{\fnr}[1]{\par\fcolorbox{white}{DIWgruen}{\textcolor{white}{\textsf{\textbf{#1}}}}}
% Fragetext
\newcommand{\ftx}[1]{\textcolor{black}{\textrm{\textbf{#1}}}\par}
% Intervieweranweisung
\newcommand{\itx}[1]{\par\textcolor{DIWgruen}{\textrm{\textit{#1}}}\par}
% Quelle der Frage
\newcommand{\qsrce}[1]{\textcolor{DIWhellgrau}{\textrm{\textit{#1}}}\par}
\newcommand{\ruleopen}{\par\textcolor{DIWhellgrau}{\rule{0.25\textwidth}{1em}}\par}
\newcommand{\ruleopenshort}{\par\textcolor{DIWhellgrau}{\rule{0.1\textwidth}{1em}}\par}
% Variablenfrage
\newcommand{\vtx}[1]{\par\footnotesize\textcolor{DIWgruen}{\textsf{#1}}\par\normalsize}
% Ausgangsfilter
\newcommand{\goto}[1]{\par\footnotesize\textcolor{DIWhellgrau}{\textsf{#1}}\par\normalsize}
%\newcommand{\fextro}{\vspace{0.5cm}}
\newcommand{\fextro}{\bigskip}
%\newcommand{\wbox}[1]{\raisebox{-0.17em}{\scalebox{1.5}{\textcolor{DIWhellgrau}{$\square$}}}\hspace{-0.83em}\textsf{#1}}
\newcommand{\wbox}[1]{\colorbox{DIWhellgrau}{\makebox[3mm][c]{\textsf{#1}}}}
\newcommand{\varcol}[2]{\multicolumn{1}{@{}C{0.7\textwidth/#1}@{}}{\footnotesize#2}}
\newenvironment{vartab}{\par\small\sffamily\color{DIWgruen}\tabularx}{\endtabularx}
\setlength{\parindent}{0em}
\usepackage{tabularx}
\usepackage{longtable}
\usepackage{tabu}
\arrayrulecolor{DIWgruen}
\usepackage{sectsty}
\subsectionfont{ \color{DIWgruen}\sectionrule{0pt}{0pt}{-5pt}{0.8pt} }
% - See more at: http://www.howtotex.com/packages/horizontal-rule-under-section-titles/#sthash.6KtXjmSK.dpuf
\newcommand{\varsubsection}[2]{\subsection[{#1 -- #2}]{#1\color{black}\normalfont{ -- #2}\color{DIWgruen}}}
\begin{document}
\pagestyle{scrheadings}
\ofoot{\pagemark}
\cfoot[]{}
\include{titlegen}
\tableofcontents
\include{codebookgen}
\end{document}
\section{Introduction to file filename}
In wave BA (2010) a new instrument was introduced within the household questionnaire regarding
children up to age 16: How much do the above mentioned school, care and activities cost
you? Parents indicate average monthly cost of their children regarding school, care, and (leisure)
activities, e.g., early music education ,sports, etc.. Since the questions regarding \\activities" are
surveyed every two years, the costs are also only available every other year. Description of variables
KC AMTP and KC COST can be found in Section 6: Variables describing carer outside the
household. These variables are not available in IS11 and IS12.
\section{Basic demographics (var names starting with K\_)}
In wave BA (2010) a new instrument was introduced within the household questionnaire regarding
children up to age 16: How much do the above mentioned school, care and activities cost
you? Parents indicate average monthly cost of their children regarding school, care, and (leisure)
activities, e.g., early music education ,sports, etc.. Since the questions regarding activities" are
surveyed every two years, the costs are also only available every other year. Description of variables
KC AMTP and KC COST can be found in Section 6: Variables describing carer outside the
household. These variables are not available in IS11 and IS12.
\varsubsection{cid}{Case-ID Original Household Number}
%\hypertarget{is-pgen:cid}{}
%\begin{tabularx}{\linewidth}{@{}l X}
%\textbf{cid} & Case-ID, Original Household Number\\\bottomrule
%\end{tabularx}
\vspace{1.5em}
\varsubsection{pgerwtyp}{Type of occupation}
\fnr{?} Do you know what's your type of occupation? Do you kno what your of? \qsrce{(from: soep-is/\allowbreak soep-is-2012-haupt/\allowbreak Q123;awoch)}
\begin{longtable}[l]{rMr}
\textnormal{1} & \textnormal{not employed} & \textnormal{12}\\
\textnormal{2} & \textnormal{not employed (first-time respondent} & \textnormal{123}\\
\textnormal{3} & \textnormal{employed (first-time respondent)} & \textnormal{}\\
\textnormal{4} & \textnormal{employed, no change} & \textnormal{}\\
\textnormal{5} & \textnormal{employed, no info if change} & \textnormal{}\\
\textnormal{6} & \textnormal{employed, with change or first time employed} & \textnormal{}\\
\textnormal{7} & \textnormal{employed, in part-time work with approaching retirement} & \textnormal{}\\
\textit{-1} & \textit{no answer} & \textit{12345}\\
\end{longtable}
\includegraphics[width=\textwidth]{//hume/soep-data/METADATA/SOEP-LONG/ddionrails/v30/gfx_en/hgen/hgahinc}
\begin{longtable}[l]{lN{13cm}}
Sample E & 1998--2012\\
Sample I & 2009--2012\\
Sample S1 & 2012--2012\\
\end{longtable}
This variable is generated from the question on whether a respondent has changed jobs since the beginning of the previous year, which is a central filter This variable is generated from the question on whether a respondent has changed jobs since the beginning of the previous year, which is a central filter variable in the questionnaire.
Not all employed persons are asked the relevant input questions on an annual basis. Only those employed persons who changed jobs and first-time respondents were asked to provide up-to-date information.
An alternative variable is PGJOBCH (see below), which is an improved version of PGERWTYP, as it is generated in a longitudinally consistent way and contains an additional category for first-time employed persons.
\textit{Helberger, Christof (1988): Eine Überprüfung der Linearitätsannahme der Humankapitaltheorie. In: H.-J. Bodenhöfer (ed.): Bildung, Beruf, Arbeitsmarkt, pp. 151-170, Berlin.}
\textit{Schwarze, Johannes (1991): Ausbildung und Einkommen von Männern - Einkommensfunktionsschätzungen für die ehemalige DDR und die Bundesrepublik Deutschland. In: Mitteilungen aus der Arbeitsmarkt- und Berufsforschung, (24), pp. 63-69.}
\end{document}
\begin{longtable}[l]{rN{13cm}}
\hyperlink{is-pgen:cid}{cid} & Case-ID, Original Household Number\\
\hyperlink{is-pgen:pgerwtyp}{pgerwtyp} & Type of occupation\\
\end{longtable}
\newpag
\vspace{1.5em}
\hypertarget{dataset:variable2}{}
\begin{tabularx}{\linewidth}{@{}l X}
\textbf{variable2} & Variablelabel\\\bottomrule
\end{tabularx}
\begin{longtable}[l]{rMr}
\textnormal{1} & \textnormal{ja} & \textnormal{10670}\\
\textnormal{2} & \textnormal{nein} & \textnormal{962}\\
\textit{-55} & \textit{nicht ermittelbar} & \textit{300}\\
\end{longtable}
\vspace{1.5em}
\end{document}
\begin{tabularx}{\linewidth}{@{}X*{2}{@{}c@{}}}
& \varcol{2}{ganz und} & \varcol{2}{1} \\
mit Ihrer Gesundheit? & \wbox{1} & \wbox{2}\\
\end{tabularx}
\begin{tabularx}{\linewidth}{@{}X*{2}{@{}c@{}}}
& \varcol{2}{ganz und} & \varcol{2}{1} \\
mit Ihrer Gesundheit? & \wbox{1} & \wbox{2}\\
\end{tabularx}
\strut Text \raisebox{0.5em}{\colorbox{DIWhellgrau}{\makebox[20mm][c]{\footnotesize\strut}}} Text
\strut Text \raisebox{0.5em}{\colorbox{DIWhellgrau}{\makebox[20mm][c]{\footnotesize\strut}}} Text
Text \colorbox{DIWhellgrau}{\makebox[10mm]{\,}} Text
Text \raisebox{1mm}{\colorbox{DIWhellgrau}{\hspace{1cm}}} Text
\strut\raisebox{1mm}{\colorbox{DIWhellgrau}{\hspace{1cm}}}
Questionnaire: soep-is-2011 (soep-is-2011, 79)
\par\fextro
\fnr{Q1} \ftx{Neu zu befragende Person (Vorfilter zur Steuerung der Lebenslauffragen)}
\begin{tabular}{@{} l c }
yes & \ruleopenshort\\
no & \ruleopenshort\\
\end{tabular}
\fextro
\fnr{Q2} \ftx{First name of respondent}
\ruleopen
\vtx{\textbf{Dataset} XXX (XXX) with Variables XXX (XXX)}
\fextro
\efilt{ASK ONLY IF Q4705 | ZNETTOX4=2}
\fnr{Q3} \ftx{Bitte machen Sie folgende Angaben zur Zielperson:}
\itx{Bitte geben Sie den monatlichen Netto-Betrag an, also nach Abzug von Steuern und Sozialabgaben. Regelmäßige
Zahlungen wie Renten, Wohngeld, Kindergeld, BAföG, Unterhaltszahlungen usw. rechnen Sie bitte dazu!
Falls nicht genau bekannt: Bitte schätzen Sie den monatlichen Betrag}
\begin{tabular}{@{} l c }
männlich & \wbox{1}\\
weiblich & \wbox{2}\\
Keine Angabe & \wbox{-9}\\
\end{tabular}
\vtx{\textbf{Dataset} h\_11 (Household 2011) with Variables ishh01 (Color Television In HH), ishh02 (Telephone In HH), ishh03 (Internet Connection in HH), ishh04 (Car In HH), ishh05 (HH Building In Good Condition), ishh06 (HH Located In Good Neighborhood), ishh07 (Able To Put Money Away For Emergencies), ishh08 (Vacation Of At Least One Week Per Year), ishh09 (Invite Friends For Dinner Once A Month), ishh10 (Eat Meat, Poultry Or Fish Every Other Day), ishh11 (Usable Old Furniture In HH Replaced) -- \textbf{Dataset} XXX (bla blubb) with Variables XXX (label)}
\goto{*IF [Q4000,2] *GOTO 6000}
\fextro
\newpage
\efilt{ASK ONLY IF Q4705 | ZNETTOX4=2}
\par\fnr{Q1701} \ftx{Which of the following applies to you?}
\begin{tabularx}{\linewidth}{@{}Xcc}
& yes & no\\
The household has a telephone & \wbox{1} & \wbox{2}\\
The household has an internet access & \wbox{1} & \wbox{2}\\
The household has a car & \wbox{1} & \wbox{2}\\
The flat is located in a building which is in good condition & \wbox{1} & \wbox{2}\\
The building is located in a good neighborhood & \wbox{1} & \wbox{2}\\
I have put some money aside for emergencies & \wbox{1} & \wbox{2}\\
I take a vacation away from home for at least one week every year I take a vacation away from home for at least one week every year & \wbox{1} & \wbox{2}\\
I invite friends over for dinner at least once a month & \wbox{1} & \wbox{2}\\
I eat a hot meal with meat, fish, or poultry at least every other day & \wbox{1} & \wbox{2}\\
Furniture which is worn out but can still be & \wbox{1} & \wbox{2}\\
\end{tabularx}
\begin{vartab}{\linewidth}{@{}*{2}{l}*{2}{L}l@{}}
hgen & qwerqwert & label of variable qwertt & ASK ONLY IF Q12 : HWOHN09 = 4,5,6,7 & Q12345\\
hgen & asdfghj & label of variable asdfghj & ASK ONLY IF Q8 : HVJ=2,9 & \\
\end{vartab}
\goto{*IF [Q4000,2] *GOTO 6000}
\fextro
\end{document}
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment