Selaa lähdekoodia

Adding param CI in logit reg

Martin Horvat 6 kuukautta sitten
vanhempi
commit
e4878dbb39

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 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


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä