This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import statsmodels.api as sm | |
import numpy as np | |
from patsy import dmatrices | |
def log_regression(a,b,c,d): | |
"""Calculate VE and CI's according | |
https://timeseriesreasoning.com/contents/estimation-of-vaccine-efficacy-using-logistic-regression/ |
NewerOlder