instruction
stringlengths
9
38.7k
I have been trying to use the LSTM model for a monthly time series with a length of 404 (384 for training and 20 for test). I created 4 pairs of training/validation sets, trained different models, and chose the model that performed the best on the validation sets. The selected model was constructed on the training set ...
I have 66 features. What does it mean if 5 or so features are highly autocorrelated (.99 at lag = 1) with themselves but my output variable itself is not autocorrelated? Can I consider these subset of features to be irrelevant, and discard them?
I want to investigate the correlation of $A$ and $B$ on $X$, so i do a multiple linear Regression. On their own $A$ and $B$ are significant predictors of $X$ in a simple linear regression. When i test a multiple linear regression with with $A$ and $B$ as Predictors, only $B$ is a significant Predictor. I thought this i...
This is just for curiosity's sake, but I found this problem, and I don’t know how to solve it. This is not the regular Monty Hall Problem! You're a participant in yet another version of Let's Make a Deal! Each competitor must select from three doors to discover a reward. The reward is placed behind one of the three doo...
For context, I am currently enrolled in a Quantitative Analysis course for chemistry at my university. We've been focusing on errors and statistical analysis to determine whether the random error is significant. We performed a lab experiment where each student weighed 15 pennies, so we have a total of about 255 pennies...
I've hit a small snag in working out some of the implications of the residual maker matrix $M$. Through previous posts I've been able to understand the difference between the use of $e$ and $\epsilon$, however there is still something I don't understand. We have the residual maker matrix, $M = I-X(X'X)^{-1}X'$, and we ...
I have obtained an unnormalized probability density function (pdf) for the coefficients of a linear regression model: $$ f(\boldsymbol{\beta})\propto \mathrm{det}\left [\sum_{i=1}^{N} (\boldsymbol{y}_i-\boldsymbol{X}_i\boldsymbol{\beta}) (\boldsymbol{y}_i-\boldsymbol{X}_i\boldsymbol{\beta})^\top \right ]^{-\frac{N}{2}}...
RMSE is an error metric in which the mean of the data minimizes its loss function: $\text{RMSE} = \sqrt{\frac{\sum_{t=1}^{n}(y_t - \hat{y_t})^2}{n}}$ But it gives the error in the unit of the data. In order to have a percentage RMSE different alternatives exist: RMSE / $\text{max}(y_t)$ RMSE / $\text{mean}(y_t)$ RMSE ...
In many papers on machine learning and statistics, I encounter the following notation Let $P$ be a distribution, and let $Q$ be another distribution. Then the author creates an object $P \times Q$ However, this object is not defined. It is not known if $\times$ means the usual product, cross product, cartesian product,...
I have data that is somehow truncated. It is a list of log best performances from events, where different events have different cutoff times. How could it be possible to find the unknown mean and unknown variance of the true normal distribution? I suppose as a start I would need to use a sample unaffected by the cutoff...
In their book on multilevel analysis Hox et al. (2017) write in chapter 13: 'The main assumptions are [...] (multivariate) normality for dependent variables, which is the focus of the current chapter.' They then continue about how to detect non-normality of the residuals, heteroscedasticity, etc. What they don't talk a...
Can we expect that the two q tables converge together? which means that abs(Q1-Q2).max() converge to zero, Can we say that?
Assume we are solving a $k$-class classification problem, $k \geq 2$, and we have a trained classifier $\phi$ from a family of generative or discriminative classifiers $\Phi$ minimizing an objective $\ell$. On a held-out set or via cross-validation, it produces a classification report $R$ consisting of one or more eval...
I have an analysis project and I am not quite sure about my analysis plan. The data context are about the treatment effect with confounding variables is well-established. But it have many dependent variable and I find hard to do. Theses are requirements to perform I must do propensity score matching. Some variables ar...
I have a question about using ratios as variables in alpine ski racing research. We want to compare skiers' performance on different days, but snow conditions affect the results. To address this, we normalized performance when skiers ski straight down without turns. However, this normalization centers scores around 0.5...
I'm doing a regression analysis to understand the relationship between disease severity (Severity) and viral load (VL). The VL data were collected on different days after symptom onset in different patients, and I know that VL is highly correlated with the number of days between symptom onset and sample collection (DAY...
This question is based slightly on https://www.reddit.com/r/AskStatistics/comments/16bqit0/calculating_probability_when_phacking_is_allowed/ Given a variable $X$, let $A_j$ be the average of $X_1$ through $X_j$, and consider the maximum $M(k,n)$ of the averages $A_k$ through $A_n$. What is the distribution of $M(k,n)$,...
I'm trying to complete an exercise in R related to Monte Carlo estimation for the shortest path in the bridge network problem. The exercise asks me to first perform the estimation using the plain Monte Carlo method by generating the variable according to an exponential distribution, and I don't have any issues with tha...
Consider this residuals vs. fitted values plot: Would you say this have no problems and I can go on the linear regression? I am interpreting this as heteroscedasticity and with that should not go further, what do you think?
I am new to this. For a project, I am trying to find a relation between 5 independent variables on one dependent variable. I am specifically looking to find intricate relation between how user violation (of different natures) affect the traffic flow. I want to use neural network to find the relationships but I fear th...
I'm looking for a method to detect false observations inside the hough transformation space, even called line detection algorithm. The hough space can be described as this X-axis is radius and Y-axis is the angle of the equation $$xsin(\theta) + ycos(\theta) = \rho$$ Which is the straight line equation, but expressed ...
Goal Develop a model for theoretical best performance for running distances from marathon to around 1000 km. Partly to compare the strength of ultrarunning world records, but more importantly, to get base values for prior estimates in a Bayesian rating model. Method Calculate the velocity of the theoretical best perfor...
I am trying to understand the code from pybasicbayes, which defines the following function to sample from an inverse Wishart: def sample_invwishart(S,nu): n = S.shape[0] chol = np.linalg.cholesky(S) x = np.random.randn(nu,n) R = np.linalg.qr(x,'r') T = scipy.linalg.solve_triangular(R.T,chol.T,lower=...
Imagine you have a single axis. Along the axis are placed several target points, at differing distances between each other. You now have a black box that shoots a variable number of points on to the axis, with the goal of hitting as close as possible, with the minimal number of shots. The number of shots is not determi...
Is there the relation between confidence and order of association rule when I am applying Apriori algorithm? Or is it dependent on the dataset? Disclaimer: This is based on a homework question. The dataset we are given has increasing confidence with increasing order of association rule. I wonder if this is true for all...
I'm reading High-Dimensional Statistics by Wainright. In the book, entropy for random variable $Z \geq 0$ is defined as $H(Z) = E[Z \log Z]- E[Z] \log E[Z]$. My understanding is that $H(Z)$ is a constant, not a random variable. Next, for $f \colon \mathbb{R}^n \to \mathbb{R}$, and $k \in \{1,\ldots, n\}$, we define the...
I have this question regarding 4 data sets where one of the data sets is missing half of the data. The data is relatively correlated, but not perfectly. How may we construct a model to produce the fourth data source’s missing data? Suppose this data is generally upward trending with seasonal cycles, as well as a large ...
I am having a hard time understanding simple linear regression. I got to a point, in this website to which I can see the closest answer to my question : To minimize our error function, S, we must find where the first derivative of S is equal to 0 concerning a and b. The closer a and b are to 0, the less total error for...
I'd like to check if there are correlation among predicted probabilities of models in a voting classifier. According to the table below, one of models, Model5, has mean 40.9% and standard deviation 46.29% which is prominently different from that of other models. My Question is that since the predicted probabilities alr...
For the ordinary least square (OLS) estimates of regression ($\vec{y} =\mathbf{X} \cdot \vec{\beta} + \vec{\epsilon}$) to be unbiased (without considering the efficiency), which one of the three conditions is required (sufficient): $$\mathbb{E}(\vec{\epsilon}) = \vec{0} \tag{Assumption 1}$$ $$\mathbb{E}(\vec{\epsilon}...
I have been trying on comparing to time series, one predicted and one measured. One of the first and most simplistic statistics that can help is R2. I have no issues calculating R2 but my supervisor suggested to first normalize both time series such that the daily trend is removed and then calculate the R2. I am wonde...
First time posting here. I am collaborating on a meta-analysis investigating the association between fatigue (in a specific clinical population) and cognition. I have done a few meta's before so I am at an intermediate level at conducting them however I am not able to find clarification to this question. For studies we...
In short: I am looking for a loss function that prioritizes the size of the segmentation over the location of the segmentation. We are using a modified U-Net to segment an event on two time based inputs. The segmentation starts at the event on input 1 and ends on the event of input 2. The thing that matters in the end ...
I am currently working on analyzing a substantial dataset using generalized mixed-effect models. The dataset has a 3-level structure: 400,000 individuals nested within 500 neighborhoods, which are further nested within 30 regions. I have attempted to perform the analysis using various software platforms including R's l...
To decode an HMM, the usual approach is use the Viterbi algorithm where the probability of the most likely sequence of hidden states $z_1,..,z_n$ generating the observations $y_1,..,y_n$ is given by: \begin{equation} \delta(z_n)=\max_{z_1,z_2,..,z_{n-1}}p(y_1,..,y_n,z_1,..,z_n) \end{equation} However this paper use...
I'm planning to conduct an experiment, where I have four IVs. $IV_{1}$ to $IV_{3}$ have 3 levels each, and $IV_{4}$ has 2 levels. I want to apply d-optimal design here, because the full factorial experiment costs a lot (54 runs), I read some web pages such as https://www.itl.nist.gov/div898/handbook/pri/section5/pri521...
I want to get cross-validated performance values of my model after hyperparameter tuning and sequential feature selection on each feature subset. Following this example, I want to use an outer-CV where in each fold I fit the GridSearch with SFS and then re-train the best model on each identified subset. Something like ...
Is there a way to restrict the predicted values, say, to only positive values or an interval of values? Let's say I want to estimate a linear model, y = a + Xb, using Bayesian techniques. I specify priors for a and b, a ~ Normal(0, 1), b ~ Normal(0,1). When estimating posteriors, I might get that b= -0.3 with some prob...
I am using Python's statsmodels.tsa.vector_ar.vecm.VECM to estimate VECM models and generate pseudo out-of-sample forecasts with the .predict() function to compare with actual data. For example, I would stop training data at 2012Q4 and compute a one-quarter-ahead forecast for 2013Q1. Then I would increase training data...
Let $\{X_t\}_t$ be a sequence of discrete random variables and assume that \begin{equation} \\Pr\big(X_t=x \, | \, X_{1},\dots, X_{t-1}\big) \geq \nu_x \quad \text{ for all } t=1,2,\dots \end{equation} where $\nu_x\in [0,1]$. Consider a sequence of binary random variables $\{Y_t\}_t$ such that If $Y_t=1$, then $X_t=x$,...
Question. Let $X_1, X_2, ..., X_n$ be a set of normal random variables, each with variance ${\sigma }^2$ and mean 0. For each $i,j$ in pair in $X$, $Cov(X_i,X_j)=V$. Further, let $Y_1, Y_2, ..., Y_m$ be a second set of random variables, where each $Y_k=\displaystyle \sum_{i=1}^n w_{i,k}X_i$. Each $w_{i,k}$ is an indepe...
I'm not too familiar with optimization algorithms e.g. genetic algorithms and I'm wondering whether it makes sense to employ a validation set in this context similarly to when we train a supervised machine learning model. Let's say we are in a chemical domain and we have experimental measures $f_1, \dots f_N$ of some q...
I have the following situation: there is data for six years, per month. In a year you can see variation per month, since the data is influenced by the seasons. Also, there is an upward trend over the years. Would it be appropriate to aggregate data to years, and perform linear regression? My concern is that the $n$ wou...
I have two experimental conditions called rest and task. The conditions include 13 subjects, respectively. I computed the mean and standard deviation (SD) for each subject’s data. Consequently, I have two lists of data: 13 mean values (for rest and task, respectively) 13 SD values (for rest and task, respectively) Th...
I am visualizing the difference between the empirical probability and the theoretical upper bound of the deviation of the sample mean from the true mean of successive Bernoulli trials. I'm using Hoeffding's inequality for this comparison. However, I've noticed an unexpected seasonal pattern in my empirical bound. I'm t...
I am currently performing analyses for a meta-analysis looking at the mean difference of pre-post intervention data (i.e., 'mean change'). However, one study reports identical mean and SD for the pre- and post-intervention measures. This means that the mean difference is 0 — not an issue — but the standard deviation of...
I’m looking for some help in diagnosing a gamma GLM. I am not sure whether the apparently poor fit is to do with the fact that my glm models dispersion rather than the mean, whether I am misunderstanding the diagnostic plots, whether I should try a different link function, or what else I might do to remedy it. Thanks h...
The set of values X($\omega_{k}$) of a random variable on $\Omega$ form the points of a new sample space $\Omega_{X}$. Show that $\omega$ is a random variable on $\Omega_{X}$ (i.e. no information has been lost by the transformation) if and only if the K values X($\omega_{k}$) are distinct. Initial attempt: I am pretty ...
I am tasked with running a sample size calculation and also statistical analysis of a study looking at the agreement between two 'tools'. This is a binary outcome so looking mainly at the different forms of kappa. However, here is the complexity to the data: There are multiple cases that we intend to recruit. i.e. peo...
I need help with something. I need to see if two "sides" of data have/come from the same functional format. Consider a large sample with values from, let's say, 1 to 10. What I want to know is if the sample from 1-5 has the same functional format as the sample from 5-10. Maybe something like the Kolmogorov-Smirnov test...
We have to match time series plot in the 1st row with the ACF plots in the second row. The solution for the same is given below. However , It would helpful if someone could explain the solution.
I am trying to estimate the effect of difference in ranks between two people (i and j) on an outcome Y using a linear regression. My independent variable of interest is the $\beta$ coefficient on $(Rank_i - Rank_j)$. Should I include fixed effects for $Rank_i$ and $Rank_j$, or just one of them? Assignment of $Rank_i$ t...
I was looking at a poisson process and using an exponential distribution to model arrival times of the event. For example the chances that a person is arriving at a bus stop. Then in the simple case I'd like to model the arrival of the bus and I'd use another exponential for that. What I'm trying to think of is what if...
Building on this recent post Generate sample from poisson distribution with fixed sum answered by @Henry and @Xi'an, how could we similarly go about generating n random samples from a negative binomial distribution with a fixed sum (y) and a known size parameter in R? I imagine that there might be a way to adapt the an...
Suppose we have an OLS problem with a large number of predictors: $Y = X_1 + X_2 + \cdots + X_p$. I want to obtain its RSS. I don't need to know the regression coefficients or individual residuals, just RSS. A naive way to go about it is first to regress $Y$ on $X_1$, take the residuals, regress them on $X_2$, take the...
I have a rudimentary understanding of fuzzy inference rules of the form IF(x is A) THEN(y is "LOW"). I have not been able to find examples of fuzzy rules that cause a change in the output variable; e.g. IF(z is C) Then(y is "INCREASED_MODERATELY"). In these expressions, all of the variables/concepts are linguistic vars...
I am very new to statistical analysis, so I apologize in advance if this question is too naïve. I would like to know whether participants be columns in data frames for PCA, but I first want to offer some context. I have data from 100+ participants rating 40+ stimuli using a 7-point scale. We had reasons to believe that...
I am using the MatchIt package in R for Coarsened Exact Matching. I only understand the basic idea of Coarsened Exact Matching. I have difficulties understanding what the estimand should be. In the manual, it says for method_cem: estimand: a string containing the desired estimand. Allowable options include "ATT", "AT...
Lets say I have the following dataset, it has two categorical variables domain & country, and a count column. So each row shows me how many times someone from a specific country visited a specific domain. Now the size of each country and domain can vary greatly! So what I would to do is to calculate some scores to help...
In this post, the author shows that when a likelihood and prior are both T-distributed with $2$ degrees of freedom, the posterior is bimodal. The given reason is that The two modes persist - the extra mass in the tails means each distribution finds the other's mode more plausible and so the average isn't the best "com...
Is it true that if $X$ follows a central chi-square distribution, then $X+a$ follows a non-central chi-square distribution where $a$ is a positive constant?
So I have this dataset that looks like this. Income is the amount of income customers at a grocery stores reportedly make. Campaign is whether the customer accepted the campaign, 1 if they did, 0 otherwise. "Accepted or not" is just another way of expressing Campaign for the last variable. CumSumAcceptance is the runni...
I have three categorical variables $A$, $B$, and $C$ representing three different levels of spatial regions. Every element of the image of $C$ is a proper subregion of $B$, and likewise for $B$ in relation to $A$. Think like cities nested within provinces and provinces nested within countries as an example; sort of a "...
I am new to statistics. I have a list of coyote sightings and am trying to figure out if the moon illumination percentage on that particular night is correlated to the sighting. Meaning, if the moon has a higher percentage of illumination, does that relate to an increased chance of a sighting happening or vice versa. I...
Assume that you having a heatmap that looks like this. The goal is to classify all the "dot" inside the image. How can that be done? The assumptions of the image: The image has always black background The white is values that are around 100 or more. In each cluster, there are only one maximum value I want to know H...
I'm working with an unusual dataset, where some of the covariates/characteristics are measured after the start of the study (though without a timestamp!). Basically, it's a dataset about an auction. We're tracking how long it takes for a product to change hands (like when it gets sold). When a product is put up for sal...
I have run multiple tests to determine normality on my dataset, but I am unsure which one to adhere to, especially since my histograms, density plots, and QQ plots leave much to be desired in terms of looking normal. To sum up my data, I have $37$ total observations in $2$ groups (Group 1: $n=16$, Group 2: $n=21$). If ...
I want to sample a continuous distribution $f$ using the Metropolis-Hastings algorithm. Can I define my transition kernel as being sometimes discrete and sometimes continuous as long as I use the correct acceptance probability? I'm trying to make sense of continuous-state Markov chain theory so I apologize if I'm being...
I am working on Deep Learning so I will try to ask this question from that perspective. It seems that most recent works in CausalML uses the framework of SCMs, and that assumes each observed variable has one corresponding exogenous noise variable. Now my question is: Why do we always need exogenous noise? For example, ...
A simple way I can think of to detect OOD samples is to treat them like another class in a multiclass classification problem. For example, with MNIST, we would modify the network to predict another class in addition to the 10 digits. So logit 11 represents OOD. Then we train the network with supervised learning where t...
Let $(\Omega,\mathcal{F},P)$ be a probability space and let $Y,S: \Omega \to \mathbb{R}$ be random variables with a density $p:\mathbb{R}^2 \to \mathbb{R}$ wrt. the Lebesgue measure with the property that $p(y,s) > 0$ for all $(y,s) \in \mathbb{R}^2$. Now let $f :\mathbb{R} \to \mathbb{R}$ be a measurable function and ...
I am supposed to check the significance of the connection between an arbitary Y variable (nominal\ordinal\binary I cannot know in advance) and an arbitary numeric X variable. This is a classification problem. However may I just flip the Y and X variables to make the problem simpler and use ANOVA? Instead of Y~X, just X...
I am trying to fit a GAM to model a presence/absence of marine mammals in function of temporal and environmental variables using MGCV (hence using binomial distribution). My 'precipitation' explanatory variable is zero inflated resulting in an weak increase of the presence probability with rainfall. This is unlikely co...
I'm looking to work out the difference in effect (time to surgery) between two patient populations (exposed and unexposed groups) and compare between two countries (i.e. difference in differences). i appreciate it may be confusing to understand, so here is a basic equation. time difference between groups between countr...
I am trying to understand the residuals returned from a fitted ARIMA(0,0,3) model. I simulated a time series and recovered the parameters: set.seed(seed = 1) x <- arima.sim(model = list(order = c(0,0,3), ma = c(0.8, 0.6, 0.4)), n = 1000) x.ma <- arima(x = x, order = c(0, 0, 3), method = 'CSS') x.ma Call: arima(x = x, ...
I have a question regarding the mtry values for the two models Bagging and Random Forests. I applied the mtry measure for the California Housing Dataset and then for another dataset about white wine. As you can see for the White Wine the pattern of MSE reduction is quite different than in the California Housing Dataset...
Assume I have a fancy procedure $w: X \to \mathbb{R}$ to come up with weights for examples $x \in X$. Think of it as similar to the weights used in e.g. some boosting procedures. Now, I want to build a classification Random Forest ensemble using bootstrapping, i.e. each tree is constructed on a randomly sampled subset ...
I have a complex sequence $z(t)$ in time which I know to be a Gaussian process. I read that the complex Gaussian process is not only characterized by the covariance, but also the pseudo-covariance matrix. However, I do not have expression for either of this. What I know is that the power spectral density (PSD) of $z(t)...
I have a data set with an effort rating (varying in an ordinal scale from 1 to 7) as the response variable and a time point of measure (seven consecutive measures) as a fixed factor. An individual is a random intercept in my model. My data set has 48 participants. I have modeled the data using the ordinal-package´s clm...
I am creating a sports prediction model with around 300 features. There is a high degree of multicollinearity which breaks an assumption for logistic regression. The issue is that several of these features contain the most information toward prediction. One such predictor is the current number of wins a team has, which...
Is there a way of specifying a quadratic regression between latent variables in lavaan? (Or in another R package for structural equation modeling?) That is, latent variable y, yLatent, is a quadratic function of latent variable x, xLatent, such that yLatent ~ 1 + xLatent + xLatent^2. Apparently there is no direct way t...
I understand the bias-variance tradeoff. But, I have never come across a scenario where that has changed anything in the modelling process. Is there any practical scenario that you have encountered where you dug into the bias and the variance tradeoff and the way you proceeded with the modeling changed because of that?...
I have conducted research which assessed the technical skills of surgeons. A surgeon will perform a simulated operation, and be assessed by two different assessors whilst completing the procedure. The assessment tool has several domains, which are averaged to give a final score, giving the surgeon two final ratings on...
I encountered a problem in developing an aggregation model of several indicators. Almost all the indicators are at a small geographical scale (admin2 / Provinces), but one is at larger geographical scale (admin1 / Region - that contains several admin2 provinces). The final aggregation should maintain the "admin2 / prov...
When I google search for the term, only 6 pages showed up. There is no authoritative paper on this, except https://arxiv.org/abs/1306.6430 which argues for using informatics concepts to generalize a prior. It seems an attempt to reconcile Bayesian inference with machine learning concepts. Is bayesian updating framework...
I'm looking at the sensitivity of a hall-effect sensor and trying to characterize its abilities visually. Most sensor ranges or power ratios are dependent on the direction of the sensor and also a degree θ so you get lobes of various power settings or sensetivity depending on the broadcast/reception nature of the equip...
This question is inspired by this programming question. Suppose I have 3 RVs which are independent. $$X \sim N(25.5, 2.5)$$ $$Y \sim N(25.2, 3.5)$$ $$Z \sim N(24.9, 1.7)$$ I want to know what is the probability that X is the minimum of the three. My first inclination was that is $P(X<Y) * P(X<Z)$ or $P(X-Y<0) * P(X-Z<0...
Let $q_\lambda(z)\in\mathcal Q$ be the variational posterior approximation of $p(z|y)$. Note that the optimal $\lambda^*$ is approximated by the following recursive sequence $$ \lambda^{(k+1)}=\lambda^{(k)}+\eta_k\nabla_\lambda\mathcal L(\lambda^{(k)}), $$ where $\mathcal L(\lambda)$ is the ELBO. I am interested in est...
Is it necessary in structural equation modeling (SEM) to incorporate all potential independent variables that could affect the dependent variable? Or is it acceptable to examine the influence of only a select few independent variables on the dependent variable?
I would like to test for linear a increase in performance in my training study using MATLAB. In this study each participant went through 6 training sessions, each session containing 4 time points of a learning a task with 2 conditions. So in total there are 24 (6 by 4) repetitions for each condition and participant. Wh...
I was wondering if anyone would be able to help me understand whether the proportional hazard assumption is met or not. For context I have a large dataset with >10 million observations (up to 40 observations for >27k distinct firms ). I have quarterly info on whether the firm failed or not in counting process style (ea...
I am modelling changes in diversity (using a modified Shannon-Weiner index over time for several sites) with a GAM. When I look at the acf and pacf plots, I don't see much autocorrelation in the acf plot, but there does seem to be a stronger indication for autocorrelation in pacf plot (plots below are from using the fu...
I am new to lme4 and curious if I am specifying my model correctly. I have EMA data that was collected within 3 bursts (baseline, mid-intervention and post-intervention). Within each burst, participants completed 3 EMA surveys a day for 7 days. Participants were also randomized to an intervention vs. a control group. I...
I have used the maximally selected log rank test to dichotomize a continuous variable (high vs low). I was curious if the maximally selected log rank test could be generalized to make 3 groups instead of two (high vs med vs low)? I am using r and have been using the maxstat package but didn't see any scenario where 3 g...
I’m conducting a meta-analysis on the association between LGBTQ+ discrimination and mental health. Both are continuous variables, and I am analyzing correlation coefficients. I’m interested in looking at moderators (continuous) of the relationship between these two variables. One such moderator is social support (conti...
I've been working on a project where I'm comparing different methods using a mixed-effects model, and I'd appreciate some feedback on my approach. Background: I have a dataset with several variables: method: Different methods that are being compared. ref_name: The reference being used in the benchmarking. val_dataset:...
I'm computing mutual information for several features where one of my datasets has one instance. One instance is because of a specific filtering criterion I used. I'm using sklearn.feature_selection.mutual_info_classif¶ to calculate MI. I am getting an ValueError due to this one instance. Anyway, I wanted to quantify t...
The modern popular frameworks that I am aware of for causal inference (i.e. potential outcomes or Pearlian) are based on a premise of uncertainty quantified as probability. There's nothing particularly wrong with that, but I like to explore tools and use cases. Interval arithmetic (IA) is a way of quantifying/qualifyin...
Let's say we have some binary variable of interest and fit a model to predict the probability of the two classes, say a logistic regression or a "classification" neural network. This model gives us predictions in the interval $[0, 1]$. Must these predictions satisfy the Kolmogorov probability axioms, even if these pred...
I am analyzing a longitudinal study where patients received either treatment 1, treatment 2 or no treatment (placebo) using linear mixed models (LMM) in R. I have a baseline measure that is related to changes in the outcome (significant 2-way interaction of predictor and time) and now would like to know if that baselin...