Template input code class Template1Lev(Template): invars = y = DataVector( response: ) D = Text( specify distribution: , [ Normal , Binomial , Poisson ]) if D.name == Binomial : n = DataVector( denominator: ) link = Text( specify link function: , [ logit , probit , cloglog ]) if D.name == Poisson : link = Text(value = ln ) offset = Text( Is there an offset: , [ yes , no ]) if offset.name == yes : n = DataVector( offset: ) if D.name == Normal : tau = ParamScalar() sigma = ParamScalar() x = DataMatrix( explanatory variables: ) beta = ParamVector() beta.ncols = len(x.name) This code matches with the inputs in the web interface
{}