instruction stringlengths 9 38.7k |
|---|
Consider the random variables $X,Y$ and assume that
$$
E(X|Y)=0
$$
Does this imply that $$E(X|X\geq A,Y)\neq 0 ?$$
I think this holds for the truncated Normal, for example. But does it hold generically?
|
I am sure that this is a simple question, but I can't figure out what my mistake is. I am doing an ANOVA project using car::Anova. I presumed that the TSS would be the sum of sum of squares, i.e. TSS = ESS + RSS, but then figured that this does not seem to be the case.
Then I thought that this could be due to the inter... |
I'm currently struggling with the choice of time origin for survival analysis in my data.
My data comes from an ongoing clinical database of patients who all have the same genetic disease. In it, I have multiple variables; Birth date of the participants, several binary variables for a number of different clinical manif... |
I have a set of 2 - 10 explanatory variables which I'd like to use to predict the response variable, distance. The explanatory variables describe the flight of a projectile (velocity, spin, angle) and the conditions of the air it is flying through (temperature, altitude, etc.). I'd like to end up with an interpretable ... |
I run 100 simulations with CI at 99% and different seeds. For each simulation I created a report that contains different performance indexes (means) with their CI. However, I noticed that one index over 5 simulations didn't contain the expected mean. Maybe I'm wrong but when I choose 99% confidence level does it mean t... |
I am running an analysis that includes an argument for measurement invariance which can be set as true or false. If true, item-response probabilities are constrained to be equal across groups.
When I look up measurement invariance, all the examples are about whether a question measures the same construct across equal g... |
I want to conduct a Cox-regression with time-dependent covariate and other control variables and estimate K-M plot with log-rank test result. I will take the heart transplant as an example, some patients died without heart transplant, some patients died after heart transplant. I understand in R, the first step is to cr... |
I need a prior with 2 parameters location (μ) and scale (σ)
(a transformation of mean and standard deviation).
My distribution is over discrete values, equally spaced with distance $c$ between consecutive values. Only values between a lower limit $a$ and and upper limit $b$ are considered.
For $c\to0$, the distribution... |
A random walk can be generated by computing the cumulative sum of a list of random numbers.
import random
import itertools
import seaborn as sns
N=1000000
x = range(N)
series = [random.randrange(-1,2) for i in range(N)] # random integer numbers -1,0,1
walk = list(itertools.accumulate(series))
sns.lineplot(x=x, y=walk... |
I am trying to determine the best distribution to characterize a dataset. My dataset visually looks like Cauchy distribution would be a good fit, so I used python to fit a Cauchy distribution to my dataset. Visually, with the fitted Cauchy distribution plotted over the histogram of my data, it looks to fit well. Howeve... |
I was trying to do some manual calculations of knn regression and came across this unusual error. The predicted values done by hand do not match with the ones I got from the 'knnreg' function in the 'caret' package. So I used another package (FNN) as a second check and discovered that my manual calculations do agree wi... |
I have a data set of 1 categorical predictor (4 levels) and one non-negative continuous response variable (listed as "aphidleaf in histogram). The response variable is not count data and the zeros are important. I am interested in comparing the means of the groups, and was planning a one-way ANOVA until I looked at the... |
I am performing a univariate logistic regression where the outcome is obviously 0 or 1, and the independent variable has 18 different levels. I am looking for a way to graph the results of this regression, but most visualizations seem to be based around the assumption that the outcome is numerical.
Are there any common... |
Why do you make the claim that you want to prove ( or have a hunch to be true) to be alternative hypothesis? One might argue that it has to do with the way hypothesis testing is set up. That you find evidence against null hypothesis as based on the definition:
A null hypothesis is a statistical hypothesis that is test... |
This is my data
mydata <- matrix(c(86,1,14,0), nrow = 2, ncol = 2, byrow = TRUE)
When using fisher.test in R give
fisher.test(mydata)
Fisher's Exact Test for Count Data
data: mydata
p-value = 1
alternative hypothesis: true odds ratio is not equal to 1
95 percent confidence interval:
0.0000 241.4466
sample estima... |
I'm currently reading the book Probabilistic Machine Learning: An Introduction by Kevin P. Murphy and I'm stuck on the derivation of a formula in section 3.3.4 (Example: inferring an unknown vector)
Given $N$ noisy but independent measurements $\boldsymbol{y}_{n}$ of a quantity $\mathbf{z}\in\mathbb{R}^D$ with $\boldsy... |
Recently, I have read a paper (Bayesian Bridge Regression
, H. Mallick, 2018) which states that since
$$
\frac{\lambda^{1/\alpha}}{2\Gamma(1+1/\alpha)}e^{-\lambda|\beta|^\alpha}=\int_{u>|\beta|^\alpha}\frac{\lambda^{1+1/\alpha}}{2u^{1/\alpha}\Gamma(1+1/\alpha)}u^{(1+1/\alpha)-1}e^{-\lambda u}du
$$
then hierarchical rep... |
I am trying to generate a random sample of multiple variables which are loosely related to each other. Meaning that "allowed" values of some variables depend on the value which is set for another variable.
For simplicity let's imagine that I have just two variables - A and B and let's say that both of them have uniform... |
I'm fitting two linear models in R, one using a 'big' dataset, the other using a 'small' dataset which is a subset of the big dataset.
When I calculate out-of-sample R-squared from the two models the results are identical.
Can someone please explain this result? I expected the smaller dataset to have a lower R-squared ... |
There are many discussions on here about techniques for handling unbalanced datasets, eg.
Are unbalanced datasets problematic, and (how) does oversampling (purport to) help?. My question is different in that it pertains to a scenario where we have an unbalanced population but we have the ability to construct a training... |
I am working with a dataset that consists of multiple transactions from the multiple individuals over a span of roughly three years. From my research I understand that cross sectional data is rather a snapshot of a specific period. Logically I would assume than that what I am dealing with is panel data. However, most i... |
I have created an OLS regression model as part a pre-test/post-test experimental design with a single factor (group membership).
In order to investigate the interaction between pre-test and group membership, I created the following OLS model in python (using the statsmodels package):
post ~ pre*group
The output is:
I ... |
I'm working on a research project without much of a stats background so I need some help with figuring out which stats test to use currently.
I think I have multiple dependent variables to look at, and two levels of independent variables. As an example, I'd like to look at how both skin pigmentation (light, medium, dar... |
I am trying to understand the difference between a PCA, RDA and CCA analysis. Here is an example of a CCA triplot. It seems that a PCA + RDA = CCA plot. Here it's a CCA triplot, which incorporates one other component.
|
The triplet loss is defined as follows:
$$
L(A, P, N) = \max(\Vert f(A) - f(P) \Vert^2- \Vert f(A) - f(N)\Vert^2 + \textrm{margin}, 0)
$$
where $A$=anchor, $P$=positive, and $N$=negative are the data samples in the loss, and $\rm margin$ is the minimum distance between the anchor and positive/negative samples.
I read s... |
Based on my understanding:
Unsupervised learning problems are modeling data with no labels. Hence, we try to cluster a given data into clusters.
Supervised learning problems are modeling data with known labels. Hence, we try to
predict the label for a new point.
My question is, why splitting the data into training ... |
In maximum likelihood estimation there is a big emphasis on finding the global maximum, which is why likelihood functions that are provably globally (log-)concave are desirable (despite often being overly simple, like the Gaussian, logistic, Tobit, etc).
Bayesian estimation, of course, is for the most part integration ... |
The standard error of the mean is often calculated with the formula $\sqrt{\sigma^2 / n}$, which uses population variance (or an estimate of it).
However, standard error of the mean is defined as the standard deviation of the sample means. So why don't we ever directly calculate standard error of the mean as $\sqrt{E[(... |
the statistical model I had to use for my data turned out way more complicated than I expected. I could really use some help interpreting the results. I am very grateful for any help/advice you have for the following questions:
Since it's a binary logistics regression of GLMM can I interpret the results as they are or... |
Let's say I want to detect new species of fish.
I have several models, each trained to recognize a different characteristic, e.g., the speed of known fish, the size of known fish, their known shapes, etc.
Naturally, each model will be trained on a distinct set of data: dataset_1 used to train model_speed, dataset_2 use... |
Im trying to find the iteration formula for the maximum likelihood estimator of the parameter $\theta$ of the following discrete random variable, through the EM algorithm:
$$P(Y = y ) = \sum_{i=0}^{\infty} \frac{\theta^{i + y}(1+i)^y}{i!y!}e^{-2\theta-\theta i}, y = 0, 1, 2 \ldots$$
I know that we can use this as the a... |
I'm trying to find the correlation between a categorical and numerical data by using google sheets. The result of CORREL function is 0.041.
Could anyone help how to proceed from here to understand if the correlation is meaningful?
|
I'm implementing a search engine in two different ways A and B, and I am comparing their accuracies.
Accuracy of system A is measured as follows:
Given a query, I check if system A gives me the result that I want. Accordingly, I give a binary score(0 for No, 1 for Yes)
I make 100 such queries. The accuracy is just the ... |
I know I have to find the distribution of X and then sum the probabilities of the values that apply the rule, but I just can't figure out how to do it.
|
I have a highly imbalanced (~0.4% minority class) binary classification dataset of time series (flux) observations, and am now at a loss on how to classify it, as the data aren't separable. Here's what the data look like, both originally and with SMOTE oversampling.
I have tried SVM, KNN, RF, ANN, and CNN. SVM, KNN, A... |
If I apply an unsupervised learning anomaly detection algorithm to my dataset to detect observations that are fraudulent, how can I ensure that the detected class will correspond to fraud rather than another outcome? To my understanding, such algorithms (e.g., Isolation Forest) work by learning the joint probability di... |
Consider a scenario where you are trying to measure a dosage of a medicine. The machine is calibrated to fill a mean dosage of 50mg. But for a reason you believe that machine's calibration is off. For the above mentioned example null and alternative hypothesis will be as follows:
null: On the average, the dosage sold ... |
I'm reading up on Nested Sampling in the book "Data Analysis - A Bayesian Tutorial" (Sivia and Skilling, 2006), and I do not understand the following:
What I understand:
Given a prior $\pi(\mathbf{x})$ and a likelihood $L(\mathbf{x})$, where $\mathbf{x}\in \mathbb{R}^N$ are the parameters of a model, we want to compute... |
I am trying to fit a proportional hazards regression model to case-cohort data (where cases are oversampled and not representative of the population). I am using the Survival package and cch() function to fit a prentice-weighted PH cox-regression.
fit <- cch(Surv(followuptime, event) ~ A1 + A2 + A3, data =datadf, strat... |
Im solving Gibbs sampler related questions and Im trying to find the unconditional distribuition of $\beta | \lambda \sim N(0, \lambda^{-1}\Sigma)$ knowing that $\lambda \sim Gamma(\frac{\alpha}{2}\frac{\alpha}{2})$. I know that the resulting distribuition of beta will be a multivariate $t$ with $(\mu, \Sigma, \alpha)$... |
In case anyone sees this in the future, this is what I did.
For different concentrations, I did combine them. Specifically, what you do is combine the treatment groups and compare to the single control. There's multiple ways to do this, and in my case I used a tool in the software.
For time periods, I only used the fir... |
The Oja's rule for updating weights is defined as:
$$
\Delta \textbf{w} = \textbf{w}_{n+1} - \textbf{w}_{n} = \eta \textbf{y}_n(\textbf{x}_{n} - \textbf{y}_{n}\textbf{w}_{n})
$$
where $\textbf{x}$ is vector of inputs, $\textbf{y}$ is the vector of outputs and $\textbf{w}$ is the weight matrix that connects the inputs $... |
EDIT: Sorry, I wrote the previous post too hastily, not defining what specific variables I mean.
Thanks for the articles here, here, and here. I understand that it is possible to generate and retrieve sets of data for which the correlations are not transitive. However, I do not know how to apply it to a specific group ... |
maybe someone could help me with interpreting my Output from the glmer Model in R? In general I would use the Odds Ratio for interpretation- am I right? However, since it is below 1 I am not sure how to handle it?
I also have been struggling to plot my data correctly. Maybe someone has any ideas for this?
I would reall... |
I want to optimize adjust the parameters $\alpha, \beta, \gamma, \sigma²$ for a nonlinear regression model with the Maximum Likelihood estimator through Simmulated annealing, this is the model:
$$y = \alpha X_1 + \frac{\beta}{X_2 -\gamma} + \epsilon , \epsilon \sim N(0, \sigma²)$$
I know that simmulated annealing is an... |
I have been checking how each error metric works in the hope to find the best one for my data but it can be quite tricky actually.
I have monthly time series data and I am running a SARIMA model to predict my next 12 data points. Below you can see the chart and the outputs of MAE and RMSE.
MAE: 0.3452288 and RMSE: 0.47... |
How can I ensure that the detected class will correspond to fraud rather than another outcome, given that this is an unsupervised learning approach? To my understanding, such algorithms (e.g., Isolation Forest) work by learning the joint probability distribution of the covariates/input variables, then flags observation... |
I'm training multiple models to predict churn for customers belonging to online stores. Each model contains customer-level features and data related to n-number of stores. However, we've paid barely any attention when it comes to grouping stores together for the model training. We have roughly 300 different stores each... |
Let's say that I have a random variable $X$ that follows a singular Wishart distribution with $\nu$ degrees of freedom and a shape matrix $\Sigma$ that is $p\times p$. We can write "symbolically":
$$X\sim W_p(\nu,\Sigma)$$
where $\nu\le p-1$ for the singular case.
If $\nu$ is integral then I can get a random variate by... |
I believe this is a duplicate of this post, but I think someone can easily clarify my misunderstanding of the Beta pdf:
$f(x)=\frac{\Gamma(a+b)}{\Gamma(a)\Gamma(b)}(x)^{a-1}(1-x)^{b-1}$ for $x\in[0,1]$ and $a,b>0$
where $\frac{\Gamma(a+b)}{\Gamma(a)\Gamma(b)}=\frac{(a+b-1)!}{(a-1)!*(b-1)!*1!}$ if $a$ and $b$ are intege... |
Consider a data generating mechanism of $Y_i = \mu(X_i)+ \epsilon_i$, $\epsilon_i \sim N(0,1)$. $\mu(X)$ is a nonlinear function. Suppose $X$ is also a random variable with $E[X]=0$ and $Var[X] = \sigma_X$.
We fit a model $Y_i = X_i \beta$ using the Least squares method. Let
$$\beta^{*} = argmin_{\beta} E(\mu(X_i) - X_... |
Im trying to implement the EM algorithm on mixture model: $pg(x) + (1-p)h(x)$ where the sample $\bar{x} = (x_1, \ldots, x_n)$, is independently generated from the mixture, and $g(x) = e^{-x}$ and $h(x) = x^3 \frac{e^{-x}}{6}$. I want to calculate the E-step for this algorithm.
I already know that:
$$L(p | \bar{x}, \bar... |
I have to do linear regression on a dataset where variable "Brand" is categorical and had approx 120 different brands.
I conducted linear regression on it, but it creates a lot of dummies, and I'm more interested about the overall impact of this variable on the data, and not particularly interested in every each one of... |
am going to test the impact and relationship between income, which is an independent variable, and economic growth, which is a dependent variable, over 10 years in spss?
Thanks
|
I have the following categorical feature in a data table (recording the day of week when a certain action happened):
ID | DAY_OF_WEEK
---+-------------
01 | MON
01 | TUE
02 | MON
01 | MON
01 | WED
02 | SAT
02 | SUN
I have turned these into different columns according to days of week and proportion (percent) of events ... |
How to test a hypothesis that the variability of the dependent variable increased with respect to the independent variable?
i.e., I am interesting in something like a regression test, but I do not test the increasing mean, but rather increasing variability.
|
I have the joint pdf
$$f(x_1,x_2)=\begin{cases}\frac{1}{4}\;,\ -1<x_1,x_2<1\\ 0\;,\ \text{otherwise.}\end{cases}$$
I have to find the distribution of $Y=\frac{X_2}{1+X_1^2}.$
I have tried to take the transformation $Y_1=\frac{X_2}{1+X_1^2}$ and $Y_2=1+X_1^2$, but I am having problems understanding. Is this a good way ... |
The scenario is as follows: I have 1 dataset and I want to compare the performance of different algorithms. Let's say A, B, C.
I train each algorithm a 1000 times in one training loop. At the beginning of each loop the dataset will be split into a train-test split (random split). At the end I will have 3 distributions,... |
Let's consider an untrained classifier $f$ (with fixed hyperparameters) and a dataset $S = (x_i, y_i)_{i=1...n}$ sampled i.i.d from some unknown distribution $P$.
What is the unknown quantity that a k-fold CV tries to estimate? Is it:
the expected accuracy of the classifier $f_S$ trained on $S$: $E_{(x_i,y_i)\sim P}[1... |
I am trying to estimate the standard deviation of a population based on 100 samples each with 1,000,000 data points. I have been told it is acceptable to do this using only the average from each of the 100 samples (rather than using all 100,000,000 data points), but it seems to me that this would be quite inaccurate.
M... |
I am investigating the effect of a treatment on the risk of a disease (% disease=18.5% (515/2784)). To do so, I use a propensity score (PS) approach with two different weights methods: IPW (stabilized version) and overlap weights. I get different results and don't know which one I should trust more.
Some important char... |
I am comparing two tables with different size of features (rows), but the same number of samples (columns). I know that a significant part of the features are the same in the two tables, but they are labeled by different names, and I am trying to restore the link by correlating them. The current procedure is as follows... |
I am trying to implement some logistic regression using ridge in R for predicting company bankrupcy using a subset of this data but despite my best efforts and various lecture notes/online tutorials, the probability predictions it is outputting include some negative values. As far as I can see I am doing everything cor... |
I have a question about the function lm() used for multiple linear regression analysis.
Context: We have a dataset (that I cannot share) where $y$ is the proportion of women (in some context that I cannot share), then we have some independent variables $x_i$ (numerical values).
Hence I make the command line lm(y~x_1 + ... |
I'm trying to fully understand backpropagation by computing it by hand.
Often is cited that is just an alternation of the derivative of the preactivation and the derivative of the activation, however, I don't fully understand how it's actually implemented.
In particular, when I calculate the derivative with respect to ... |
I'm looking for the name of a statistical test or method to compute the statistical probability that H0 : two distributions of boolean variables are the same.
In an example, let's say i have a weighted coin that have a bias. If you throw it, you have either heads (1) or tails (0) and you have with this coin 20% chance ... |
I'm currently working on an event study to examine abnormal returns.
In the first step, I've calculated abnormal returns in regards to a certain type of company event, consisting of roughly 13,000 events and >4,000 firms.
In the second step, I intend to run a regression analysis with several (control?) variables to see... |
I (Psychology PhD student) have a large dataset consisting of a variety of numerical variables that I predicted may be related to one another. I have performed some basic statistical analyses (a factorial ANOVA or two) and I have found none of the hypothesized effects. Is it now worth performing more complex analyses p... |
How the equation 5.80 in _Pattern Recognition and Machine Learning_ by Bishop is derived?
|
I ran some linear regressions in R using lm, with an interaction term (cat x cat) as the predictor of interest (and also incorporating a covariate). To calculate the effect sizes of the interaction as a Cohen's d, I followed Jake Westfall's method as explained at http://jakewestfall.org/blog/index.php/2015/05/27/follow... |
Take the following example:
Take a sample from 100 people and measure their height. Assume that we know that height is approximately normally distributed, with a sample mean of 175 cm and sample standard deviation of 3.
Why is it so intuitive for me to think that the most probable distribution of height just based on t... |
I am trying to decide whether to add a covariate as either an additional independent variable, an interaction, or a random intercept (using a binned version). EDIT: To be clear, I'm not looking for "the answer." I'm wondering what tests I should be using, or what metrics to compare, to make a decision.
In my model, my ... |
How can we use Difference in Difference (DiD) estimator in cross country studies where we have to interpret results for each country separately?
Should this be one model using country dummy and country * explanatory interaction term(s)? Or different models for each country separately?
|
This problem is encountered by me lot of times.
Let's say I have a set of data points (x1, x2,....,xn) whose mean and standard deviation can be calculated. However these data points are non-normally distributed. Now, given a new data point (X_new), how do I infer how likely it is to observe this new data point being dr... |
Below is a snippet of real data that I am analyzing for a project. I typically use Bayesian models and am not that familiar with LMEMs but I've been asked to fit them here. I know there is no association between the response and the predictor, but I want to understand if any variation in the predictor is explained by a... |
I'm coming from a background with regards to randomizing treatment and just conducting measurement at one point in time. In my current setup, there are just four groups of interest: A control group (C), an education treatment (T1), a medicine treatment (T2), and the combination of the education and medicine treatment (... |
There is a problem that the calculation of ARI using the Adjusted_rand_score function in Scikit-learn does not match the results of the ARI calculation based on the paper proposed by Hubert et al1. Please point out any errors in the calculation method or Scikit-learn's handling.
The following clustering example will be... |
A classifier is said to perform online learning if it can detect novel class from the new input and register this class with classifier.
Since in most classifiers (particularly neural networks) we use softmax for the output function, how will the classifier detect a novel class? The outputs of the softmax sums to 1 so ... |
What measure can one see to find trend between values in a single variable- for e.g if a gene is always overexpressed in different conditions. Other than skewness and kurtosis are there any other measures?
I understand that the Mann-Kendall test is with respect to time
sorry if this question is very basic
|
I know that t-value can be calculated by
$(sample mean-population mean)/sem$
and that the standard error (SE) means the t value is calculated according to the sample size.
What I do not understand with SE is how much error can we expect when we say sample mean represents the mean of the larger population (Statistics in... |
A player has a historic success rate of winning 2/3 of games he plays.
He enters a series of tournaments, all 5 rounds each...1st round, 2nd round, quarters, semis, final.
How often on average will he win a tournament?
My theory... 0.66x0.66x0.66x0.66x0.66 is chance of winning particular tournament ie 0.125 ... therefo... |
I'm facing with anomaly detection (outlier detection) task with mixed (numerical and categorical) multi-feature data set. I understand that many of the possible multivariate outlier detection methods require numerical only features so I'm wondering to apply mixed-type dimension reduction technique (like FAMD) to obtain... |
I know there is already a lot of information out there, e.g. How to write mathematical formula describing my lmer model?.
I have Data from Soil C/N ratios relatet to tree species(PFT), Slope (HNnum) from different Plots and Elevation levels. I applied following linear mixed Models to identify significant effects on C/... |
Let assume that $\mathcal{A'}\subset \mathcal {A}$ (is a vector space) and $\mathcal {G'}:=\{g_\theta : \ \theta\in \mathcal{A'}\}$ (space of functions parameterized by $\mathcal{A'}$) and a metric $\rho: \mathcal{A'}\times \mathcal{A'}\to R$. Also assume that $|g_{\theta}(x)-g_{\gamma}(x)|\le C(x) \rho(\theta,\gamma)$... |
I wanted to ask if anyone knows how to obtain in a table the decomposition of the effect of the variables of a SEM model. I have made the model with the sem function of the lavaan package, but I don't know how to obtain the total, direct and indirect effects using the same package.
Thank you very much for your help.
|
I have started looking into causal inference, in particular Dowhy package based on Judea Pearls book of why. What i don't understand is how the counterfactual is estimated?
My understanding is that DoWhy package (based on judea pearl book) addresses counterfactuals by creating a bayesian graphical model (at very high ... |
i have a 2d Matrix and It contains specifications for laptops, where each group contains three components like thant :
[['8 gigabytes', 'Intel 9th Generation Core i7', '512 gigabytes']
, ['16 gigabytes', 'Intel 9th Generation Core i7', '1000 gigabytes']
, ['16 gigabytes', 'Intel 10th Generation Core i7', '512 gigabytes... |
I have a dataset where variance is different across groups, and there exist some outliers too. I used robust linear regression lmrob() to handle outliers. However, I need a method that takes care of variance heteroscedasticity too.
Also, the application of such method in R can be very helpful.
Thanks in advance for you... |
I want to compare two models of the form:
model of interest: y ~ measure_of_interest1 + measure_of_interest2 + confound1+ confound2
control model: y ~ confound1+ confound2
I will collect a test data set for the model comparison.
I am thinking of using the fitted models from the training set and then compute $R^2$ for ... |
I'm conducting a meta-analysis using package metafor in r and I want to test the possible moderation effect of 3 variables.
Of the 3 variables, only one gives me a significant effect on the 'Moderators effects', so I suppose I can say that only this variable has an effect. However, regarding the level of this moderator... |
I wrote a version of this question yesterday, and I think in my effort to be brief, I wasn't clear. So I'm trying again.
I have questions about a cross validation for ensuring the independence of data used to define clusters in a task fMRI study, and the data used to calculate a regression predicting brain activation w... |
I have a natural disasters dataset from EMDAT that records the impact of a disaster as an aggregate (Total) against locations as follows:
Total affected
Locations
10000
locationA locationB locationC
I need to assign each location its own total affected value.
What I have tried
I have divided the total value... |
I am conducting an analysis on RNAseq data on two populations sampled from different geographical regions. I used population A as discovery (about 120 samples and 150 matched controls) and population B as validation (about 100 samples and 100 matched controls) to find differentially expressed genes in cases vs controls... |
I'm referring to this post
What I don't understand is, if the result of padding is simply adding zeroes to ensure all input sequences are of the same length what is the masking stage doing exactly ?
Truncating would defeat the purpose of padding in the first place, and setting to zeros would be redundant as padding is ... |
I am reviewing an article, so I cannot give a lot of detail, but the study looked at length of stay for patients who had very different amounts of follow up, in a situation where multiple admissions were possible. The authors divided LOS by length of follow up. They said they did this because they wanted to look at oth... |
I want to visualize a continuous variable, BMI index, against a binary variable, heart disease.
I want to check by visualization in my data, if heart disease is more common among higher BMI index cases than lower BMI. I used catplot boxplot:
Plot = sns.catplot(x="heart_disease", y="bmi", kind="box",
... |
I'm working on classifying times series to find clear pattern of use. My data is collected from clients of a telecom company, and we want to detect pattern of the amount of data consumed by clients with their wifi box. So each client have a time series of how much data he consumed each 6minutes (I resampled it to hours... |
I am trying to understand the Random Survival Forest output and how to use it to predict survival times of a cancer patients in an active drug study. I have stepped through this demo that uses breast cancer data from 686 individuals to train a survival time model and I
don't quite understand the output of the trained m... |
I am reading the paper Luo et al.: Parameterized Explainer for Graph Neural Network and trying to understand the mathematical reasoning after Equation (4) on page 5:
How do they calculate $\operatorname{lim}_{\tau\to0}P(\hat e_{ij}=1)$?
I tried to rewrite (4) as
$$\hat e_{ij} = \frac{1}{1+\left(\frac{\epsilon}{1+ \ep... |
I am currently the scipy implementation of the Jenson-Dhannon distance to compare 2 vectors sampled from 2 distributions.
I'd expect the distance to be zero if I get the same samples - regardless of the order of my samples; this does however not apply:
a = np.array([0.1,0.2,0.7])
b = np.array([0.1,0.2,0.7])
c = np.ar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.