{smcl}
{* version 01.0.0 10apr2025 Hans Gerhardt and Anneke Kappes}{...}
{hi:kldb10_3plus5_to_bas25()} {hline 2} Translate 3plus5-digit KldB-2010 to 2-digit KldB-2010 codes

{title:Syntax}

        {cmd:kldb10_3plus5_to_bas25(}{varname}{cmd:)}

{pstd}
    where {it:varname} contains 3plus5-digit KldB-2010 codes.

{title:Description}

{hi:kldb10_3plus5_to_bas25()} {hline 2} Translate 3plus5-digit KldB-2010 to BAS-2|5 scores.

{title:Syntax}

        {cmd:kldb10_3plus5_to_bas25(}{varname}{cmd:)}

{pstd}
    where {it:varname} contains 3plus5-digit KldB-2010 codes.

{title:Description}

{pstd}
    {helpb kldbrecode} table translating KldB-2010 occupational groups (3 digits) combined with the skill level (5th-digit) to BAS-3 occupational prestige scores
    using {helpb crosswalk}.

    3plus5-digit KldB-2010 codes could also be translated to BAS-3 occupational prestige scores via {helpb _cwfcn_kldb10_3plus5_to_bas3:kldb10_3plus5_to_bas3()}. 

{pstd}
    Ebner and Rohrbach-Schmidt provide two versions of the occupational prestige scores. 
    V1 is estimated on the basis of the simple mean prestige ratings.
    V2 is estimated on the basis of a cross-classified multi-level regression model controlling for rater characteristics.
    The version to be matched can be specified via the {help crosswalk##case:{it:case argument}}. 
    To generate V2 scores, which are listed in the second column, specify
    {p_end}

        {cmd:kldb10_3plus5_to_bas25(}{varname} 2{cmd:)}.

{title:Reference}

{pstd}
    Ebner, C. and Rohrbach-Schmidt, D. 2021. 
    Das gesellschaftliche Ansehen von Berufen. Konstruktion einer neuen 
    beruflichen Ansehensskala und empirische Befunde für Deutschland
    [The Social Prestige of Occupations. Construction of a New 
    Occupational Prestige Scale and Empirical Results for Germany]. 
    Zeitschrift für Soziologie, 50(6), 349-372.
    DOI: {browse "https://doi.org/10.1515/zfsoz-2021-0026":10.1515/zfsoz-2021-0026}.
    {p_end}

{title:Source}

{pstd}
    {cmd:kldb10_3plus5_to_bas25()} is implemented as a wrapper for 
    {helpb _cwfcn_kldb10_3plus5_to_kldb10_2plus5:kldb10_3plus5_to_kldb10_2plus5()} followed by
    {helpb _cwfcn_kldb10_2plus5_to_bas25:kldb10_2plus5_to_bas25()}.
    {p_end}
    
{hline}
{asis}
.kldb10_3plus5_to_kldb10_2plus5
.kldb10_2plus5_to_bas25