This file is indexed.

/usr/share/openturns/validation/ValidEstimateLogistic.txt is in openturns-validation 1.5-7build2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
> restart:
> with(Statistics):
> assume(beta>0):
> logistic_:=RandomVariable(Logistic(alpha,beta)):
> pdf:=PDF(logistic_,x);
> ddf:=factor(diff(pdf,x));
> cdf:=CDF(logistic_,x);
> mu_:=Mean(logistic_);
> var_:=Variance(logistic_);
> qdf:=Quantile(logistic_,p);
> qdf2:=solve(cdf=p,x);
> pdfgr:=map(factor,[diff(pdf,alpha),diff(pdf,beta)]);
> factor(pdfgr[2]-(x-alpha)*pdfgr[1]/beta);
> cdfgr:=map(factor,[diff(cdf,alpha),diff(cdf,beta)]);
> factor(dcdf[2]/dcdf[1]);
> valnum:=alpha=-0.5,beta=1.5:
> evalf(subs(valnum,x=1,ddf));
> evalf(subs(valnum,x=1,pdf));
> evalf(subs(valnum,x=1,cdf));
> evalf(subs(valnum,x=1,map(_x->_x,pdfgr)));
> evalf(subs(valnum,x=1,cdfgr));
> evalf(solve(subs(valnum,cdf)=0.95,x));
> evalf(subs(valnum,mu_));
> evalf(subs(valnum,var_));
> evalf(subs(valnum,[mu_,sqrt(var_)]));

                                   x - alpha
                               exp(---------)
                                     beta~
                  pdf := ---------------------------
                               /        x - alpha \2
                         beta~ |1 + exp(---------)|
                               \          beta~   /


                         x - alpha  /         x - alpha \
                     exp(---------) |-1 + exp(---------)|
                           beta~    \           beta~   /
            ddf := - ------------------------------------
                              2 /        x - alpha \3
                         beta~  |1 + exp(---------)|
                                \          beta~   /


                                     1
                     cdf := --------------------
                                      x - alpha
                            1 + exp(- ---------)
                                        beta~


                             mu_ := alpha


                                       2   2
                                  beta~  Pi
                          var_ := ----------
                                      3


                                              p
                    qdf := alpha + beta~ ln(-----)
                                            1 - p


                                       -1 + p
                  qdf2 := alpha - ln(- ------) beta~
                                         p


                x - alpha  /         x - alpha \
            exp(---------) |-1 + exp(---------)|
                  beta~    \           beta~   /      x - alpha  /
  pdfgr := [------------------------------------, exp(---------) |-x
                     2 /        x - alpha \3            beta~    \
                beta~  |1 + exp(---------)|
                       \          beta~   /

                 x - alpha                      x - alpha
         + x exp(---------) + alpha - alpha exp(---------) - beta~
                   beta~                          beta~

                     x - alpha \   / /     3 /        x - alpha \3\
         - beta~ exp(---------)|  /  |beta~  |1 + exp(---------)| |]
                       beta~   / /   \       \          beta~   / /


                                 x - alpha
                             exp(---------)
                                   beta~
                    - ----------------------------
                           2 /        x - alpha \2
                      beta~  |1 + exp(---------)|
                             \          beta~   /


                          x - alpha
                    exp(- ---------)
                            beta~
  cdfgr := [- -----------------------------,
              /          x - alpha \2
              |1 + exp(- ---------)|  beta~
              \            beta~   /

                             x - alpha
           (x - alpha) exp(- ---------)
                               beta~
        - ------------------------------]
          /          x - alpha \2      2
          |1 + exp(- ---------)|  beta~
          \            beta~   /


                               dcdf[2]
                               -------
                               dcdf[1]


                            -0.04038122117


                             0.1310746222


                             0.7310585787


                   [0.04038122117, -0.04700186026]


                    [-0.1310746222, -0.1310746222]


                             3.916658468


                                 -0.5


                             7.402203303


                         [-0.5, 2.720699048]