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"}
]
formula
A R-style formula for regression given as a stringfamily
Eitherbinomial
for logistic regression orgaussian
for OLSclustered_rse
Columns that should be clustered for robust standard error.
The format of the parameter is a comma delimited string"column1,column2"
matrix.csv
The full matrix with both endogenous and exogenous variablesfeatures.txt
A 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