{
  "hash": "c075302b32a1e42a320446f66a605e9c",
  "result": {
    "engine": "jupyter",
    "markdown": "---\ntitle: \"Quarto and PyFixest\"\njupyter: python3\nformat:\n  pdf:\n    number-sections: true\n    include-in-header:\n      - text: |\n          \\usepackage{booktabs}\n          \\usepackage{makecell}\n          \\usepackage{threeparttable}\nexecute:\n  echo: false\n  warning: false\nauthor:\n- Peter Pan^[University of Neverland]\ndate: last-modified\nabstract: |\n \\\n \\\n  We study the effect of X1 and X2 on Y and Y2 using PyFixest. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.\n \\\n \\\n **Keywords**: Regressions, PyFixest, Tables, Quarto\n---\n\n{{< pagebreak >}}\n\n\n# Introduction\n\nLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.\"\n\n\n\n# A PyFixest Regression Table\nAs @tbl-main shows, LaTex Tables generated by PyFixest can be easily integrated into Quarto document when rendered as pdf.\n\n::: {#tbl-main .cell tbl-pos='H' tbl-cap='A PyFixest Regression Table' execution_count=2}\n\\renewcommand\\cellalign{t}\n\\begin{threeparttable}\n\\begin{tabular}{lccccc}\n\\toprule\n & \\multicolumn{2}{c}{Wage} & \\multicolumn{2}{c}{Wealth} \\\\\n\\cmidrule(lr){2-3} \\cmidrule(lr){4-5} \n & US & China & US & China \\\\\n & (1) & (2) & (3) & (4) \\\\\n\\midrule\n\\addlinespace\nAge & \\makecell{-0.950*** \\\\ (0.067)} & \\makecell{-0.924*** \\\\ (0.061)} & \\makecell{-1.267*** \\\\ (0.174)} & \\makecell{-1.232*** \\\\ (0.192)} \\\\\nYears of Schooling & \\makecell{-0.174*** \\\\ (0.018)} & \\makecell{-0.174*** \\\\ (0.015)} & \\makecell{-0.131** \\\\ (0.042)} & \\makecell{-0.118** \\\\ (0.042)} \\\\\n\\midrule\n\\addlinespace\nIndustry & x & x & x & x \\\\\nYear & - & x & - & x \\\\\n\\midrule\n\\addlinespace\nObservations & 997 & 997 & 998 & 998 \\\\\nS.E. type & by: f1 & by: f1 & by: f1 & by: f1 \\\\\n$R^2$ & 0.489 & 0.659 & 0.120 & 0.172 \\\\\n\\bottomrule\n\\end{tabular}\n\\footnotesize Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.\n\\end{threeparttable}\n:::\n\n\n",
    "supporting": [
      "QuartoExample_files"
    ],
    "filters": []
  }
}