Questions tagged [logic]
The logic tag has no usage guidance.
31
questions
3
votes
1
answer
56
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}?
0
votes
0
answers
36
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 ...
1
vote
1
answer
20
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 ...
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 ...
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 ...
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 ...
0
votes
0
answers
82
views
Combining Correlation Coefficients
I have a particle physics dataset in which I make certain selections on my data in order to reduce it. I have one selection (let's call it selection 0) at the start. I know the correlation coefficient ...
0
votes
1
answer
75
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,...
40
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 ...
2
votes
1
answer
103
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 ...
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 ...
3
votes
4
answers
364
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. ...
0
votes
1
answer
85
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, ...
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 ...
0
votes
1
answer
199
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)....
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 ...
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 ...
1
vote
3
answers
267
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?
0
votes
3
answers
107
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 ...
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 ...
4
votes
0
answers
865
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,...
2
votes
1
answer
259
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 ...
4
votes
4
answers
674
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 ...
2
votes
1
answer
30
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 ...
3
votes
3
answers
533
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.
...
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 ...
2
votes
1
answer
181
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$...
2
votes
1
answer
285
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 ...
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 ...
0
votes
1
answer
692
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 ...
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 ...