instruction
stringlengths
9
38.7k
The goal of making machine learning algorithms is mostly to try to make accurate predictions for all unseen samples. What if the goal is to determine a subset of the unseen samples so that the prediction will be most accurate for this subset and ignore the rest that is hard to make accurate predictions. Is there a fiel...
I am struggling to get my head around the concepts of my tests and how to explain them. Unfortunately we didn't recieve much in depth teaching about it on my course. I have 4 variables, one is a control. When I combine the 3 experimental conditions to compare with the control(all should have some similar effect) I get ...
I know that Netwon's method can be pushed to the second order using the 1st Taylor expansion. However, how can I generalize Netwon's method to take x_0 as a vector and have the ability take the gradient?
Imagine you have a colony of roaches and you want to compare the efficacies of two insecticides. On one day you apply insecticide A to 50 insects and record your "outcome" as "1" (died) or "0" (survived). You do the same to insecticide B. But you know that the specific insect cohort makes a difference as well, so you r...
Please see the reproducible R code in the end. The simulated data is from section 4.1 in the paper "ipw: An R Package for Inverse Probability Weighting", where we have measurements in 1000 individuals on a continuous confounder L, a dichotomous treatment A and a continuous outcome Y, which is the simplest case. The sim...
Suppose I have paired samples $(X_1, \ldots, X_{10,000})$ and $(Y_1, \ldots, Y_{10,000})$. If I wanted to do a t-test or a bootstrap test for differences, would it be appropriate even to try doing a test because of how large the sample size is? If I understand correctly, the p-value from tests for these usually will be...
Not self-study. This is more of a maths question: Let $\Phi(B)X_t = e_t$ be a (weakly) stationary process. Let $$\Phi(B) = \prod_{i=1}^p (1-\alpha_iB)$$ So from stationarity we will have $|\alpha_i|<1$ for all $i$. Representing as $MA(\infty)$: \begin{align} X_t &= \frac{1}{\prod_{i=1}^p (1-\alpha_iB)}e_t \\ &= \prod_{...
In the creation of an ASR (Automatic Speech Recognition) using transformers neural networks, we don’t need to use a CTC loss and language models, do we? I’ve seen that RNNs do need to use language models and CTC loss. By saying language models, I’m referring to models like kenlm that helps to see if the sentence has se...
I had constructed a simple Multiple linear regression model, where I have 2 independent variables and a target (dependent variable). Now, I transformed my independent variable using StandardScaler.fit_transform() and ran my model. The problem is the coefficient that I am getting is for the scaled dataset now. They are ...
I have always considered myself decent at basic statistics but recently, when trying to explain to a colleague, been troubled by my apparent lack of understanding of a very basic concept: the p-value and $\alpha$. I understand that $\alpha$ is a property in the design of the experiment (along with the effect size, pow...
I am currently trying to see if there is any validity to this procedure: Using PCA on data in tabular data Then transforming the new "PCA data" into a multivariate time series Using an LSTM to make classification predictions I have been trying to look for papers using this method, but I only found a few that used thi...
Is there any rule of thumb to determine whether the ESS are sufficient to conclude that the sample are independent ? I know how to calculate ESS but not really sure how to interpret them or give a proper explanation whether the sample observation are independent
Suppose that I run the same experiment 5 times. Now, suppose that each model of each experiment has the best accuracy in different epochs. For example: Model1: best accuracy after 10 epochs Model2: best accuracy after 50 epochs and so on... Now, I want to calculate the standard deviations of the accuracies. Which mode...
While studying machine learning I have known 2 learning models: linear regression and perceptron. I know the difference between the Learning algorithm they use, but the hypothesis set look the same to me. Are there any difference?
Attached are the results and the residual plot for my regression of control variables on CEO compensation (TDC1). When I look at the plot my main concerns are the outliers (which I checked to be correct without sufficient reason to exclude) and heteroskedasticity. Would it be advised to standardise my dependent variabl...
I am doing a statistical test (analysis) for the following case: As part of a product aimed at improving the quality and speed of code writing for developers, we have implemented a new feature that should make code review faster. Checking the time for code reviews in these groups : Before the implementation date of ...
This is a follow up query to this query In one line: I wish to understand why is it that we will severely over fit the cross validation set (and hence need nested cross validation to correctly account for the optimism in non-nested cross validation procedure) if we keep on increasing model complexity. Here is a paper w...
What statistical test do I need to use to test for a significant difference in the distributions of two different categorical variables? As an example, I need to test whether the distribution of a categorical variable (Let's say different types of houses in a particular village) has changed over the year. The first var...
In the D-optimal design of design of experiments, some books make the following claims. The absolute value of the correlation coefficient becomes smaller I understand that the covariance is minimized when there are two explanatory variables, that is, when the variance-covariance matrix is a 2 × 2 matrix. On the other...
I have developed a logistic model to predict the risk of an outcome (TRS) based on some predictors. This was developed on a number of imputed datasets generated by mice (imp2) as follows: mod<-expression(glm( outcome ~ age+sex+black_ethn+asian_ethn+ continuous1+continuous2 ...
A multiplayer game exists, in which every round two players from the population are selected at random to play a single match of the game, and either gain or lose score based on their performance against one another. The game continues for many rounds (certainly enough that each player gets to take part in several matc...
I am using a logistic regression model to predict breast cancer. I trained and tested the model in a population with a pretty high incidence of breast cancer(since the individuals all went to the hospital and got tested), like 30% of the people have cancer. But then it hit me that what if I use this model in a populati...
I am performing a chi-square goodness of fit test to compare an observed value with an expected value. The expected value is calculated from theory. p-value suggests statistical significance. How do I find out which cells contribute the most to the chi-square and what would be the best way to illustrate this graphicall...
I am running an experiment and now it is time to do some analysis, but I am having a hard time figuring out the right way to analyze my data. I have a number of questions, but first let me give you some context. This is a behavioral experiment, where the setting is as follows: i) There are 2 conditions, let's call them...
Following my previous (still unanswered) question, I'm trying to find what happens when we construct confidence interval for means difference using Student's t-test (for one or two samples), assuming that variances $\sigma_x^2$ and $\sigma_y^2$ for two populations $X \sim \mathcal{N}(\mu_x, \sigma_x^2)$ and $Y\sim \mat...
I recently encountered a feature engineering technique that I haven't seen before: Create the usual training, validation, and test sets. Create another set by splitting the train set; call this the "feature engineering" set. Use the feature engineering set tp fit any pre-processing that needs to be fitted, e.g. target...
I have a dataset where there are 6 runners. Each runner runs as far as they can for 20 mins, and a watcher records their distance (to the nearest 0.1 miles) at certain times, precisely on the minute mark. For example, a runner may run 0.4 mi at 2 mins, then 0.8 mi in 6 mins, etc. The time intervals are not the same for...
I am looking for an alternative to shapely regression for dominance analysis. I have recently heard about relative weights for dominance analysis and was curious if there was a way to compute this for linear mixed effects models in R? Due to its factorial nature, the domir package for dominance analysis takes far too l...
I am confused about the terminology of "regression forest", "random forest regression", "random forest", "decision tree" and "regression tree". As far as I understood, random forest is a general term that can be used for both binary and continuous outcome variables. For example, in this paper the term "random forest" i...
My data is not normally distributed and so I did a spearman correlation rank test. I now need to make a scatterplot showing the spearman rank test results and I am not sure if the scatterplot should show the ranked values or the raw data values.
For my thesis I perform a moderation analysis via a hierarchical multiple regression analysis. More specifically, I want to investigate whether closeness in the parent-child relationship is a moderator in the association between conflict in the teacher-student relationship and the working memory performance of primary ...
I have a synthetic measurement model that looks like this, $$ x(t) = e^{j u t \frac{4}{\lambda}}, $$ $\lambda$ is a constant. $$ z(t) = x(t) + n(t) $$ The quantity $j = \sqrt{-1}$, the imaginary unit. The noise $n(t)$ added to this signal has two components as well, one real and one imaginary part. Where $n$ is a zero ...
There a many tools to building linear models, such as adding non-linearity, adding splines, adding interactions, variable selection. It can feel overwhelming when considering all of the options… For example, should you try interactions first or try polynomials? Coefficients and P-values slide around with changes, so it...
How do I ensure that I'm allowed to generalize findings from a sample to the population? So far, I'm only aware of the standard error. Is this (alone/itself) sufficient or even valid? As the CI is connected to that, do I need both of them respectively is the standard error meaningless without its CI? Are there other te...
Let $\Omega$ be a sample space. A stochastic process $\{Y_t\}$ is a function of both time $t \in \{1, 2, 3, \ldots\}$ and outcome $\omega \in \Omega$. For any time $t$, $Y_t$ is a random variable (i.e. a function from $\Omega$ to the space of real numbers $\mathcal{R}$). For any outcome $\omega$ the series $y(\omega)$...
I would like to start saying that I am knew to statistics therefore yet a lot ahead of me. I ask for apologies if something sounds trivial. The problem We have a sample of 30 Nitrogen and Carbon isotope observations each taken from hard parts from a fish population. Each sample undergoes a treatment that have two phase...
I might be getting turned around in my thinking of AIC. My understanding, an example: Let's say I have three models: 1.) AIC = 100, it has 10 variables 2.) AIC = 100, it has 9 variables 3.) AIC = 96, it has 11 variables Simply looking at the AIC values, model 3 is the best; it is more than 2 AIC smaller that the others...
I am trying to run a lasso in Stata. I have 1.5 million observations and 1700 variables. Stata is running too slow. I am in 36th grid after 4 days. And get slower ever grid. I am using a 98GB Memory, of 256GB available. Can I set alphas or grids or reduce my data (in order to make it faster) without change too much the...
I understand that one assumption that must hold for regression is for there to be no correlation in the error structure. Put another way: The residuals should be impossible to predict above chance. I'm wondering how you might test this. For any set of observations $X_i$, could you simply train a model on all other $X...
I was looking at some attack count data in Ukraine for different days. The data is gathered from the ACCLED dataset, and there is a picture below. The picture shows individual attacks, but I can apply a grid and count the number of attacks in each region to get a rough estimate of frequency within a given grid cell. Ho...
I'm back with another question regarding my earlier asked question: Making binary prediction with GPBoost (or MERF) The goal of this project is to predict injuries, for which I only have a small subset of athletes available. This is a longitudinal study, since there are multiple individuals who have multiple observatio...
I have $K$ least squares problems of the form $Y_k = X_k\beta_k$ for $k = 1, \dots, n$. If the matrix $X_k$ is the same for each index $k$, we can rewrite the problem as $Y_k = X \beta_k$. How can I speed up least squares by knowing this additional information? The values of $Y_k$ change. Of course if $K=1$, it's just ...
I am training a CNN to predict age,mass and tone from images. The structure of my dateset is as follows Person 1 20 images belonging to one person.The person's age,mass and tone remains the same in these images,with only difference being that in each image,the person has been translated by a certain amount. Person 2 Si...
Assume we have the following chessboard and we have a knight that starts at the top left corner of the board. On every move the Knight chooses reachable square (i.e. a valid chess move a Knight can make to that square so moving in the shape of an L for the Knight.) Consider a Markov Chain that represents the random wa...
I have a set of random variables $(X,C) \in \mathcal{X} \times \mathcal{C}$, where $X$ can be continuous or discrete and of multiple dimensions, and $C$ is discrete. Which are appropriate measures for comparing the similarity of the distributions $p(X|C=c)$ for $c \in \mathcal{C}$ ?
Unfortunately, to state precisely the question, I need some formal preliminaries. Let $d \in \mathbb{N}$. For each $d^* \in \{1,\dots,d\}$, define $\mathcal{M}_{d^*}$ be the set of probability measures whose support is contained in a $d^*$-dimensional submanifold of $[0,1]^d$. For each $L>0$, define $\mathcal{F}_L:=\{\...
https://en.wikipedia.org/wiki/Variance-stabilizing_transformation The variance stabilizing transform of a Poisson random variable is the Anscombe transform. What is the VST for a negative binomial random variable?
Suppose we have a gamma-distributed random variable $X$ whose shape/scale parameters are known to be $\alpha$ and $\beta$. What order $p$ for the sample power mean $\hat M_p[X]$ minimizes $$ (\mathcal{M}[X] - \hat M_p[X])^2 $$ where $\mathcal{M}[X]$ is the population median. I suspect that the optimal choice of $p$ wil...
For the documented tensorflow-keras implementation of additive attention, it is stated that the input tensors are: query: Query Tensor of shape [batch_size, Tq, dim]. value: Value Tensor of shape [batch_size, Tv, dim]. key: Optional key Tensor of shape [batch_size, Tv, dim]. Now, it is clear that query and value ...
How can $N(x|\mu,\sigma^2)$ not be 0? Because a Gaussian distribution is continuous and therefore there are an infinite number of values that x can occupy in the Gaussian distribution therefore the probability of any point should be 0. So I feel like the idea that you can calculate the conditional probability of a poi...
When using Logistic regression concept in an example, I want to compare the risk of the disease (response) for a 25 year male who smokes with a 50 year male who does not smoke. Response would be if the patient has the disease or not. How are we suppose to consider 3 predictors in a comparison (Age, Gender and smoke) in...
I was recently studying about LMSE estimates and came across an idea. Is there a technique to reduce the hypothesis space of a Neural Network by introducing regularisation techniques of some sort similar to how we reduce function spaces in estimates? One method that immediately comes to my mind is to change the activat...
I am solving a scheduling problem where staff members cannot have overtime. For this problem, I have an integer programming model and solve it using the CPLEX solver. A simplified version of this model looks like the below: $$\begin{align*} \min Z &= X C^\mathsf T\\ XB^\mathsf T &\geq b\\ X &\in Z_{\geq0}\end{align*} $...
I have a categorical distribution which depicts the probability of bad choices. I want to select elements negatively proportionate to that categorical distribution, i.e., if my categorical distribution is [30%, 50%, 20%], then the second element (50%) will have the least probability to be selected, and I hope the last ...
We have daily numbers with 4 digits and 3 digits. These winning numbers often,but not always, have 1 or more digits the same. It would seem there should be a strategy to calculate the percent of time the daily numbers have common digits. It would seem to be true for any two numbers given the number of digits in each nu...
I'm running a spatial econometrics model and one of my explanatory variables is sewage coverage, which is 0 for 42% of the cities in the country of analysis. I've been told to reduce the focus of the study to a richer part of the country, where sewage coverage would have less zeros and therefore reduce bias in the esti...
Does ATT estimand require a less stringent positivity assumption in matching? For example, if a small treated group is matched to a large control group, most of the control subjects will be discarded after matching. Do we only require positivity assumption to hold in the remaining sample?
why do diagonals in a pair plot is a histogram instead of a line plot? Doesn't it make sense to have a line plot with the 45-degree linear line passing through the origin? This is a general question that applies to any pairplot. In case, I'm just attaching a pairplot image for reference.
What is $F_{k,\infty}$, i.e., $F$ distribution when the second degree of freedom approaches infinity? I'm wondering if there is a known distribution(such as $\chi_k^2$) that it converges to.
There is a time series of stock quotes, length $n=500$. The data looks like: Date open close high low volume Indicator 0 2020-01-03 259.18 259.00 261.90 257.77 8.962850e+09 0 1 2020-01-06 259.00 256.55 259.00 254.80 7.209356e+09 1 2 2020-01-08 256.25 255.79 257.3...
I've started studying about stochastic processes and I need some help in this question. A random number generator is making numbers by this process: First number (X0) is a sample from Normal Standard distribution and then other numbers are generated from X(n) = a*X(n-1) + Z(n) that "a" is a constant in range [0,1] an...
I am presenting a question for which there may be a simple statistical answer, but I have prefaced it with perhaps a longer explanation, to err on the side of caution, in hopes that the data make more sense. I hope you find it interesting also. Background I have results from a microbiological experiment, involving pair...
I'm performing a linear regression model with respect to voter participation for one of my class papers and I was curious if I could apply the same model to various time periods and then analyze/compare and contrast the differences in the significance of the model overall and the individual variables. For instance, let...
I have a random variable $X$ defined by the following the density function, \begin{equation} f_{\theta_1, \theta_2}(x) = \begin{cases} \frac{\theta_1 \theta_2^{\theta_1}}{x^{\theta_1 + 1}}, &\quad x \geq \theta_2 \\ 0, &\quad \text{otherwise} \end{cases...
TL;DR: With frequentist statistics, does it make sense to 1) no longer use significance testing, 2) set the point null hypothesis to reflect theory and decide a priori when to refute it, and 3) use a "good-enough" belt around this point null hypothesis? In R, how can I do this? This issue is related to Why use a null...
I have two sets of data {X} and {Y} each element in those two sets has its own unique +/- error. I graphed x vs y in a scatter plot along with every point's error bar (both in x and y (x1 +/- a1 , y1 +/- b1)) and added a best fit line. the best fit line is linear and therefore has an equation of the form mx+b. My quest...
I have two regression models. I am using paneled data on individuals from 2010 up to 2019. For some individuals, I have several years of observations, whereas for others, there are only 2 or so. The thing is, I have created two different models: One including the control variables, and one without. Below, the first ima...
Here is the context of my problem: I want to classify between to classes. However, I have at disposal only non labeled data to do the training (the test set possess all labels for evaluation purposes). My approach is the following: I first use a clustering method to create as many clusters as needed. The method is of ...
I am currently searching for the best ARMA(p,q) model for my conditional mean. When comparing the AIC, BIC and LL, I see that some model perform better in AIC, some in BIC and some in LL. The AC and PAC only showed significance in lag 1. The bitcoin log returns have been taken as variable. Can someone help me which to ...
I was searching what is the difference between micro F1 and accuracy since sklearn classification_report shows accuracy in place of micro F1. I found multiple sources which claims that micro F1 equals to accuracy for multi-class single label classification problem link1. Then I found this answer which proves that for m...
I am currently working with a box plot (shown below) that consists of two boxes per value of one of the independent variables (call it $x$). The other independent variable is indicated by the two boxes (call it $y$). The blue box represents the dependent variable (call it $z$) under the condition $y = 1$, while the red...
I am dealing with unfairness and I am trying to find out some metrics to detect unfairness presence in my dataset. I am starting from the very bases: accuracy. My main question is Do you think I can get any hint on unfairness (discrimination) with this metric? I made some computations and got these results for accuracy...
We have conducted an experiment on an animal model of a psychiatric disorder using a pre-treatment (PRE)/post-treatment (POST) design with two treatments resulting in 4 study groups (No treatment, treatment 1, treatment 2, treatment 1 + 2). The symptoms of the disorder are assessed using behavioral tests which yield bo...
https://en.wikipedia.org/wiki/Variance-stabilizing_transformation The purpose of VST is "...such that the variability of the values y is not related to their mean value" according to Wikipedia. But when a distribution is bimodal, the distribution is better characterized by the mean of each subpopulation, the variance o...
I need help understanding chi2 independence test scipy.stats.chi2_contingency. Let's assume I have two samples (of different sizes) of a categorical variable with 3 possible outcomes (1, 2, 3): Counts of the outcomes for the two samples are as follows: Sample 1: {1: 1000, 2:1000, 3:2000} Sample 2: {1: 2000, 2:2000, 3:4...
I'm running an OLS and one of the explanatory variables accounts the sewage coverage, which is zero in 42% of the observations (these are true zeros). I'm worried that the linear effect is not going to be captured very well. Does it make sense to insert a dummy in the model that equals 1 if the sewage coverage is nonex...
I have an expected value: $$ {\rm E}[\log(1+w_1x_1 + w_2x_2)] $$ where $w_1$, $w_2$ are constants and $x_1$, $x_2$ are two discrete variables. The discrete variables $x_1$ and $x_2$ take 2 possible values with a certain probability. For example: $$ x_1 = \begin{cases} a_1, \text{with probability }p_1 \\ b_1, \text{with...
I have the following, mean values of 2 model parameters corresponding standard deviations of those 2 parameters correlation coefficient a computed response a measured response standard deviation of the measured response How can I get an equation of the standard deviation of the computed response with these informatio...
Based on a previous question and on this article, it is suggested that you split the data between train and test (or train/validate/test). But once you have control of your model, you should retrain or train again using the entire dataset to get more points and obtain a (theoretically) better performance. This approach...
Say I have measured some quantity $x$ with an instrument producing a set of observations $x_i$. I don't have the specifications of my instrument, and I have to estimate the experimental resolution of it, how could I do it? My first guess would to take just $$ R = \min_{i \neq j}|x_i-x_j| $$ is there a better guess?
Let us say we are interested in a single time series, e.g. the daily closing share price of Tesla. We can model it as a realization of a stochastic process $\{Y_t(\omega)\}$. It corresponds to a particular subset $\Omega_0$ of the set of all possible outcomes $\Omega$ of the "statistical experiment" underlying the stoc...
I have read that Chi square test is not correct technique for Benford's distribution. Also, the chi-square test applies when both variables are categorical. I am little confused if any or both of above statements are true and related? And if so, is it right to use chi sq test for Benford in Audit use cases?
I'm using dynamic time warping to calculate a distance matrix for a set of about 25 multivariate time series. Each individual time series has over 1000 timestamps, and they are all the same length. When I use a Sakoe-Chiba window of 50, it averages 3.78 seconds to calculate the distance between two multivariate time se...
I have a dataset from an AB test for clickthroughs on a website. We randomly divided users into A and B groups and counted an observation each time a user viewed the webpage. Each observation is one viewing of the webpage with 1 or 0 in the clicked_through column if the user clicked through or didn't, respectively. A s...
I have recently read some pieces suggesting that regression discontinuity designs could be the best statistical approach for causal inference stemming from non-randomized studies (eg 1 and 2). However, as far as I am aware, the strongest claim for accuracy and validity has been made so far for propensity score matching...
There are many examples of search space symmetry in real-world optimization problems in the physical sciences. To motivate this, here are some that come to mind: When optimizing a formulation such as a chemical formula or a mixture of chemicals for a target application, the target property doesn't change if you switch...
I am running multinomial logistic regressions in R using the multinom function from the nnet package. Most of my variables are categorical, and oddly almost all of the variables come out significant. Not all, but almost all of them. However, I know that few of these variables should be significant, if at all, and in fa...
Suppose I have a set of variables $a,b,c,d,f,g,h,i$, and I created a composite score by summing these eight variables into a composite score $\mathbf{e}=(a+b+c+d+f+g+h+i)$. Now I want to explore the interaction on y between e and another variable, z. For example: $$y = B1e + B2z + B3ez$$ I know variables a and b are al...
The ppoints() function is simple but very mysterious to me. It seems to throw away the input vector. What exactly is it doing? The documentation simply mentions what the function calculates, but doesn't explain the formula used. The references provided in the documentation are not easily accessible. function (n, a = if...
I am trying to understand the following issue. The reason we use activation functions such as sigmoid,tanh or relu in neural networks is to obtain a nonlinear combination of input features ( x's). My question is when all of the numbers in neural network nodes are positive , relu function becomes a linear function itse...
I'm working on a research project of which the objective is to predict the customer churn probability in the next month. We have a dataset of monthly records for each customer with variables including (the list below is not exhaustive): month: month customer_id: customer ID tenure: number of months the customer has sta...
I’m new to statistics and I’m a bit overwhelmed by all of the methods that I’ve been reading about. I’m finding that my biggest hurdle is understanding how my data would fit into different models. I have computational quantum chemistry data. I am attempting to correlate adsorption energy to adsorbent size. There are se...
Suppose X and Y have a joint pdf f(x,y)=x+y, 0<x<1, 0<y<1 Find p(x,y) (rho) aka the correlation coefficient of X and Y. ρ=Cov(Z,X)/σZσX = {E(XY)-E(X)E(Y)}/{sqrt(Var(X))*sqrt(Var(Y)}
I am currently researching the bootstrap approach and its different versions/ uses and am trying to code and explain a more intricate example of bootstrapping. I have chosen to work on a logistic regression of the titanic data set already available in the R package COUNT. I have managed to find coefficients, plot the b...
I am running a generalized linear mixed effect model with a Poisson distribution to analyse count data. The model has a random effect that takes into account multiple observation obtained by the same participant. Do you know if there is any way to calculate the Wald test for the slope being different from zero but at t...
I need to replicate what Huang and al (2009)* did without using built-in functions in R. What I'm struggling with is how to forecast returns for my two data samples. I've found the GARCH specs and Copula specs. I can forecast volatility using GARCH but I also have to add the dependent correlation that should stem from ...
I would like to showcase the value of machine learning compared to traditional rule based (symbolic AI) methods. I would also like to break it down for Unsupervised, Supervised and Reinforcement learning. E.g.: Why would you perform clustering using k-means, DBSCAN etc vs asking an expert of that field (assuming there...
I have three tests A, B, C. I have many samples of students who have taken tests A and B and, using linear regression, have found a relationship between test scores of A and B. Similarly, I have many samples of students who have taken tests B and C and found a linear relationship there as well. However, I have very few...
For BayesNet, can anyone explain how we can check the independence between the set of random variables? e.g. $\{B, D\} \perp \{G, I\} | A?$
I'm familiar with the basic probability rules which problems come in the form of: What is the probability of getting a head next by tossing a coin? 0.5 What is the probability of getting a 3 if a number is chosen uniformly at random from the set {1, 2, 3, 4}? 0.25 How more complicated forms of questions are calculate...