Questions tagged [logic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
41 votes
6 answers
3k views

If we know A is independent of B, why isn't P(A|B,C) = P(A|C) necessarily true?

Let's say we know that A is independent of B, or mathematically: $$P(A|B) = P(A)$$ Then how come we can't say the following is necessarily true: $$P(A|B,C) = P(A|C)$$ If the outcome of B doesn't have ...
Nova's user avatar
  • 709
8 votes
4 answers
2k views

How much does Mathematical Logic relate to Statistics?

To wit, to what extent did statistics professors study Mathematical Logic ("ML" henceforth)? To what extent does Statistics use ML? How relevant is ML? I'm not referring to transitions or ...
8 votes
1 answer
124 views

A reliance on repeated sampling ideas can lead to logical paradoxes that appear in common rather than esoteric procedures?

I am currently studying the textbook In All Likelihood -- Statistical Modelling and Inference Using Likelihood by Yudi Pawitan. Section Repeated sampling principle: the frequentists of chapter 1 says ...
The Pointer's user avatar
  • 1,942
4 votes
4 answers
681 views

Chicken and egg problem in determining the target feature

I have a large dataset of customers in an online shop, where many features regarding their history of buying behavior are recorded: who bought what, at which time, how often they entered the shop, at ...
l7ll7's user avatar
  • 1,275
4 votes
0 answers
893 views

Deductive reasoning and artificial intelligence

AI has proven to be extraordinary effective for solving certain types of intellectual problems that we thought before only our brains could solve. The number of applications is tremendous: engineering,...
Alfred F.'s user avatar
  • 241
3 votes
4 answers
368 views

Why didn't $\Pr \left( A \rightarrow B \right)$ catch on?

Students are conditioned to thinking in terms of IF-THEN statements even before high school, and courses offered at the university level often lead to the formalization of material implication. ...
Galen's user avatar
  • 8,502
3 votes
3 answers
549 views

Book or article recommendation about causality and counterfactuals

I'd like to assign undergraduate students with little to no math experience an article, short part of a book, or even a blog post about causality and counterfactual logic that is easy to understand. ...
3 votes
2 answers
48 views

Relationship between categorical factors

I am not sure what this is called in English, but if we have two categorical factors, we can say that one of them (A) is finer than the other (B) if it holds true that if two observations belong to ...
Mikiap's user avatar
  • 31
3 votes
1 answer
60 views

"Successful projects share the same 5 keys qualities. In each quality our project achieves over average score". What can we conclude about this?

I'm not sure if this is a statistical problem, but I suppose it's a frequent problem involving using statistics, so I ask here anyway. Hope it's on-topic. From the book Smart Pricing: How Google, ...
Ooker's user avatar
  • 329
3 votes
1 answer
65 views

Probability of two equivalent statements

Let A and B be two statements such that A is satisfied if, and only if, B is satisfied. Can we then say Pr{A} = Pr{B}?
Robin's user avatar
  • 31
2 votes
1 answer
289 views

Is it always true that $P(X| Y \text{ OR } Z) \le P(X|Y)$?

Consider the following argument: If $(X| Y \ \text{OR} \ Z)$ is true, $(X| Y)$ must be true. For example, if $f(t)=10 $ when $ t=1 $ or $ \ t=0$ is true, then $f(t)=10 $ when $ t=1$ must be true ...
Dr. Who's user avatar
  • 97
2 votes
1 answer
230 views

How to understand maximum likelihood estimation from an objective Bayesian paradigm?

I am trying to understand maximum likelihood estimation from an objective Bayesian/Jaynesian paradigm. My current understanding is that: There is a parametric family of functions f(x; theta) indexed ...
user avatar
2 votes
1 answer
107 views

Multivariate normal distribution logic

From Introduction to Probability here (PDF page 348, book page 337) we are told: Definition 7.5.1 A $k$-dimensional random vector $X=(X_1, ..., X_k)$ is Multivariate Normal if every linear combination ...
Arnold Davidson's user avatar
2 votes
1 answer
268 views

In the context of conjunctive boolean functions, what does "$\Rightarrow y$" mean?

This post gives an example to illustrate the size of a Hypothesis Space for discrete classification problems. A hypothesis is a function $f:\mathcal{X} \to \mathcal{Y}$, where $\mathcal{X}$ is the ...
JJJohn's user avatar
  • 1,965
2 votes
1 answer
190 views

A Logic based Problem with Probability of Failure

A lot of five identical batteries is life tested. The probability assignment is assumed to be $$ P(A)=\int_A\ (1/\lambda) * e^{-x/\lambda}dx\ $$ for any event A$\sqsubseteq[0,\infty)$, where $\lambda$...
J.Doe's user avatar
  • 23
2 votes
1 answer
35 views

Models that infer "high-level rules"

Are there any models that infer "high-level" rules? Consider for example the plot that represents data from a table with 3 entries: A $x$ and $y$ column of real-valued data and a label column with ...
l7ll7's user avatar
  • 1,275
1 vote
3 answers
320 views

Why is inference different in logic and statistics?

In Bayesian Inference, the term "inference" means learning parameters. In logic, inference means deducing something. Why are these two terms different?
sdfafjauoisfsadjioodf's user avatar
1 vote
3 answers
3k views

Can I merge multiple linear regressions into one regression?

I have a dataset of 48,000 records These records are divided equally into 4 groups Blue Group, Yellow Group, Green Group, and Red Group Each one of these groups has 12,000 records My study has ...
asmgx's user avatar
  • 291
1 vote
1 answer
22 views

Symbolic knowledge (First-order Logic) as priors in the Bayesian deep learning

In Bayesian learning, priors play an important role. As per my understanding, most of the priors are statistical, and they used mean and variance value as prior. Then deep learning model uses the ...
Rambo_john's user avatar
1 vote
1 answer
97 views

Logical disjunction OR between two independent random variables

Consider the Bernouilli experiment of tossing a coin $2$ consecutive times, with the probability of getting "heads" of $p=0,8$ The base space can be described as follows $\Omega=\{HH,TT,HT,...
niobium's user avatar
  • 167
1 vote
0 answers
27 views

Answer Set Programming - Make a Fact INVALID [closed]

I have a question regarding Answer Set Programming on how to make an existing fact invalid, when there is already (also) a default statement present in the Knowledge Base. For example, there are two ...
theRam's user avatar
  • 19
0 votes
1 answer
212 views

Symbol for 'equally likely/probable'

I'm looking for the 'mathematical' symbol, if it exists, that denotes 'equally likely'. For example, one has two potential outcomes from a present state, both of which are equally likely (or probable)....
8armed's user avatar
  • 71
0 votes
3 answers
111 views

Relationship between logical implication arrows and causal diagram arrows

I am reading some of Pearl's more recent work on causal diagrams. It is fun to read but I am struggling to make some connections. Does anyone have intuitive (or precise) knowledge of the relationship ...
Ben's user avatar
  • 66
0 votes
1 answer
89 views

Likelihood in Bayesian inference: p(x|theta, I) = p(x| I)?

In page 164 of the book “Probability theory: the logic of science” the author says that: $$ p(D|\theta I) = \prod_{i=1}^{n} p(x_i|\theta I) = \theta^r(1-\theta)^{n-r} $$ $ \theta $, in this equation, ...
user avatar
0 votes
2 answers
2k views

Ordinal Logical Regression in R using polr interpretation

I'm using the polr package to do a ordinal logistic regression on my data. We did a survey for university students asking them a bunch of questions. To analyse the results i want to do an ordinal ...
Esteban Armende's user avatar
0 votes
1 answer
698 views

How to design a fitness function for binary logic network?

Assume we have a directed graph of connected nodes, where each node represents a logical operator. Input for this logic operator are values on all edges leading to the node and the result is outputted ...
user1561358's user avatar
0 votes
0 answers
49 views

Softened logical implication using statistics

In a machine learning application, I have the following boolean implications $$\forall\,x,y:I_b(x,y)\rightarrow E_b(x,y),$$ where $I_b(x,y)$ being true means $x$ and $y$ are isomorphic, and $E_b(x,y)$ ...
Mridul Gupta's user avatar
0 votes
0 answers
45 views

Which groups/time periods to compare in staggered Difference in Difference (DiD) with unit and time fixed effect logistic regression model?

I am trying to build a logistic regression with staggered DiD (for not yet treated) that incoporates unit and time fixed effect. I am stuck with the logic of building the model as I am trying to ...
Zeinab Elashidy's user avatar
0 votes
0 answers
22 views

In a specifically ordered set of binary data (ones and zeros), how can you organize them in patterns and from there build a probabilistic network? [duplicate]

So I have a set of 1s and 0s. They are listed in a column on excel. They are listed in a specific order. I do not wish to change their order. So they appear as (1, 0, 1, 0, 0, 1 and so on... 0). Here ...
Paul Adeleke's user avatar
0 votes
0 answers
24 views

A question about the interpretation of a certain probability about bounds of polynomials

Consider a polynomial $p(z)= \sum_0^n a_i z^i.$ In the literature there are numerous bounds about the roots of $p(z)$.Now once we prescribe certain dsitribution to the coefficients ,the bound itself ...
AgnostMystic's user avatar
0 votes
0 answers
27 views

Independence, correlation and logical implication [duplicate]

Two random independent variables ($P$: "two variables are independent") are uncorrelated ($Q$: "two variables - the same two involved in sentence $P$ - are uncorrelated"), or using ...
basics's user avatar
  • 109
0 votes
0 answers
24 views

Are these logical variables for predicting among train/test sets?

I'm wondering if the following makes sense for a model. I have a training and a test set. I want to predict whether a website visitor is a bot or a human, based on several visits. The data has been ...
PascalVKooten's user avatar