Преглед на файлове

Adding param CI in logit reg

Martin Horvat преди 6 месеца
родител
ревизия
e4878dbb39
променени са 3 файла, в които са добавени 258 реда и са изтрити 195 реда
  1. 252 193
      python/logistic/logit_reg_fit_gen.ipynb
  2. 6 2
      python/logistic/logit_utils_gen.py
  3. BIN
      python/logistic/results/logit_fit.pdf

Файловите разлики са ограничени, защото са твърде много
+ 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
     
-    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 
     function of x by using monotonic cubic transformation:
@@ -29,10 +29,14 @@
     
         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]). 
     
+    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 
     monotonic by using monotonic cubic transformation.
 

BIN
python/logistic/results/logit_fit.pdf


Някои файлове не бяха показани, защото твърде много файлове са промени