instruction
stringlengths
9
38.7k
We have a customer purchase transaction history data with variables like below recency - how recently they bought? frequency - How often they bought? monetary - How much value did they bring to the company? and also few more variables like product id, purchase date etc. We would like to do the below projects a) Custome...
I'm writing a duplicate file finder application, and I do not want to have to read every byte of every file to determine which files are duplicates. Hard drive storage is segmented into clusters of X number of bytes. For example, on Windows, the average cluster size is 4096 Bytes (or 4K). Therefore, my current algorith...
I want to understand why mini-batching is used to train neural networks (rather than using the entire dataset for every update). Is the reason purely that with big datasets, it requires big computing power to use entire dataset every time, so mini-batching is the intermediate solution? If so, does that mean that it's b...
I have seen clustering based upon different metrics. However, none of them sees inherent correlation structure in the data. I could use Mahalanobis distance to account correlation in population level but it does not account group correlations. Or maybe I could manually add groups as covariates which should account for ...
Consider the example Bayesian network below where $X \perp \!\!\! \perp Y $ (X is independent of Y). Assuming that this is the true independence structure of the process that is generating the data, we could for instance infer $$ P(Z|X,Y) = \frac{ p(Z|X)p(Z|Y)P(X)P(Y)}{\sum_{Z}P(Z|X)P(Z|Y)P(X)P(Y)}. $$ I would like to...
I'm playing with different learning rates and batch sizes for a neural network. What I want to understand is a more technical definition of what learning rate is. I understand that it is, in some way, a "step size" for the adjustments made to the network parameters based on the data it sees. However, I'd like to unders...
I need to obtain an isotropic sample of discrete distributions over $d$ outcomes which are far from uniform in some measure. For instance, using linear entropy as the complexity measure, we can isotropically sample from the simplex, reject points with $\sum_i p_i^2<c$. However, for $d=100$, this has almost 100% probabi...
I am trying to find variance of Y=1/(1+abs(x)) where X is Gaussian RV with mean m, var sigma^2To do that my initial step is to find MGF. can anyone give me suggestions on how to find it?
I have a daily time series with multiplicative seasonalities : yearly, monthly and weekly seasonalities. I want to try a GAM model to forecast the time series I don’t know how the trend should be accounted for. I plan to use natural cubic splines with continuous time as a feature to model the trend. During inference, ...
Based on this question, I am seeing negligible correlation between temperature and precipitation. Since, the data points represent annual averages for 42 years, will it make sense to correlate the same variables but this with time monthly averages for the same timeseries to get better/improved correlation results (due ...
I am working on a classification problem. Several models are produced and all have accuracy, precision and recall metrics on test data. I need to pick the best model among the alternatives. What I can think of immediately is to combine precision and recall using F1-measure and use this as a decision metric to pick the ...
I was reading Rao (2017) (Ch3) on profile likelihood. An example is provided which shows how the parameters of a Weibull Distribution can be estimated using the "profile likelihood approach": It seems here what they are doing : They are able to re-arrange the original likelihood so that its now only in terms of "alp...
I am an MBA student taking some courses in statistics. We attended a seminar on GLM Models for Count Data in which the presenter was introducing us to the concept of "Nuisance" Parameters. I am not sure that many of us fully understood the idea - but what I got out of it, was the following: If you have some Normally di...
Does adding more covariates always increase the condition number of the Hessian, and can you have a high-condition number but higher log-likelihood/more optimal model? Should we ever not use the model with a higher log-likelihood if the condition number on it is more than $10^{15},10^{16}$ or does the better model alwa...
For my master thesis I conducted an online experiment where participants had to conduct a shopping task where they were provided with a local and a non-local product three times in a row. So for three times, they had to choose between either the local or the non-local product. The result of the shopping task is my depe...
Consider the probability space $([0,1], \mathcal{B}[0,1],\lambda)$ where $\lambda$ is the Lebesgue measure. Let $A \subset [0,1] $ and define $ X_t(\omega) = \begin{cases} 0 \;\; if \; \; t = \omega \;, \; \omega \notin A \\ 1 \; \; \; otherwise \end{cases} $ I would like to argue that all $X_t, t \in [0,1]$ are rand...
I am trying to simulate some data from a linear fixed effects model with correlated errors. The model is quite simple, inspired in a pre-post study. $$Y_i|X_i=x_i\sim N(x_i\beta,\Sigma_i)$$ where $Y_i=(y_{i,pre},y_{i,post})^T$, $x_i=\begin{pmatrix} 1 & 0 \\ 1 & 1 \\ \end{pmatrix}$, $\beta=(\beta_0,\beta_1)^T$ and $$...
Consider a classic linear regression model. I want to show that the Wald, Likelihood Ratio (LR) the Lagrange Multiplier (LM) test statistics for the null hypothesis $H_0: R\beta =r$ for a constant vector $r$ are all monotonic functions of the standard F statistic. Please suggest a book or document which show this theor...
My question is pretty similar to this one, but I don't seem to get an F-statistic. Hi, I know that we would usually report an ANOVA result as F(between groups, within groups DF) = f-statistic, p value but I'm wondering how to report an Anova used to compare multiple models ? #Anova 1: mod1 x intercept-only model > an...
For disease detection, we need a high recall. For information retrieval system, do we need a high precision?
Let random variables X and Y be defined on the same probability space $(\Omega, \mathcal{F}, \mathbb{P})$. Assume their distribution functions $F_X$ and $F_Y$ agree for all $x \in \mathbb{R}$. How would I conclude that that their distributions $\mu_X$ and $\mu_Y$ agree on $\mathcal{B}$? Would the same hold if the assum...
Let's say you are in a Casino and you are playing Craps. Your desired outcome is 1/36, (every time it is rolled). Every event is independent. If you get a hit (a 1/36 chance) you get paid 36 times your bet that you put down. Now my friend says that you have theoretical vs empirical odds. We are saying that if you roll ...
Is the term “latent effect” in statistics has the same meaning as “latent variable”? If not, then what would be its substantive interpretation? UPDATE: There is a whole class of models called “Latent Gaussian models”, and that is where my confusion comes from. Basically, any article/book on Bayesian-hierarchical regres...
I need help understanding if I need to / how to apply a bonferroni correction! I have one continuous variable and three unrelated groups that have completed scores on this variable (Groups: A,B,C). I planned to conduct 4 pairwise comparisons with this outcome variable (A-B, A-C, AB-C and A-BC). Unfortunately normality ...
Can someone explain how the resulting graph is the minimum spanning tree (MST) from the fully-connected undirected graph? I don't understand how this is interpreted in this context. Definition according to Wikipedia: A minimum spanning tree (MST) or minimum weight spanning tree is a subset of the edges of a connected...
Assume a time series with a clear seasonality with observations every quarter. If you want to use that time series and make predictions four steps ahead, but you are only interested in what the forecast say on an annual level (mean of the four quarters for example). Is it in this case important to remove seasonality be...
I read this very useful article on omega reliability coefficients and have since been toying around with it in R (using the reliability function from the semTools package). However, one thing that I'm still confused by is this part of the output, which is outlined in the article: From what I've seen, omega and omega2 ...
Evident from the title, i am looking for books about the general statistical data analysis techniques such as hypothesis testing, etc but for large and sparse dataset.
I'm using glmnet to fit a ridge regression model on some data and evaluate the model's test MSE. The lambda value I select is derived from cross-validation. I'm using the College dataset from ISLR2, predicting applications to each college. I have tried the following two approaches, and while in theory I should have the...
I have a binomial response variable -proportion of removed fruits, or plant visited or not visited by a frugivore- in a GLMM. I would like to control for differences in the sampling effort (time) among plants. I know that offset terms are often used for count data as "offset(log(time))". However, I was not able to find...
I am doing a Masters project (in environmental sociology) which includes a series of 15 questions that use a 6-point Likert scale to respond to various statements. In my pilot survey, my supervisor calculated Cronbach's alpha and said the internal consistency is too low (alpha = 0.63) and suggested I redo the questions...
I am trying to estimate the effect of two successives policies on individual subjects. I have a panel data following individuals each 3 years from 2005 : 2005, 2008, 2011, 2014 and 2017. The first treatment (T1) occured in 2014 : individuals could choose to enter in a program. The second treatment (T2) replaced the fi...
I learnt that sequential Bayesian update and one batch (all at once)update will give the same result if the observations are i.i.d. I tried to test this theory using my model which contains 4 parameters (2 of them are highly correlated). Here is how I implement it: I divide 500 observations into 10 sets of 50data for ...
In most books, the result that the MLE is asymptotically normal is given, and that is used as the definition of asymptotically normal, with no mention of what the actual definition is for a general estimator. Let $\hat{\theta}_n$ be an estimator for $\theta$. Consider the following definitions. Defn 1 (Wikipedia): $\ha...
I have been studying fixed effects models recently and I am stuck at within transformation. According to my understanding the dependent and independent variables are demeaned wrt clusters and regressed giving us the estimates. How do we rescale the variables as the estimates are obtained for the demeaned values. Also p...
Suppose we have a model $y_i=\epsilon_i^1+\epsilon_i^2$ $\epsilon_i^1\sim N(0,\sigma_1^2)$ $\epsilon_i^2\sim N(0,\sigma_2^2)$ $\epsilon_i^1\perp\epsilon_i^2$ Assume $y_i$ is i.i.d. I have derived the log-likelihood function to be $$-\frac{n}{2}\ln(\sigma_1^2+\sigma_2^2)-\frac{n}{2}\ln 2\pi-\frac{1}{2(\sigma_1^2+\sigma_...
I am looking for help to analyze the data from my online experiment. For my master thesis I conducted an online experiment where participants had to conduct a shopping task where they were provided with a local and a non-local product three times in a row. So for three times, they had to choose between either the local...
currently I'm trying to test some hypothesis, but I'm a little bit puzzled on choosing an appropriate test method. So, my data consists of two observations - First: Ordinal data from Likert-scale, Second: Continuous data (e.g., times in seconds). Since, I don't want to compare ordinal vs. ordinal or continuous vs. cont...
I want to do a fixed effects model on a dummy dataset which has 3 columns depicting severity of patients and their survival rate in different hospitals. The SURVIVALRATE is the dependent variable and SEVERITY as my independent variable with HOSPITAL column being the covariate having fixed effect. I want only a fixed e...
How do we compute/query interventional distributions from observational data (i.e. without knowledge of the causal graph such as a Structural Causal Model (SCM))?
I'm currently reading through this GLM textbook, and have come across this assertion on page 24 that I can't quite wrap my head around The author claims if the expected value $\theta_i=E[Y_i]$ of Poisson distributed data from independent Random Variables $Y_i$. How is this true? Is there an assumption they are making?...
I have data from a 3-wave panel study which I don't know how to analyze. I am interested in how an independent variable (IV) affects a dependent variable (DV). Therefore, I am not interested in the change of the single variables but how the change in one variable affects the change in the other. If I had only two timep...
Say these's a random forest model used to classify 5 different classes. How do we get a confidence level of the prediction? Say business wants to know what class will happen with high confidence
I have problems with a true or false exercise: if the joint pdf of the continuous random vector $(X,Y)$ is $$f(x,y)= \begin{cases}2x,& 0 \le x \le 1, 0 \le y \le 1,\\ 0,& \text{otherwise} \end{cases}, $$ then $P\!\left(X^2 < Y < 2X\right)=5/12.$ I´m not sure if I have to find the probabilities separately or compute a c...
To provide more information I am looking for an alternative to logistic Regression or a way to modify it. This is because of two reasons: My data is widely dispersed across the X axis for both my 1s and 0s however there is slightly more 1s the higher the X and slightly more 0s the lower the X. So the probabilities lis...
In linear regression, assume we get the following equation : Y = 0.8X1+1.9X2+2.4X3+4X4. We can interpret the linear equation: Keep the other predictors fix, one unit change in X1 will increase 0.8 units in Y in average. Now, I use the neuralnet package in R and built a neural network model. Then, make a plot like the f...
I planned to run an analysis starting with a dataset of 22,000 records. From this set, I would conduct a match to obtain two balanced groups then look at my outcomes of interest. I was planning to use an SMD of <0.1 as a measure of achieving balance. However, if my covariates of interest are already balanced (SMD <0.1)...
I am estimating a propensity score for use in a logistic regression. For this, I am using the matchit command. I have a couple questions on variable inclusion when running PSM: Is there a limit/best practice on how many variables I should use in the match, similar to the one in ten rule for predictor parameters? Is t...
Sorry, but after reading the Hyndman's paper here I don't understand a couple of key points. The term "in-sample" The implementation in Python using sktime Regarding the first point, I assume that "in-sample" means the "testing" set. On the other hand, I have a time series for which I computed the residuals ie $e_{i}...
I am running a conditional random forest model using the party package in R, with the goal of quantifying variable importance (permutation importance) for 29 predictor variables. My response variable is binary (Yes/No). The predictor variables consist of 27 categorical (mixture of binary and multi-level) and 2 continuo...
What sense would it make to logit transform a target variable that is a rate of something in a time series - Log(rate/1-rate). Does such a transformation have a theorethical purpose?
I'm using the popular GPML package in MATLAB for both Poisson and NB regression. Is there any way to add offset as easily as glmfit()? Specifically, assume there are N obesrvations, I want $\log(\mu)=\text{offset}+f(x)$, where $f(x)\sim GP$ and $\text{offset}\in\mathbb{R}^N$. Ortherwise, I guess I have to modify the li...
What do we mean by a true population model when talking about linear regression? Say I want to study the effects of years of schooling $S$ on wages. I posit the following two models: $ log(wage) = \beta_0 + \beta_1 S + \varepsilon $ $ log(wage) = v_0 + v_1 S + v_2 A + v $ where $A$ is ability. Which is the "true" popul...
Say I have a binomial model with response variable $Y = (Y_i)_{1 \le i \le M}$ which corresponds to the vector of number of successes for $D = (D_i)_{1 \le i \le M}$ the vector of number of events, covariates $X = (X_{i,j})_{1 \le i \le M, 1 \le j \le T}$, link function $g$, $g(X \beta) = E[Y]$. Here we have $M \gg T$...
I often see the p-value being defined as "A p-value can be defined as the probability of obtaining a test result, or a more extreme one, given that H0 is true". When we define our significance level, alpha (usually 0.05), we're essentially trying to say that there's a 5% risk that we will incorrectly reject it (commiti...
I am doing a project with my professor and I am using R. We are trying to solve reverse causality problems with a set of equations. The equation system/model is below (Z is control variables set): $$income=edu+gini+corruption+Z+\epsilon_1$$ $$gini=income+edu+corruption+Z+\epsilon_2$$ $$edu=income+gini+corruption+Z+\eps...
I would appreciate help in understanding if I made a correct interpretation and coding of the likelihood function for logistic regression. Background: For a task I am going to write a function in R of the likelihood function for a logistic regression model. It has been given that $p(x_i)=\frac{1}{1+\exp(-x_i\beta)}$ wh...
I am trying to understand the following keras model: in = keras.Input(shape = 76) x = layers.Dense(80, activation='tanh')(in) x = layers.Dense(70, activation='tanh')(x) x = layers.Dense(60, activation='tanh')(x) x = layers.Dense(50, activation='tanh')(x) x = layers.Dense(40, activation='tanh')(x) x = layers.Dense(30, ...
I plan to conduct a study in which respondents will be asked to solve total 6 puzzles together. Is there a specific study design (name) for this? The scenario would be: First, user A will use a mobile device and user B will use a computer to solve puzzle 1, 2, and 3 together. Then they switch roles: user A uses a comp...
Consider the following model: $$ y_{it}=\nu_{it}+\epsilon_{it}$$ $$\nu_{it}=\rho \nu_{it-1}+\zeta_{it}$$ Where $y_{it}$ is the income for $i$ at time $t$. $\epsilon_{it}$ is the idiosyncratic income shock. $\nu_{it}$ denotes the permanent component that follows an AR(1) process, like unobserved productivity. The only o...
I am trying to implement a model to predict the next time a user will login to some system. The only data I have is the user ID and the login time. The distribution for the time between each users' logins (in seconds) is exponential. I'm struggling to implement a model that one could use to predict the next n $\Delta_t...
I've recently had a test which included a question that was phrased like this: Compare user A and B; would you conclude their average number of events per day to be different The dataset was over a period of a month. It was a relational database where every event a was associated with a user and sent at a datetime. ...
I was attempting to calculate standardized mean differences (SMDs) after performing propensity score matching to verify that balance was achieved, however was running into some discrepancies between packages. I tried two approaches to assess balance using both the CreateTableOne package as well as the cobalt package in...
Tanimoto distance between A,B is :$$ T(A,B)= 1- \frac{A \cdot B}{\|A\|^2+\|B\|^2-A \cdot B} $$ It is proven that Tanimoto distance is a proper distance here I want to find the representing function of Tanimoto distance to make it usable as a distance based loss like in the book Support Vector Machines(page 38) where i...
I am trying to fit the following state space model via the (excellent and highly useful) statsmodels state-space module. The model is a standard local level model but where last period's innovation in the state equation loads into this period's observation equation via a coefficient to be estimated (a simpler version ...
I am reading Tutz & Schmid "Modeling Discrete Time-to-Event Data" (2016) chapter 4 Evaluation and Model Choice section 4.2 Residuals and Goodness-of-Fit. A goodness-of-fit statistic called deviance is defined as $$ D = 2 \sum_{i=1}^N n_i \sum_{t=1}^k p_{it} \log\left( \frac{p_{it}}{\hat\pi_{it}} \right) $$ where $\hat\...
I am reading Tutz & Schmid "Modeling Discrete Time-to-Event Data" (2016) chapter 4 Evaluation and Model Choice section 4.2 Residuals and Goodness-of-Fit. A martingale residual is defined as $$ m_i = \delta_i - \sum_{s=1}^{t_i} \hat\lambda_{is}, \quad i=1,\dots,n. $$ Here, $\delta_i$ is a binary 0-1 indicator of whether...
According to my understanding fixed effects gives different intercepts for different clusters and so does random effects model with fixed slope and varying intercept. This is the sample data used. I have used dummies for fixed effects data_hos<-read.csv("hospital_data.csv") print(data_hos) library("dplyr") data_hos<-d...
Question How do I perform a bootstrapped difference test when my bootstrapped sample sizes are smaller than the original sample sizes? Typically I would do this by taking $p = \frac{\sum_{i=1}^{B} t_{i}^ {*} \geq t}{B}$, where $t_{i}^ {*}=\frac{\bar{x^ {*} }-\bar{y}^ {*}}{\sqrt{\sigma^{*2}_x/m + \sigma^{*2}_y/m}}$ fo...
I'm currently using the T5 model to solve a text classification task as text generation. Specifically, I'm using the T5ForConditionalGeneration model from the HuggingFace Transformers library. What I'm wondering is, is there a way that we can use the concept of "confidence" for this kind of setting? I'm asking because ...
I have a fairly involved ``statistic'' that involves transformation of a set of samples $\mathbf{x}$ by a massive machine-learned matrix and subsequent nonlinear processing into said statistic $\mathbf{x}_s$. However, it still is reflective of the choice of $\mathbf{x}$. I am trying to perform a bootstrapped test on th...
In a conditional probability like p(A|B), what A and B are called?
I know that we are able to use a partial correlation when we want to correlate X and Y but Z affects both of them and that we may use a semi-partial correlation when we want to correlate X and Y and we know that Z only affects X. In my case, I have two different "Zs"/third variables.The idea is the following: I want t...
I have two lists of values A and B. I calculated the standard deviation of A and the standard deviation of B. The standard deviation of A is bigger than that of B. How can I test if the difference in the standard deviation is significant? I understand that t-tests are used to test differences in mean but how can we do ...
In a lecture on Linear Discriminant Analysis, it was mentioned that data given as $$ x|y=0 \sim N(\mu_0,\Sigma)\\ x|y=1 \sim N(\mu_1,\Sigma) $$ can be trnsformed by means of a linear transformation $\tilde{x}=a+Ax$ so that $$ \tilde{x}|y=0\sim N((\Delta/2)e_1,I)\\ \tilde{x}|y=1\sim N(-(\Delta/2)e_1,I)\\ $$ where $\Delt...
Within my field a recent study suggested to use the symmetric properties of certain image datasets to improve signal to noise ratio (SNR). I will spare you the details, but in the end one can get a symmetric dataset (as described below) with improved SNR. However the way that one typically computes SNR is to compare th...
I have a dataset with 5 replicates (batch) of a 6 treatments (trt), each treatment has 5 associated treatment times (time) with the treatment time for controls being 0. Several treatments in batch 1 failed and were dropped from the dataset. From each treatment x time combination there is an associated number of "bad" r...
I am doing analysis on an educational product that aims to predict what impacts whether or not a student gets a question correct or incorrect. The DV includes item scores from four different question types. For two question types, True/False and Multiple choice, the value per item is dichotomous, i.e 0 or 1. However, f...
I have read that to apply ridge regression, we first need to standardize the predictive variables. That is because the variables should be in a homogenous scale so that lambda has an effect of the same magnitude on all of them. However, taking a look at the ridge regression implementation of the scikit-learn library, I...
I am trying to validate the calculations of a mean value for a collection of binary variable values. The validation process is where I compare x to y where: x is the mean value of percentage of success to the total observed (i.e. total(1) / (total(1) + total(0))) and y is the mean value of each component in the set. Th...
Say we have a dependent variable $Y$ and two independent variables $X_1$ and $X_2$. If we are doing the linear regression with interacted variables, do we need to include both $X_1$ and $X_2$ as independent variables? so that. $$Y = \alpha + \beta_1X_1 + \beta_2X_2 + \beta_3X_1X_2$$ Is it wrong to drop one variable lik...
I have been taught control charts (or Shewhart charts) as a statistical tool to detect processes which are out of control. One particular case was by taking $k$ samples of size $n$ from a process over different times and performing a Null Hypothesis Significance Test on each of their means at a significance level $\alp...
If I perform a simulation for the one-sample Wilcoxon test (2-sided) for samples of size 5 (1000 times), the null hypothesis could not be rejected. Why? I know the probability of the test statistic being equal to zero is 1/32= 0.03, which less than $\alpha=0.05$. However, I do not get p-values less than $\alpha$.
I am trying to find breaks in a multiple continuous type variables. So, I tried the jenks natural breaks algorithm. Based on the code from here, I managed to find the goodness of variance fit (GVF) for each of my variables. I understand GVF closer to 1 is a good fit and closer to 0 is bad fit. But now, looking at the b...
The Pearson test (chi test) provide a mean to evaluate whether a given sample (empirical distribution) match the theoretical one. The test compute the p-value, which is the probability for seen the given sample conditioned the true distribution is the theoretical one. The p-value is compared to a threshold alpha which ...
I this context I am referring to Structural Causal Models (SCM) such as presented here https://fabiandablander.com/r/Causal-Inference.html or here https://medium.data4sci.com/causal-inference-part-iv-structural-causal-models-df10a83be580. From the way, these Structural Causal Models are defined, I do not see any rules ...
I'm having a hard time understanding McElreath's explanation of how the KL divergence allows us to decide whether one of two models is closer to the 'real' model. Here is what McElreath writes on p. 209 of the 2nd edition of Statistical Rethinking: To use Dkl to compare models, it seems like we would have to know p, t...
I asked this question in another sit and someone in the comment told, this is a right sit to ask this question. Please be patient with me , this is my first time asks in the sit. Nowadays, it is very common in the survey to find a statement with scales measurement agrees or disagree, etc. Let's consider a survey about...
From this paper https://aclanthology.org/D19-1006.pdf "How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddings" When they say word vectors are anisotropic, do they mean all embeddings for words in the vocabulary are distributed in this cone shape in semantic sp...
I have 2 datasets. Now, I want to check the correlation between these 2 datasets. I have plotted datasets in a scatter plot and plotting shows that they do not follow linear or monotonic relationships. They are showing something like a cluster (or straight) relationship e.g.: while y is increasing but x is not increasi...
This is a time-dependent measure of the water level of a river measured by an instrument that measures the water level every five minutes. However, due to some interference and other factors, there are often some outliers in the water level data. Since the water level changes continuously with time, the outliers can be...
I am trying to make sense of how to interpret the following Shap plot given the context of a causal model. See article of relevance: https://towardsdatascience.com/causal-machine-learning-for-econometrics-causal-forests-5ab3aec825a7. At the end of the article, the following Shap summary plot is shown which is derived b...
Suppose that I have a a gaussian distribution $p(x;\mu,\sigma^{2})=N(x;\mu,\sigma^{2})$ and an improper distribution $p(x)\propto 1, x\in \mathbb{R}.$ I want to calculate the probabilistic distance between those two distributions, for that I use the Kullback–Leibler divergence. $$KL(p(x;\mu,\sigma^{2}),p(x)) = \int p(x...
Background In their book, Huber & Ronchetti (pp. 2-3) compare the efficiency of the mean absolute deviation $d_n$ with the standard deviation $s_n$ with the following formula: $$ \operatorname{ARE}(d_n, s_n)=\lim_{n\rightarrow\infty}\dfrac{\operatorname{var}(s_n)/(E(s_n))^2}{\operatorname{var}(d_n)/(E(d_n))^2} $$ I enc...
Suppose I have data points $(x_i,y_i)$, say $N$ points. I know they are supposed to fit the curve $y = f(x)$. Are there techniques more advanced than linear regression, for such cases to fit the curve? I am asking this because I can get the data points $(f(x_i), y)$ from $(x_i,y_i)$ and they fit on a line, so I can jus...
I have a somewhat strange assumption that I am trying to validate. I am probably not going to explain this very clearly because I don't have a really strong statistical background so please bear with me. Here is my best attempt to explaining what I am trying to do. Let's assume we have a censored dataset, I won't use m...
It seems that it is common to perform something like the following operation (like in Kipf & Welling, "Semi-Supervised Classification with Graph Convolutional Networks" 2017) to preprocess the adjacency matrix in graph convolutional networks $$ \hat{A} = D^{-\frac{1}{2}} A D^{-\frac{1}{2}} $$ where $D$ is the degree ma...
I was wondering if, in survival analysis, is there any statistical approach/procedure that can help us identifying effects on early or/and later mortalities (meaning if a certain treatment is associated with more early mortalities than the controls, for example). An example dataset could be the lung dataset from the su...
I have covariates to predict 3 multivariate response variables, and would like to use those 3 predictions to predict another forth variable that is also correlated with the other variables: Predicted_E-Sports_Sales = Predicted_NFL_Sales + Predicted_NBA_Sales + Predicted_MLB_Sales Can one do this without violating some ...
I am sketching a regression model for examining the effects of multiple variables on the difference between a perceived value $B_i$ and predicted value $\hat{B}_i$ at any given timepoint $i$. The $\hat{B}_i$ values are predicted by a non-statistical model. $Y_i = \beta_0 + \beta_1(A_i) + \beta_2(\hat{B}_i) +\ ...$ whe...