Skip to content

Commit

Permalink
for preprint update #1
Browse files Browse the repository at this point in the history
  • Loading branch information
gtuckerkellogg committed Oct 27, 2023
1 parent 600706b commit 082bd50
Show file tree
Hide file tree
Showing 23 changed files with 1,217 additions and 691 deletions.
3 changes: 0 additions & 3 deletions .gitignore

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Expand Up @@ -16,4 +16,5 @@
- Figure 2 can be generated by running `src/immortal_time_bias-KC22.R`
- Table 2 can be generated by running `src/table_2.R`.
- Table 3 can be generated by running `src/table_3.R`.
- Figure 3 can be generated by running `src/immortal_time_bias0-KB22.R`
- Table 4 (the main result) and all supplemental tables can be generated by running `src/main_and_supplemental_tables.R`.
Binary file modified results/early_infections.pdf
Binary file not shown.
10 changes: 5 additions & 5 deletions results/early_infections.tex
@@ -1,15 +1,15 @@
\setlength{\LTpost}{0mm}
\begin{longtable}{lccc}
\toprule
& \textbf{non-user}, N = 70\textsuperscript{1} & \textbf{user}, N = 68\textsuperscript{1} & \textbf{p-value}\textsuperscript{2} \\
& \textbf{non-user}, N = 98\textsuperscript{\textit{1}} & \textbf{user}, N = 80\textsuperscript{\textit{1}} & \textbf{p-value}\textsuperscript{\textit{2}} \\
\midrule
All Brazilian Health Ministry-mapped individuals & & & <0.001 \\
    Covid onset on or after 7 July 2020 & 41 (59\%) & 62 (91\%) & \\
    Covid onset before 7 July 2020 & 29 (41\%) & 6 (8.8\%) & \\
    Covid onset on or after 7 July 2020 & 59 (60\%) & 75 (94\%) & \\
    Covid onset before 7 July 2020 & 39 (40\%) & 5 (6.3\%) & \\
\bottomrule
\end{longtable}
\begin{minipage}{\linewidth}
\textsuperscript{1}n (\%)\\
\textsuperscript{2}Fisher\textquotesingle{}s exact test\\
\textsuperscript{\textit{1}}n (\%)\\
\textsuperscript{\textit{2}}Fisher's exact test\\
\end{minipage}

16 changes: 8 additions & 8 deletions results/early_infections_deaths.tex
@@ -1,23 +1,23 @@
\setlength{\LTpost}{0mm}
\begin{longtable}{lccc}
\toprule
& \textbf{non-user}\textsuperscript{1} & \textbf{user}\textsuperscript{1} & \textbf{p-value}\textsuperscript{2} \\
& \textbf{non-user}\textsuperscript{\textit{1}} & \textbf{user}\textsuperscript{\textit{1}} & \textbf{p-value}\textsuperscript{\textit{2}} \\
\midrule
\multicolumn{4}{l}{Alive} \\
\midrule
& & & 0.092 \\
    Covid onset on or after 7 July 2020 & 13 (62\%) & 24 (86\%) & \\
    Covid onset before 7 July 2020 & 8 (38\%) & 4 (14\%) & \\
& & & 0.088 \\
    Covid onset on or after 7 July 2020 & 13 (62\%) & 19 (86\%) & \\
    Covid onset before 7 July 2020 & 8 (38\%) & 3 (14\%) & \\
\midrule
\multicolumn{4}{l}{Dead} \\
\midrule
& & & <0.001 \\
    Covid onset on or after 7 July 2020 & 28 (57\%) & 38 (95\%) & \\
    Covid onset before 7 July 2020 & 21 (43\%) & 2 (5.0\%) & \\
    Covid onset on or after 7 July 2020 & 46 (60\%) & 56 (97\%) & \\
    Covid onset before 7 July 2020 & 31 (40\%) & 2 (3.4\%) & \\
\bottomrule
\end{longtable}
\begin{minipage}{\linewidth}
\textsuperscript{1}n (\%)\\
\textsuperscript{2}Fisher\textquotesingle{}s exact test\\
\textsuperscript{\textit{1}}n (\%)\\
\textsuperscript{\textit{2}}Fisher's exact test\\
\end{minipage}

0 comments on commit 082bd50

Please sign in to comment.