Procházet zdrojové kódy

Adding param CI in logit reg

Martin Horvat před 6 měsíci
rodič
revize
e4878dbb39

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 252 - 193
python/logistic/logit_reg_fit_gen.ipynb


+ 6 - 2
python/logistic/logit_utils_gen.py

@@ -12,7 +12,7 @@
         
         
         beta(pars) = [beta(pars)_j]_{j=0}^degree
         beta(pars) = [beta(pars)_j]_{j=0}^degree
     
     
-    where pars are regression parameters, len(pars) = degree + 1.
+    where pars are regression parameters and len(pars) = degree + 1.
     
     
     Coefficients beta(pars) can be constrained to be monotonic 
     Coefficients beta(pars) can be constrained to be monotonic 
     function of x by using monotonic cubic transformation:
     function of x by using monotonic cubic transformation:
@@ -29,10 +29,14 @@
     
     
         s(y) = 2*y - 1
         s(y) = 2*y - 1
     
     
-    with x in R and y in {0,1}. For degree = 1 this is standard logistic regression
+    with x in R and y in {0,1}. For degree = 1 this is standard logistic regression 
     
     
         beta(pars) = (pars[0], pars[1]). 
         beta(pars) = (pars[0], pars[1]). 
     
     
+    and generally without monotonicity condition
+
+        beta(pars) = [pars_i]_{i=0}^degree
+
     For degree = 3 and mono = True the coefficients beta(pars) are constrained to be 
     For degree = 3 and mono = True the coefficients beta(pars) are constrained to be 
     monotonic by using monotonic cubic transformation.
     monotonic by using monotonic cubic transformation.
 
 

binární
python/logistic/results/logit_fit.pdf


Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů