Skip to content

Latest commit

 

History

History
86 lines (58 loc) · 6.09 KB

Notes.org

File metadata and controls

86 lines (58 loc) · 6.09 KB

Current Notes for Near Future Work.

change my integration algorithms in my MA paper to be Gausian Quadratures

ask Johnathan Gross or someone else who knows, how to rebalance Bayesian Nets

…by adjusting alpha/beta so that the Nets only differ in structural terms, so that differences are not determined, merely by differences in marginal probabilities of variables. This might require coming up with an optimal re-weighting algorithm, or something along those lines.

build a type that inherits from BayesNet and change the SetProbs method

For the work with Tao, I must have joint distributions over variables such as prices which have many more possible values than the binary 1, or 0. Maybe there is much more precise information that can be gathered about forecasting beliefs. It should be possible to use the resulting BayesNet to make the same quantitative prediction that was made by the forecaster (this is where parameter fitting comes in).

Different Bayes Nets for different purposes

Some calculations

Here are some calculations that might help with fixing the integration in my MA paper, which are currently not done as well as they could be (has been fixed since, using Mark Newman’s algorithm to get the weights and sample points for a Gaussian Quadrature, but the code here is still interesting). Calculating the interpolating polynomial for any given set of points $x_1, \lodts, x_k$:

$$φ_k(x)=∏m=1\ldotsN, m¬=k\frac{x-x_m}{x_k-x_m}$$

python code

sys.path.append('/home/johannes/Documents/DiversityMeasure/')
from numpy import linspace, prod
import gaussxw
#xs=linspace(0, 1, 10)
#phi = [lambda x: prod([(x-xm)/(xk-xm) for xm in xs if xm!=xk]) for xk in xs]

Function determines the comunication rituals.

Diversity as a function of conviction and causal strength

I must write Diversity as a function of $α$ and $β$, the causal effect shape parameters. The more certain one is in ones’ propositions, or the stronger these propositions are (causal effect) the less able one is to learn anothers’ propositions, if one were to be removed suddenly from one’s own learning environment and thrown into the learning environment of the other. Thus, the more certain each individual is in her own convictions, the greater should be the Diversity. This is a question, whether this measure satisfies this.

The expected causal effect (strength of proposition) exerted by one cause, $A$, on its effect, $B$, is:

$$E(\text{Causal-Effect}i, (A, B)) = E(πi, (A, B))=\frac{α}{α + β}$$

and the associated uncertainty that one has in one’s mind about this causal effect can be expressed in terms of the Entropy of the Beta distribution, as:

\begin{equation} \label{eq: entropy} H(α, β)=∫_0^1 -f(πi, (A, B), α, β)log(f(πi, (A, B), α, β))dπi, (A, B)=

ln(\textbf{B}(α, β))-(α-1)ψ(α)-(β-1)ψ(β)+(α+β-2)ψ(α+β), \end{equation}

where $ψ(⋅)$ is the digamma function, defined as the logarithmic derivative of the gamma function, $Γ(⋅)$:

\begin{equation} ψ(x)=\frac{d}{dx}ln(Γ(x))=\frac{Γ(x)}{Γ(x)}. \end{equation}

The Entropy, $H(⋅)$, of the beta distribution, in this case representing the uncertainty of the value of a causal effect, is maximized in both of its arguments, $α$ and $β$ when each takes on the value $1$, or when the beta distribution coincides with the uniform distribution. Of course, this should not come as a surpise, as this particular distribution has often been used as an uninformative prior for some parameter, despite of some serious flaws in this approach that have been pointed out in the literature (see, for example, King 1989).

The Diversity should increase for decreased Entropy, holding constant $α/(α + β)$, for example at $\frac{1}{2}$ (when $α =β$) and it should increase in $α-β$, holding constant the Entropy (as happens whenever the values of $α$ and $β$ are reversed).

some python calculations

Forecasts; how they work

shares outstanding will be the same for each forecast. Revenue and costs can be predicted using some causal mechanisms …less disagreement on cost side.