pip install git+https://github.com/Bedrock-py/opal-analytics-logit2.git
self.parameters_spec = [
{ "name" : "Regression Formula", "attrname" : "formula", "value" : "", "type" : "input" },
{ "name" : "GLM family", "attrname" : "family", "value" : "binomial", "type" : "input" },
{ "name" : "Clustered Error Covariates", "attrname" : "clustered_rse" , "value" : "", "type" : "input"}
]
formulaA R-style formula for regression given as a stringfamilyEitherbinomialfor logistic regression orgaussianfor OLSclustered_rseColumns that should be clustered for robust standard error.
The format of the parameter is a comma delimited string"column1,column2"
matrix.csvThe full matrix with both endogenous and exogenous variablesfeatures.txtA list of column names for the matrix (one name per row)
matrix.csv The coefficient table output from the GLM model
summary.csv Summary metrics for the model fit