instruction
stringlengths
9
38.7k
I have this reproducible dataset: structure(list(age = c(62.84998, 60.33899, 52.74698, 42.38498, 79.88495, 93.01599, 62.37097, 86.83899, 85.65594, 42.25897), death = c(0, 1, 1, 1, 0, 1, 1, 1, 1, 1), sex = c("male", "female", "female", "female", "female", "male", "male", "male", "male", "female"), ho...
This paper claims: If we have two random variables ξ1 and ξ2, then we can form their mixture if we take ξ1 with some probability w and ξ2 with the remaining probability 1 − w. The probability density function (pdf) ρ(x) of the mixture is a convex combination of the pdfs of the original variables: ρ(x) = w · ρ1(x) + (1...
Given sample of single observation $x_{[1]}$, we are checking hypothesis $H_0 \sim U[0, 1]$ versus $H_1 \sim Exp(1)$. I need to find most powerful test for hypothesis checking with given Type I error level $\alpha = x$ and need to find power of the test ($1 - \beta(x)$) as a function of $x$. My attempt is: finding the ...
Let's say I have 10 different model combinations to compare via AIC for one year. There are 3 years of data, roughly 200-400 observations each year. For covariates, 2-3 of 5 appear to require tweaking via gam.check() more often than not--one year is particularly noisy. I am using gam.check() and ML to compare models wi...
I was reading up on how to normalize stock time series data for input into a neural network. What I've seen suggests things like min-max normalization and z-score normalization. The issue I see is, say you're doing a time series of 10 years. The stock goes up over time, and if one was using the first 9 years as the tra...
When analyzing a lognormal data with left-censored values using a regression model, I have read that you can use methods that fit right-censored data but “flip” the data by subtracting from some large constant. Why does this work? Why are the coefficients the same? This link describes the NADA package: "The routines in...
I'm working through material on logistic regression and I'm trying to understand how the mathematical relationship works to be able to make a certain claim. This excerpt comes from Beyond Multiple Linear Regression - Roback, Legler - pg. 221 So the coefficient being discussed here is the intercept which after we expon...
If we have two random variables $X,Y$ and their random sample $X_1, \dots, X_n, Y_1, \dots, Y_m$. We can test whether $F_Y=F_X$ by classical Kolmogorov Smirnov test, or AD test etc ($F_X$ is the Distribution Funciton of $X$). Question 1: What is "a good" test for more than 2 variables? So having let's say a random sam...
Say that we have a neural network with a set of weights. We train the network with SGD. Looking at a single weight w, we can plot the SGD derivative of the error with respect to the weight, against the value of the weight itself, which changes over time. These derivatives might look like the blue dots in the following ...
Do we need to take action when we encounter a skewed feature (not the target)? We can log transform for regression etc., but does it matter in also classification models?
From everything I have read, both tetrachoric and polychoric correlations assume normal distributions. However, the data I want to conduct these correlations with is not normally distributed. Does anyone know if there is an alternative approach to using tetrachoric and polychoric correlations when there is non-normal ...
I'm trying to identify temporal effects on different response variables (examined in separate models) from data that may have underlaying seasonality and was collected during multiple years (a few consecutive months each year at the same time, not continuous throughout each entire year). Because of the nonlinear season...
For a non-linearly separable problem, when there are enough features, we can make the data linearly separable. It seems to me that for logistic regression, the reason of overfitting is always excessive number of features. So why people mostly use l1, specially l2 regularization to shrink $w$ but not use feature selecti...
I am studying tf-idf (term frequency - inverse document frequency). The original logic for tf was straightforward: count of term t / number of total terms in the document. However, I came across the log scaled frequency: log(1 + count of term t in the document). Please refer to Wikipedia. It does not include the number...
I’m working on how different temperatures affect the scaling of metabolic rate and gill area with body mass. It is commonly accepted that both metabolic rate and gill surface area increase with body mass in a non-linear way, according to power-law relationships of the form of µ(Y)= a * body mass^b + ϵ. Here µ(Y) is eit...
The Question If I'm drawing up a table that describes some variables -- a data dictionary, say -- and I consider whether a variable is "ordinal", or "nominal", or "interval", or "ratio", I'm said to be thinking about the levels of measurement of that variable. (At least according to intro stats textbooks.) "Levels of m...
Apologies in advance if I am thinking about this in the totally wrong way. Essentially, I have a theoretical distribution that I want to test, using the KS test, if my numerical data follows the same distribution. I know that it should follow the same distribution, and get an accordingly very low D statistic. At p=0.05...
$Joint \:probability\;f(x,y) = 2/3 \:for\: 0 < x < 1, 0 < y < 2, x < y, and\: 0\: otherwise $ $E(XY)=\int_{0}^{1}\int_{x}^{2} \frac{2}{3}xy \:dy \:dx = \frac{7}{12} - (1)$ $E(XY)=\int_{0}^{2}\int_{0}^{y} \frac{2}{3}xy \:dx \:dy = \frac{4}{3} - (2)$ Hello, I am quite new on multivariable calculus so I am a little unsu...
If $\rho$ is a Pearson correlation coefficient, say between the price of crude oil and gold, what is $1-\rho$? More specifically, what is the interpretation of $1-\rho$? Would it be the degree of disassociation between two series?
How can i explain LGBM to a non-technical person as it involves Trees/Ensembling and much more? Using LGBM for solving a Regression problem and how does it helps in: Better Prediction Feature Importance distribution. Which hyper-parameters to focus more.
I would like to perform a permutation test on a dataset with several batches and would like to take those batches into account during testing. Similar to a linear model variable ~ explanatory_variable + batch. To illustrate what I mean, let's consider the following toy example: There are two main types of lung cancer: ...
What is the correlation coefficient (or range) $corr(y,\hat{y})$ for the regression $\hat{y}=ax_1+bx_2+c$ given that the correlation between $x_1$ and $y$ is 0.5 and the correlation between $x_2$ and $y$ is 0.5,and the correlation between $x_1$ and $x_2$ is 0. And what about the $R^2$?
I tried to create ARCH-GARCH as conditional variance equation but the result of conditional mean analysis (I use ARIMA) shows MA(q) or ARMA(0,0,q) fits conditional mean modelling. Data has ARCH effects.
What interval does the median fall into when the values of the numbers before and after the median aren't specified, but are the last and first data points in the intervals sorrounding the median, assuming n is even? e.g assume intervals (0, 5] (#1) and (5, 10] (#2), in a sample of n=10, where the median is the average...
Factor analysis is used for cross-sectional data where the observations are independent. How is this concept applied on time series data where the observations are not independent?
My task is to determine whether two different categorical variables (residence location (city/rural) & residence size (small/medium/large)) have a connection on one numeric variable (residence size (m^2)). Here's how I started with R studio: determine mean, median and standard deviation Shapiro-Wilk tests of normal d...
When performing analyses using polygenic risk scores (PRS), Why is it important to standardise/normalise PRSes using mean and sd derived from control samples, before performing analyses, such as logistic regression? How would results change if we simply normalised the entire dataset (viz. wrt entire sample's mean and ...
I'm looking again at R's Rcapture package using the example given in https://hrdag.org/tech-notes/basic-mse.html and mirroring the results in a standard GLM. There are four columns samples in my data A, B, C and D and the best RCapture fit is [34,1,2]. Fitting this by glm(Freq ~ C*D + A+B, family = poisson(link="log"),...
I am trying to test for association between continuous fractions of cell types in a sample (e.g. immune cells, cancer cells, fibroblasts...) and tumour grade (categorical/binary/ordinal, grade 1 or 2). The cell fractions always add up to 1, because altogether the cell fractions make up 100% of the sample. Many statisti...
I'm trying to learn about rank tests, and having doubts abouut how I should a result from a Wilcoxon Signed Rank test. Suppose, we are given: Z = -2.201, r = - 0.845, P < 0.05, then how should I interprete these three numbers and describe them in words?
I am trying to figure out whether a general (simple rule) exists for my problem. Specifically, if I have a dataset where some variables (independent/control; not the dependent one) may be measured with errors and I know for which specific observations this happens is it better to control with dummy variables or to remo...
you have helped me tremendously over the past years and so far, I could find an answer to any the question I had! Thanks to anyone active in this community, I don't know what I would have done without you! But over the past days, I have been unable to find a solution for the following problem at hand: Situation I have...
I am learning about power analysis for different scenarios in Python, e.g. for three groups (assuming equal sample in each group). I've seen videos demo for SPSS and other softwares, where you simply put in mean and stdev for each group and the total # of groups and then it gives you an output of effect size. So I assu...
I have a binomial classification (yes/no) made on about 100 words. For each word, I can compute several time series (fo, intensity, etc.). I’m finding difficult to model (using GAMs) the outcome, using as predictors the time series. Can anyone point me to the right direction?
Hello I'm an undergraduate student doing research about prevalence of carpal tunnel syndrome among college students I want to follow the method of this research (prevalence of carpal tunnel syndrome among laboratory workers), to detect the prevalence. I have an outcome variable called symptom severity scale which we ob...
I am trying to use the Delta method (Please have a look at this link) to compute the covariances between the ratios of random dependent variables. I have 7 dependent variables $A_i$, $i\in\{1,2,3,4,5,6,7\}$. The $A_i $ variables are strictly positive. I have experimental estimates of the expected values, and the varian...
I am running an longitudinal study on electricity consumption. I test the effect of 3 interventions on DV consumption in kWhs. For the interventions, I have a categorial dummy var with 3 levels. I run a repeated measures ANCOVA with weekly electricity values as factor levels of the "within" factor, and regress that on ...
I would like some clarification as to how principal component analysis mitigates the Curse of Dimensionality problem. My particular interest is in curbing overfitting in my modelling, or more specifically parameter count. If I use all 30 of my features I will have a model with 30 parameters: this is too large a number ...
I've been reading about different types of neurons that the traditional linear one. One example I came across is the Sigma-Pi neuron, where the activation function includes higher order terms, such as What are the advantages and disadvantages of using neurons like that? Why do we tend not to use them in favour of the ...
Would anyone be able to explain conceptually why GLMMs with a random intercept at the study level are occasionally used for meta-analysis of proportions / counts, when the observations are already at the level of the study? I only have one observation per study in my dataset, so I'm not sure where the within study vari...
I am trying to predict grocery store sales from the number of cars in the parking lot. I have a dataset of around 400 stores, over two years, with a count of the number of cars in the lot at the same time each day, and the $ of sales that day (I have other data as well, but for the purpose of this question it does not ...
I'm trying to model a survival situation like the following: Say I have 100 data points, and each will survive some number of days before dying at some point. In my problem I know that over a span of 70 days, only one data point will die each day. So by the end of 70 days, 70 are dead, and 30 are left. (And along the w...
Hay, im a newbie and still need more learn. I have several question, I'm trying to create a negative binomial regression model using the R and library(MASS). But i'm still confusing what sould I use glm (Y~X1+X2+X3+X4+X5+X6+X7, family=negative.binomial(theta), data, maxit) or glm.nb. What is the difference between tho...
In a survey on Qualtrics, I have asked two groups (Group A and Group B) to rank their preferred mode of communication: "list the following modes of communication in order of your preference, drag and drop the most attractive on top to the least attractive on the bottom: portal-based; videoconference; phone; in-person; ...
I was going through solutions for a regression problem competition on Kaggle here. Many solutions for the problem are combining cross-validation estimators like RidgeCV, LassoCV with cross_val_score for the model selection phase (Later, they blend these models). One example from a solution is kfolds = KFold(n_splits=10...
I want to show that if $(X_1,X_2,\dots,X_n)$ is an $n$-variate random variable, then its CDF is continuous at a point $\vec a$ iff $$P\left(\bigcup_{k=1}^n\{X_k= a_k, X_j\le a_j\:\forall\:j\ne k\}\right)=0$$ I don't understand how to show this result. If I use the usual definition of continuity, then it would be very d...
I have thinking about this problem for a while but couldn't quite formulate a proper solution myself. I am also not even sure if it is appropriate to speak of "outliers" or if the term "unsuitable values" would be more suitable. Summarizing my problem in a few bullet points: my (panel)dataset contains bank balance she...
It is known that the Cauchy distribution has undefined moments, and that the expectation has a principal Cauchy value $\operatorname{PV}\left( \mathbb{E} [X] \right)$ of zero. I wonder if $\operatorname{PV}\left( \mathbb{E} \left[ (X - \operatorname{PV}\left( \mathbb{E} [X] \right))^n \right] \right)$ exists for all $n...
I have a sample of data (covering most of the population ~95%) with the following stats: N: 2054 Min: 0.0 Q1: 0.11363636363636365 Median: 0.1590909090909091 Q3: 0.21 Max: 0.8534999999999999 IQR: 0.09636363636363635 Lower Outlier: -0.030909090909090886 (using a distance of 1.5) Upper Outlier: 0.3545454545454545 (using a...
my data looks kind of like this (with maps 2,3,6,7... in between): animal map velocity frequency location 1 1 1,235 115 RA 1 1 0,436 115 RA 1 1 3,124 115 RA ... ... ... ... ... 1 4 1,212 116 RA 1 4 0,123 116 RA 1 4 1,124 116 RA ... ... ... ... ... 1 5 1,212 122 LV 1 5 0,132 122 LV ... ... .....
I have a neural network structured like this: inputs -> neural network layers -> intermediary output -> more layers -> output I would like to use the features from the intermediary output for a different downstream task, but I don't want the features to be overfit. When model chaining with other methods I would use k...
As a statistician, I was given a task to fit a mixed effects model where the right-hand side independent variables include a time variable, a time-varying variable, and the interaction of the time and the time-varying variable. I do not quite understand the model specification and am not sure how to interpret the resul...
I found this article: https://sakai.unc.edu/access/content/group/2842013b-58f5-4453-aa8d-3e01bacbfc3d/public/Ecol562_Spring2012/docs/lectures/lecture22.htm#choosing and most of it is showing the origin of estimating equations, going exactly through the ML estimation. Then it's switched to "quasi-likelihood" and said, t...
I need to run a one way ANOVA on some data (water_content) from 3 treatment groups (Water), but am struggling to interpret whether I need to transformation the data to make it appropriate for my lm() models. The outputs from the plots of my lm() model are included below: The code I used was: water_content_model <- lm(w...
From a classical perspective, I have outlined some examples of models in which Probability seems to play an "inherent role" in Regression and Classification: As a simple example, suppose we have some data (e.g. heights of students: 175 cm, 181 cm, 162 cm, etc.) . If we assume that this data comes for a Normal Probabil...
I am in the process of developing a scale that is supposed to measure construct X with 4 factors. I have already found support for a 4-factor model to the data using exploratory factor analysis. Now, I'm thinking of performing a confirmatory factor analysis that specifies a one-factor hierarchical structure with 4 face...
I am well aware that cross validation is a usual method for selecting hyperparameters. However, I am looking for theoretical guidance on how to pick $k$, the number of neighbors, for a $k$-nearest-neighbor classifier. For example, one might imagine there exists a rule of the form $k^* \propto f(N, D)$ that advises how ...
I'm having trouble finding a minimal sufficient statistic for this particular population. It has the pdf defined as $$f_\theta (x) = 4\theta^4 x^{-5}$$ if $\theta \leq x$, and 0 otherwise. We take $n$ simple random samples $(X_1, ..., X_n) = \vec{X}$. My work: I've gathered the density function for $\vec{X}$: If all th...
Can someone help me understand how Prophet automatically detects the change points in its piecewise linear trend model? Please check page 10 of Prophet paper (Forecasting at Scale: https://peerj.com/preprints/3190.pdf) Thank you so much
Code using glm: model <- glm(vs ~ hp, data=mtcars, family=binomial) newdata <- data.frame(hp=seq(min(mtcars$hp), max(mtcars$hp),len=100)) newdata$vs = predict(model, newdata, type="response") plot(vs ~ hp, data=mtcars) lines(vs ~ hp, newdata, lwd=2) plogis(predict(model, newdata = data.frame(hp=150))) Code using cdplo...
I have a graph $G$ with vertex set $V$ and edge set $E$. I measure two signals on the vertices of the graph $X$ and $Y$. If $X$ and $Y$ are both continuous, we can measure spatial crosscorrelations between them using Moran's $i$. If both are binary, we can measure spatial crosscorrelations by examining the cuts they in...
Let $f_1(\cdot|\Theta_1)$ and $f_2(\cdot|\Theta_2)$ be two Feedforward Neural Networks with the same architectures (number of layers, width of each layer, activation function...) and parameter arrays $\Theta_1$ and $\Theta_2$ respectively. Since $f_1(\cdot|\Theta_1)$ and $f_2(\cdot|\Theta_2)$ are entirely parametrized ...
I am curious about orthant probabilities for the multivariate normal distribution for any finite dimension $n$. While Wikipedia currently doesn't seem mention these quantities the Wolfram Mathworld entry for the bivariate normal gives $$\frac{1}{4} + \frac{1}{2 \pi} \left( \sin^{-1} \rho \right)$$ as the quadrant proba...
I’m trying to find some way to mathematically calculate the number of peaks in a distribution. I know there are various tests (such as Shapiro Wilk) that assess whether a distribution is normal, but I’m not aware of any that actually tell you how many peaks are present. Normally, I’d just do this visually, but this is ...
I face a problem of causal discovery with latent confounders. Unlike latent variables dealt in FCI (the Fast Causal Inference algorithm), the latent confounders in my problem are known to have some unique structures. Specifically, we know that all the latent confounders ($U$) are children (or parent) of some observed v...
Are there any academic papers that used MSE*p to select model from a set of candidate models (for example, candidate models are from backward selection)? MSE is mean squared error, and p is the number of predictors in the regression model. Thanks!
I know that it is recommended to have features on the same scale for LASSO, such that the scale does not affect the penalty. However, does it matter whether or not features are scaled using $\frac{x-\mu}{\sigma}$ or $\frac{x-x_{min}}{x_{max}-x_{min}}$? This is purely for prediction purposes if that is important.
I'm unclear on if its important to perform cross-validation when determining if a dependent variable has a significant effect on my independent variable in multilinear regression. Specifically, I'm fitting some linear models to determine if my independent variable predicts my dependent variable, controlling for age and...
I'm working on a multiple regression problem where I have reasons to believe some (if not all) of the regressors have been cherry picked/data mined to a varying degree. My hypotheses are that there's a general regression to mean effect and also some time dependent data mining (i.e., a regressor that was coded long time...
Suppose that I have known that $X$ and $Y$ have high dependency, $Y$ and $Z$ have high dependency, and $Z$ and $X$ also have high dependency through three different 2-copulas. Suppose I fit one 3-copula, will my results be superior to the ones where I fitted three 2-copulas?
Suppose 2x−3y= 5 is the relation between the variables x and y .If the variance of x be 1.44 and y has mean 1, then calculate the coefficient of variation of x
An urn contains $N_1$ red balls and $N_2$ green balls. Each ball has an associated weight. Each ball is drawn (without replacement) with a probability proportional to how much its weight contributes to the urn. What is the probability that when we draw $x$ balls, we get $x$ red balls and $0$ green balls? Example: 2 r...
I am comparing two diff treatments: H0: p_t1 = p_t2 Ha: p_t1 ≠ p_t2 Treatment 1: 47030 trials, 5390 worked Treatment 2: 340 trials, 11 worked from scipy import stats import numpy as np trials = np.array([[47030, 5390], [340, 11]]) stats.chi2_contingency(trials) p-value from above is close to zero so null hyp is rejec...
I am computing reliability for some scales using the omega function in the R package psych. For one 3-item scale, the omega hierarchical is very close to 0 (.03), but omega total is reasonable (.79). Could someone please explain what that means/why that would happen? I know it has something to do with the presence of o...
I am trying to summarize results from an article for a review (available for free here, I am looking at table 3), and thus want to find Standard Errors (SE) to compute confidence intervals. The article I am looking at gives the results of a Poisson regression as Incidence Rate Ratios (IRR) (that comes from exponentiati...
Lets say you have a regular 52 card deck, you split it in half and you're presented one of the halves. What is the probability that the card you'll draw is the ace of spades for example? This is kind of confusing me because the sample space/the half you're choosing from might not even have the aces of spaces if its in ...
In order to do some time series analysis, I used the decompose() function, to retrieve the adjacent plot. However, I was asking myself about the meaning of the gray bars at the right side. If the show the importance of each time series component, then I do not understand, why there is also a gray bar for the original t...
How do you optimize your hyperparameters when using prophet for forecasting? I have been using cross validation and I don't know why no information criteria (such as AIC or BIC) has been implemented into the package. Thank you!
I have some data on the composition of purchases by households, before and after an intervention. This composition is known at the number of items or amount spent level within 7 categories, and can be converted into a proportion of purchases or expenditure in each category. I would like to be able to say if the mix of ...
I am just starting the learn about GPR, and have two questions which I've not seen addressed in the material I've read: (i) In my regression courses, emphasis was placed on the examination of the fit residuals, in order to ensure that the model was appropriate (e.g. non-random residuals show that a straight line does n...
I am using a conditional GAN with a relativistic loss function for both generator and discriminator (https://arxiv.org/abs/1807.00734). Before I added the relativistic part, the discriminator converges very fast to always classifying right, which got me thinking that maybe the gradients were not changing anymore, and t...
I am trying to forecast volatility on four different time series which is returns of SP500, Nasdaq 100, Dow Jones and Russel 2000. the four time series consists of 3259 observation and is divided into 45% training and 55% forecasting analysis. the coding looks like this for Russel 2000: insample_ts4 <- my_ts4russel[1:1...
I am working with R and with financial series of 15 stock market indices with a weekly frequency. I want to obtain the estimated volatility since it is the input I need to perform a volatility spillovers study. Should I use an ARIMA model for each series to model the mean of each series or do I have to use a multivaria...
I have a classification problem with the following example independent features: recommendations comment_count comment. 0.663 . 0.382 'yes', 'trump' The dependent variable is whether the comment is likely to receive a reply or not: get_reply 0. I want to apply regularisation to a the logistic re...
So basically, I started my internship in business intelligence, and when my boss know that I have a background in machine learning and deep learning. so, he asked me to build a model that predicts a specific number for the next month. so, it time series problem, and the datasets that I have it is very small it starts ...
I am conducting a network metanalysis using mean difference and standart deviation but I have issues converting some of the data presented in the articles selected to mean and standart deviation. The outcome is a time to an event however the delay and nature of the event makes it that all event are observed and there i...
I have conducted a study where I have collected dependent data (not i.i.d) from 10 participants, measuring variables X and Y from the participants at various time-windows. Thus I have n=350, for variables X and Y. I want to perform a correlation analysis for X and Y I have collected, over all of the 350 data points. Wh...
I am studying linear regression and in particular, I am trying to solve an exercise from my book. The model I am focusing on is about wages and education and the text gives me the output of the estimated model. I have the coefficients, their std. error, their t-ratio and p-value. about the model in general I have $R^2$...
In a linear model that predicts birth rate (TFR) per country from per capita GDP, the country is encoded in "treatment coding", and there are several measurements (different years) per country. I would thus have thought that the first level represents the "reference intercept" and the predictions for only this first le...
I have a block that outputs a single value when fed with a time series containing a 1000 points. I also have a dataset of records of about 20000 input time series (each containing a 1000 points) and their corresponding 20000 output values. I want to model this (unknown) block. I thought that a neural network might help...
X is a Random Variable that can take values only in $[0,10]$. Suppose $P[X>5] \leq \frac{2}{5}$ and $P[X<1]\leq \frac{1}{2}$. Then what is the interval for the $E[X]$? Answer : $E[X]\geq0.5$ and $E[X]\leq 8.5$. It is pretty straightforward to show that $E[X]\geq0.5$ via Markov's Inequality but I don't understand how to...
We have the following GP regression model: \begin{equation} y_i = f(x_i) + \epsilon_i \end{equation} where $y_i\in \mathbb{R}$,$x_i \in \mathbb{R}^d$. Then, a Gaussian process, $f$, is defined by \begin{equation} f \sim \mathrm{GP}(m(x_i), \kappa(x_i,x_j)). \end{equation} Say we have $n$ datapoints $(y_1,x_1), (y_2,x_2...
Let’s say I did a linear regression on a dataset with 10 observations, and I got the estimated slope as $b=0.5$ and residual variance as $\sigma^2=5.2$ and further, $$(A^TA)^{-1}=\begin{bmatrix} 2.54 & -0.21\\ -0.21 & 0.11\\ \end{bmatrix},$$ where $A$ is the design matrix. Here we have the first column of $A$ corres...
I want to check the test-retest reliability of a questionnaire. -A total of 300 adolescents from the same school (10 classes) participated in the study. -The instrument was applied in two moments with an interval of 7 days. -The same evaluator applied the questionnaire in both moments. -The questionnaire generates a sc...
Suppose $$ X_i \sim \text{Bernoulli }(p) $$ What can be said about the distribution of $Y$, given by $$ Y = \sum_{i=1}^N w_i X_i $$ for non-negative weights $w_i$? Note that $N$ here is small, so that no form of the CLT may be applied. I know, from this question, that this is a Poisson Binomial distribution if $w_i=1$...
I have data points with 10 variable values each, each belonging to one of two groups (A and B) that look like this: Group A: datap1 = [0.2,0.4,0.7,...,1.4] datap2 = [0.1,0.5,0.9,...,1.9] datap3 = [1.2,1.8,2.1,...,2.9] dataN = [dist1, dist2, dist3,...,dist10] etc. Group B has similar data points, but the number of da...
as title says, i have created a little bayesian fcnn with dropout layers trained on some cosmological data that come with a covariance matrix that is almost 0 everywhere. My goal was to use the NN to predict some continuous values in a range where data are scarce (it's a regression case), but i also need the covarian...
I have two sets of data $R$ and $R^{'}$, and I would like to perform regression to infer whether for some function $f$ (which I postulate) and some data item $E$ (representing noise), there exists a relationship $R' = f(R,E)$. Initially I thought I would try some linear function such as $f(R,E) = \alpha R + \beta E = R...
I am using a random forest classifier for binary classification with 977 records and class proportion of 77:23. I am using Lime explainer to explain the predictions made by the model. However, I see that my Lime exp score is only 20-40 for 80pc of my observations. But I like the idea that Lime discretizes continuous va...
I am analyzing the impact of the change in the management of appendicitis during the covid pandemic. I have paired data from 31 reports comparing the number of operations for perforated and nonperforated appendicitis during the lockdown period compared with that during the same time period in 2019. So essentially I hav...