instruction
stringlengths
9
38.7k
In my experiment a single group of participants performed a cognitive task with two interleaved types of blocks (A and B). Blocks A and B differed in terms of the type of stimuli used but were otherwise the same. There were ten blocks total, five of each kind. I have performed a paired t-test to compare the performance...
From Van der Vaart's Asymptotics Statistics, we have the derivation of the asymptotics for the least square regression (Example 5.27). Now, the problem 16 of the same section regards the asymptotics for the least absolute deviation. I copy and paste here the problem 16. "In Example $5.27$, consider the asymptotic behav...
I recently read this paper by Donohue et al. in Pharmaceutical Statistics (Open access: https://doi.org/10.1002/pst.2285). Mixed model repeated measure (MMRM) analyses are discussed. In particular, one of the base models fit includes time points as categorical fixed effects (e.g., visit 1, 2, and 3 included as fixed ef...
I'm conducting a meta-analysis examining the associations between two variables. I came across studies using different analyses including correlations (r), multiple regression, hierarchical linear regression (B,β, R-squared), and logistic regression (odd ratios). I wonder what is the best way to convert these effect si...
Consider two random variables $Y,V$ where $Y$ is discrete and $V$ is continuous. Is it true that $$ \Pr(Y=y)=\int \Pr(Y=y|V=v) f(v) dv, $$ where $f$ is the probability density function of $V$? I am confused because I'm mixing probability masses with densities. Note: Imagine that I don't have the joint distribution of ...
If X is a random variable from the uniform distribution on the interval [0,θ], how would one construct a 95% confidence interval for the method of moments estimator of θ? I have found that and also its asymptotic distribution but I do not understand how to find a confidence interval for it. I know that I have to use ...
I did sit an exam a few days ago and one of the questions went like: we have a logistic regression model with a bunch of regressors, one of them is catregorical and we want to test its significance, can we use a partial F test other than a G2? How would you answer?
I've been doing a lot of research into Pearl's do-calculus, particularly this paper http://ftp.cs.ucla.edu/pub/stat_ser/r350.pdf. I definitely understand the difference between P(y | x0) and P(y | do(x0)), and why it is important (both philosophically and mathematically) to close off the back-door paths from x to y, bu...
I've started to study feature selection techniques and i have a situation that I don't understand. I've created a synthetic dataset with 5 predictor variables and a label, the predictor variables are as follow: X1 = random boolean (p=0.5) X2 = random boolean (p=0.5) X3 = random boolean (p=0.5) X4 = XOR(X2, X3) X5 = ran...
In a game, I am looking to draw the hero card out of 9 possible cards. The first card (full deck) costs 300 gems. All subsequent draws cost 600 gems. I can either keep drawing one card at a time till I hit the hero card or reset the game at any point. Once I get the hero card, I reset and try again till my gems run out...
Let's assume we have a right one-sided test with a p-value of 0.03 and a positive test statistical value. Now let's perform a two-sided test with the same datums. Are we going to reject H0? The significance level is 5%, the test could be either Z or T with one population, so the distribution is symmetric.
I'm a radiation oncologist. I have a list of patients. For each patient, I have D = dose received (in Gray) T = date of death or last check-up date S = status (0=alive, 1=dead) I have 5 years of observation My questions are : How can I compute a 2-year and 5-year survival rate in R ? (Kaplan-Meier, I know I need to us...
I am trying to conduct a model with the glmmTMB package - depression as an outcome and stress as a predictor, including age, gender, working hours, and observation number (=time) as covariates. I also want to disentangle stress into within-subject and between-subject effects, and include autocorrelation (using the numb...
I am a newbie in time series data forecasting. I have a week long data and the counts represent arrivals per 5 mins period. A part of the dataset is shown below. DATE COUNT 2018-06-01 10:00:00 4922 2018-06-01 10:05:00 7924 2018-06-01 10:10:00 8352 2018-06-01 10:15:00 7865 2018-06-01 10:20:0...
I am fitting several models to data of unknown size. The models range from linear, quadratic and ODE, however the parameter-identification is always linear and I am using OLS. The parameters of the models are at the end stored, as they reflect crucial properties of a system. During the manual validation of the approach...
Context: Have been trying to create a prediction model for a 1% outcome variable using Random Forest Machine Learning for a large health survey (entirely multi-level categorical data, yes/no outcome, ~230,000 observations initially). Stupidly high amount of missing values, poor data collection and the need to infer bet...
I am fitting a gamma GLM on insurance claims predicting severity. Using log( claim count) as offset and ultimate claim amount as target variable and a gamma error structure. Model converges but Actual / Predicted claim amount does not converge to 100% in the modeling data. Per my understanding, when a GLM converges the...
Let's say I have a dataframe with one dependent continuous variable and multiple independent categorical and continuous variables. I want to apply linear regression (using R language in my case). The results include that : R2 = 0.45 and R2 adjusted = 0.44. When applying the cross validation method to improve the predic...
I recently used the terminology imputation by zero, because the cause of the loss to follow-up were well known in ourstudy, since they were failures. Somebody pointed out to me that the terminology is not correct, that we speak about imputation only when we replace with another value than zero. When I read about the di...
Original Post: Suppose we have two random variables $X$ and $Y$ with cumulative distribution functions $F(x)$ and $G(y)$. We know that $Y = aX + b$. I want to compute $Z(x) = F(x) - G(y)$. What I have so far is the following: $$F(x) = \int_{-\infty}^{x}f(x)dx $$ $$G(y) = \int_{-\infty}^{y}g(y)dy = \int_{-\infty}^{y}\fr...
I came across these two papers combining an energy-based model (EBM) with a probabilistic generative model: [Xiao et al., 2020] and [Xiao et al., 2021]. In [Xiao et al., 2020], the new model is defined as: \begin{equation} p_{\phi, \theta}(x) = \frac{p_{\phi}(x)e^{-E_{\theta}(x)}}{\int p_{\phi}(x)e^{-E_{\theta}(x)} dx}...
Given a discrete random variable $X$, which takes values in the alphabet $\mathcal {X}$ and is distributed according to $p:{\mathcal {X}}\to [0,1]$ the Shannon entropy is defined as: $$\mathrm {H} (X):=-\sum _{x\in {\mathcal {X}}}p(x)\log p(x)$$ The Rényi entropy of order $\alpha$, where $\alpha \geq 0$ and $\alpha \ne...
I am using P-splines to estimate an unknown function $f(x)=y$ that I am fitting to data $x,y$. I am using cross validation to estimate the roughness parameter. It is important to me to not only estimate the function itself, but also its uncertainty at any given point. I am currently partially achieving this through the...
I have effect size (standard mean difference) and 95%CI for a meta-analysis. How can I calculate the relative effect size using this information? Other information I have includes pooled SD for intervention group and control group pre- and post-, n. Appreciate for any advice that does NOT require coding software.
The goal is to find out if the frequency difference of a word "X" in two texts/corpora is significant. We have a $2\times 2$ contingency table of observed and expected frequencies. To find out if the frequency difference is significant, I use the chi-square test. But which one exactly? Chi-Square Test of Independence? ...
I have an particular exercise of sampling survey, or sampling theory, which I report below. One is interested in knowing the price per gram of gold produced by 100 companies. A monthly survey of a sample of 5 companies is conducted for this purpose. The following table shows the prices per gram of gold collected in Ma...
The dependent variable in my study is a count variable that is clustered at lower values with a long right tail. If I take a log-transformation of this count variable, the distribution begins to appear normally distributed. My question is that, if one can take a log-transformation of a count value and the subsequent di...
In stochastic gradient descent, we utilize the fact that the sampled gradient is an unbiased estimator of the full gradient. That is, with the loss as: $ \nabla \tilde{L} = \nabla \operatorname{loss}(\theta)$, We have: \begin{align*} \mathbb{E}[\nabla \tilde{L}] & = \sum\limits_{i = 1}^n \frac{1}{n} \nabla \operato...
In a PCA, the loadings can be understood as the weights for each original variable when calculating the principal component, or "how much each variable influence a principal component". Thus, can we consider the loading value of each variable as how correlated the original variable is with the respective principal comp...
Consider a typical observational healthcare study where pre/post health outcomes among patients receiving a treatment or care program are compared to a counterfactual control group who didn't receive the treatment. The goal is to estimate the average treatment effect (ATE). Even after matching/conditioning on demograph...
I have a model which is aiming to estimate the ATE (average treatment effect) of a binary treatment on a count data outcome variable. Since the outcome can sometimes take a 0 value, I use the transform log(y + 1) to cope with this. With log transformed outcome variables, you can interpret your ATE result as a percentag...
My goal is to analyze sex differences over time in a composite score that consists of 4 components (C1-C4) using a linear mixed model analysis. The secondary analysis includes sex differences over time in the different components. The regression coefficients of interest are gender, gender:time, and gender:component. Th...
I am given three vectors of length 11, that represent blood levels of a hormone measured after placebo, old and new treatment. placebo= c( 9243, 9671, 11792, 13357, 9055, 6290, 12412, 18806, 9245, 9673, 11796,13412, 9212,6790,12510,19002) old= c(17649, 12013, 19979, 21816, 13850, 9806, 17208, 29044, ...
I'm trying to use pytorch geometric for building graph convolutional networks. And I'm trying to interpret the result of the max pooling operation, which is described in this link: https://pytorch-geometric.readthedocs.io/en/latest/modules/nn.html#torch_geometric.nn.pool.global_max_pool If I understood it correctly, th...
Suppose that I have a tensor of height:25 and width:50. Height is my temporal axis, therefore I have a window of 25 time steps. Therefore my input tensor is: I want to extract temporal features / focus on temporal features and therefore use 1d convolution. Please correct me if I am wrong but extracting temporal featur...
How to handle the following request from a journal: I've evaluated a data set using a linear mixed model (lmm). Among the evaluated factors, I was particularly interested in one, which I plotted as a bar graph (default state & modified state). After submitting the paper (and the plot) to a journal, I'm being asked to e...
I have trained a model to perform regression on a dataset with MSE as its loss function. The y_real values are between 0 and 1.5 and MSE of test set is around 0.009 which if fine. However, the regression is not really the goal and MSE is not very useful. Let me explain: My goal is to predict the y values that are over ...
Andrew Gelman and Jennifer Hill wrote Data Analysis Using Regression and Multilevel/Hierarchical Models back in 2006. Recently in 2020, they published Regression and Other Stories. Is anyone familiar with both and could give some insight on how these two books differ?
Consider you are scoring tweets for tone based on some sentiment analysis implementation. Each tweet has hypothetically a 90% chance of being correctly scored, while 10% get it wrong for whatever reason eg sarcasm, irony. If you have 10,000 unique tweets, the resulting aggregate tone score for the set might be reasona...
For the given graph above, the controlled direct effect will be $E[Y|\operatorname{do}(X),\operatorname{do}(M)]$. This would break all the incoming edges to node X and M, so $X\rightarrow M$ is removed. Does this mean that the controlled direct effect is equal to the combined effect of path $M\rightarrow Y$ and $X\rig...
I am considering a survival time analysis with death as the outcome. I first performed a time-dependent Cox regression with BMI as the independent variable (linear model). The likelihood ratio test confirmed a significant improvement from the null model. Proportional hazard assumption was evaluated using Schoenfeld's m...
In our Statistics Class, we are learning about something called "P-Hacking" (also called "Data Snooping", "Data Dredging", etc.). Here is the example we are working with in our class - we have a large dataset (e.g. over 5 million rows of data) that contain medical data on patients (each row is a medical patient). This ...
I have collected data for an experimental study from 88 participants. Specifically, all participants received both interventions but in a different order. 44 participants received firstly Treatment A and then Treatment B, and 44 participants received firstly Treatment B and then treatment A. My question is which is the...
In [Xiao et al., 2020], the authors propose a reparametrization of their exponentially-tilted generative model from the data space to the latent space. The model is defined as: \begin{equation} h_{\phi, \theta}(x) = \frac{1}{Z_{\phi, \theta}} \int p_{\phi}(x, z)e^{-E_{\theta}(x)} dz = \frac{p_{\phi}(x)e^{-E_{\theta...
$\text{X and Y are a pair of jointly continuous random variables:}$ $f_{X,Y}(x, y) = \begin{cases} \text{c,} &\text{the shaded region}\\ \text{0,} &\text{elsewhere}\\ \end{cases}$ $\text{a- find the value of c.}$ $\text{b- find the marginal pdf of X and Y.}$ $\text{c- find E[X|Y=1/4] and Var[X|Y=1/4...
I am trying to model recurrent composite events to compare differences in recurrent events between two therapy groups. I have completed time to first event Cox regression as well as recurrent event regression using the Andersen-Gill (AG) and Prentice-Williams-Peterson (PWP) models. However, the results for the two recu...
Can you tell me if my understanding of the CLT is correct? Maybe it's just a matter of notation. The classical CLT states: Let $X_1,...,X_i,...,X_n$ be a sequence of iid random variables drawn from a distribution with mean $\mu$ and variance $\sigma^2 < \infty$. Then, let the sample avarage be equal to $\bar{X}_n = \fr...
Let's say: We have a population consisting of $N$ units, of which we take a sample of $n$ observations. For simplicity, this will be a bivariate dataset $(X, Y)$, whose true population is best modelled by a simple linear regression. Of these $n$ observations, we randomly remove 20% so as to be used as a Test Set later...
I have been reading Judea Pearl's Book of Why and in it, he tackles the famous Monty Hall problem through a causal lens. Although it may still grind away at our initial instincts, hopefully nobody here will disagree that the right answer, when addressing the problem as framed in the game show, would be to switch your c...
In survival analysis, is it appropriate to have a time to event value of zero for a subject(s). For example, the subject experiences the event on the same date as their date of entry. Does this cause any problem in the usual analytical models e.g. Cox etc.?
I've tried looking here, as well as the go-to book Flexible Imputation of Missing Data, but cannot seem to find any reliable information on how to simulate chi-square missingness (as well as imputing it with multiple imputation). I tried simulating some data like so. Note that while I have NA listed explicitly, I also ...
Two random independent variables ($P$: "two variables are independent") are uncorrelated ($Q$: "two variables - the same two involved in sentence $P$ - are uncorrelated"), or using the words of logic $P \rightarrow Q$. Now, we can reverse the logical implication, negating both sentences as $\overline{Q} \rightarrow \ov...
Do outliers points in a time series violate stationarity assumptions? and why?
(Let's say I trained a transformer for translation.) In the training, the output sentences are given and fed into the decoder as a whole. However, with inference, only a start-of-sentence (SOS) token is given. How does the model know what word to choose to start the sentence? And how does it know what subsequent words ...
If for example I have the following data X Y 3.2 0 1.5 0 6.5 3 2.4 1 6.2 3 where X is a value between 1 (best case) and 7 (worst case) and Y is a value between 0 (best case) and 3 (worst case) and I would like to compute Spearman or Pearson correlation between X and Y. Do I need to convert into values wi...
Assume that you are having an equation that looks like this. It's a Box-Jenkins model. $$F(q)D(q)y[k] = B(q)D(q)u[k] + F(q)C(q)e[k]$$ Where $F(q), D(q), B(q), C(q)$ are polynomials such as: $$B(q) = 1 + b_1q^{-1} + \dots + b_nq^{-n}$$ $$F(q) = 1 + f_1q^{-1} + \dots + f_nq^{-m}$$ $$C(q) = 1 + c_1q^{-1} + \dots + c_nq^{-...
Data + setup: I've constructed an NMDS ordination from a Bray-Curtis distance matrix calculated from relativized abundances (basal areas) of trees. Samples include ~40 forested plots that have been resampled 13-15 times each. I also have ~60 environmental variables (soil, topography, etc.) that were measured from eac...
I have an experiment in which I am calling wilcox.test in R for multiple times and gather statistic output. I compute the average of these statistics and then I want to convert it to p-value. What function should I call in R to get statistic of wilcox test as input and take a p-value as output? wilcox.statistics <- 692...
I have the book "Adaptive Control", Second edition, from Karl-Johan Åström and at page 61 to 62 he wrote: Stochastic models The least-squares estimate is biased when it used on data generated by Eq. (2.12) where the errors $e(i)$ are correlated. The reason is that the $E\phi^T(i)e(i) \neq 0$ (compare Eq. (2.13)). A pos...
I am running a quasi-poisson regression predicting a count outcome from 4 variables of interest. I understand that these estimates need to be exponentiated to correctly interpret the results. I used the tab_model() command in sjPlot to gather these and noted that the p-value and associated 95% CI (displayed below) ar...
Background: Given a trained model, $y$, parameterized by $W\text{~} P$ and dataset $D$, for a testing point $x_{test}$, the predictive probability distribution is given by $$P(y(x_{test})|D) = \int P(y(x_{test})|w)P(w|D)dw \approx \frac{1}{N}\sum_{i=1}^NP(y(x_{test})|w_i), w_t\text{~}P(w|D)$$ where we approximate the p...
I've been thinking about this question: suppose I draw a random point uniformly from a triangle with vertices $(1,0)$, $(0,0)$ and $(0,1)$. Let $(X,Y)$ be the coordinate of the point and $Z$ ($0\leq Z\leq\frac{\pi}{4}$) be the angle pictured in this figure.$Z$" /> I am interested in finding the conditional density of $...
I am currently doing a meta analysis looking at sleep outcomes. In the paper I perform 6 different meta analysis (based on 6 different sleep outcomes). I want to do a sensitivity analysis on the results using the Jackknife method, but I was wondering if there was any "rules" to which data you should perform the analysi...
recently I am dealing with a project of data imputation. I use the probabilistic imputation (multiple imputation) methods. As is known, the real data do not contain the REAL values for the missing positions (aka. ground-truth). I have read some papers and the authors generated the artificial missing indices so that the...
Setup: In a time-series context, let $y_t$ denote a target variable that is $\mathcal{F}_t$ measurable, and let $h_t$ denote a forecast of $y_t$ that is $\mathcal{F}_{t-1}$ measurable. That is, the forecast is constructed using time $t-1$ information. Let: \begin{equation} u_t = h_t - y_t \end{equation} denote the fore...
When we fit a linear reg model, do we get a straight line equation? So, it means there is no way we can get a curved line from it. Then why in some examples over internet we see curved line for linear regression examples? 1st image is quantile regression fit on 3 quantiles and 2nd image is again quantile regression...
Sorry if this is kind of a dumb question but I'm taking the NLP course from Andrew Ng on Coursera and I don't understand how to arrive at the correct answer for a question pertaining to calculating the dimensions for the weight matrix of a simple RNN.
I need to model and predict a quantitative variable that is heavily impacted by events, parties and celebrations. For I seek first to know the impact that has the religious festivals, the ramadan and the tabaski on my variable but the problem the date of these festivals are variable in the Gregorian calendar, therefore...
I am trying to determine the sample size I need to for 80% power at 0.05 significance in a Fisher's exact test. I want to determine if there is an association between colour and group (null hypothesis = no association). There are plenty of questions on stats.stackexchange asking something similar but either those quest...
I'm reading this PDF. It shows how to obtain the OLS estimator and its properties. It is said that from the normal equations we obtain $X' e = 0$. Where $X$ is the design matrix and $e$ is the vector of residuals. Then, at page 4, it claims the following property: "The observed values of X are uncorrelated with the res...
Let’s assume that samples in a dataset are characterized by ID, timestamp, features, and target and each sample is a real observation. After dropping totally-duplicated rows, how should duplicates (with regards to all features except for ID and timestamp that are excluded from the model) be treated while building a pre...
After reading this answer https://stats.stackexchange.com/a/239583/353716 and the article cited, I wonder if there are any situations where one would want to carry out an analysis where we try to explain a variable $y$ with only one independent variable $x_1$ ($y = \alpha x_1 + c$ ) if they have the possibility* to car...
How can I compare two sets of bootstrap means, each with sample size $n = 500$? Can I apply a t-test?
When reading the torch.optim documentation of PyTorch (https://pytorch.org/docs/master/optim.html), they do the forward pass on the whole dataset when using SGD but this Cross Validated answer clearly states that we shouldn't (https://stats.stackexchange.com/a/331271/353716). PyTorch documentation: optim.SGD([{'params'...
In the Walpole et al. book on statistics, there are 2 graphs explaining the lack-of-fit component of SSE (error sum of squares - unexplained variation) in the simple linear regression model, 11.16 and 11.17. Also, there is a block of text describing them. However, I can't visualize the SSR(regression sum of squares - a...
I am trying to estimate a policy effect on farmers' land sizes. The policy (treatment) is at the village level. I could simply use a diff-in-diff approach by comparing farmers' lands across treatment and control villages. However, the problem is that some farmers have two lands in two different villages, one of them is...
This is a follow up to this question. Consider again two independent rvs $X\sim Beta(a_1+1,b_1+1)$ and $Y \sim Beta(a_2+1,b_2+1)$. Here $a_1,b_1,a_2,b_2$ are in $\mathbb{N}$. Is it true that $\mathbb{P}(X>Y)>0.5 \implies \frac{a_1}{(a_1+b_1)}>\frac{a_2}{(a_2+b_2)}$ ? Note that the counterexample presented in here rules...
I am dealing with some count data. I can express it as frequency and do normal regression, or put the counts in Y (outcome) and the denominator as an offset and do Poisson regression. The latter has the advantage that for some samples we have sparse data (few counts), and this kind of uncertainty is lost if we work wit...
I am currently trying to run a model analyzing the duration of the egg stage of each sex of two species of insect across five different temperatures. All independent variables are categorical. My model looks like this: model1<-lm(Duration.egg~Temperature*Species*Sex, data = egg.na.2) In building this model I have trie...
Diffusion models can be regarded as latent variable models (Ho et al., 2020; Section 2), with the latents being an hierarchical chain of random variables $z_T → \dots → z_t → z_{t-1} → \dots → z_1$ (finally, from $z_1$ we sample the observation $x$). Under this view the diffusion process (the noise-adding steps, $\dots...
I have regression results where unconstrained OLS is near optimal - out of sample scores are almost the best when compared to some other constrained regression models. Although the ratio of number of observations to features is high, some features have high correlation and I expect many not to be useful. I want to be a...
I have some precipitation data (yearly extremes), which I have fit with a Gumbel distribution (CDF), from which I have calculated a return time distribution. I want to calculate the 95% confidence interval for this return time distribution, using non-parametric bootstrapping. How can I do this in python? See below for ...
This question has been asked here before but in each thread I found, there was some disagreement about whether the proportional hazards (PH) assumption needs to be met for cox models with time dependent covariates. Could someone please explain either way? What about recurrent event models like Andersen-Gill (AG) and Pr...
Does anyone know a clustering algorithm that penalizes the difference in cluster size (= number of elements)? If so, is it available in any package (python, R...) ? For example, the following algorithm is already useful to me. But instead of providing hard min and max sizes, I would like to somehow balance "total point...
I am reading about an application of covariate shift: draw $(\textbf{X},y)\in\mathbb{R}^p\times\mathbb{R}$ from distribution $P$ with generative model $p(\textbf{x},y)=p(y\mid\textbf{x})p(\textbf{x})$. The problem wants to estimate $\beta_P^*=\text{argmin}_{\beta}P(y-\textbf{X}^\top\beta)^2=\text{argmin}_{\beta}\int(y-...
I am currently conducting a meta-analysis looking at a rather global effect. Therefore, some of the included studies report several effects which can be included. As far as I read in the literature, it is most common to take an average of the reported effects per study to not introduce a bias. In some cases the effects...
If I take a 95% confidence interval $I_k$, then it means that if I sample 100 confidence intervals $\{I_1, \cdots, I_{100}\}$, then it is expected that 95 of $I_k$'s contain the true parameter. Of course, our true parameter value $p$ is fixed and would not move no matter whats, so it is our job to estimate what the val...
I'm investigating the co-occurrence of 2 types of events (var1 and var2). The hypothesis is that var2 is more likely to occur when var1 occurs. The data can be formatted into a contingency table as shown below. We have been describing this phenomenon using odds ratio (OR): (D/B)/(C/A). Var1 = 0 Var1 = 1 Var2 =...
I have read a lot of conflicting literature about scaling the dataset (using methods such as normalization or standardization) for a multiple logistic regression model, and I am wondering if scaling is necessary for this type of machine learning model. For example, this source (Is it a good practice to always scale/nor...
Let $\{X_n\}_n$ be a sequence of i.i.d. RV's, where each $X_n$ is a copy of RV $X: \Omega \rightarrow \mathbb R$. For $n > 0$, I can define $\bar X_n := \frac{1}{n}\sum_{i=1}^n X_i$. Then, central limit theorem states that $\bar X_n \sim \mathcal N(\mathbb E[X], \sigma^2/n)$. Now, fix $n > 0$ and let us pick samples of...
Context: I have a problem of the following form. Let $\boldsymbol{\theta}\in\mathbb{R}^n$ be a fixed vector I want to estimate. Let $\mathbf{M}\in\mathbb{R}^{m\times n}$ be a matrix with $m>n$ and $\text{rank}(\mathbf{M})=n$. Moreover, let $\mathbf{w}\in\mathbb{R}^m$ be a vector with independent identically distributed...
This questions is inspired by my reading of "From Probabilistic Forecasts to Statistical Scenarios of Short-term Wind Power Production" by Pinson et al. (2009). Let $X_k \sim \mathcal{N}(0,1)$ be a random vector. Now, consider the random variables $X_k$ for every look-ahead time $k = 1, ..., K$, where $K$ is the maximu...
On Wikipedia there's a statement: When a measure such as a Euclidean distance is defined using many coordinates, there is little difference in the distances between different pairs of samples. Is there some formal theorem that pins down what this means?
I was reading Rao's chapter 4 of his Linear Statistical Inference, 2nd ed. He uses the notation $R(G:X)$ in section 4.i (p. 294, formula (e), p. 296 formula (4i.1.21)) and that notation appears again in the last paragraph of p. 300. Unfortunately, Rao does not define the notation and I could not quite point out the mea...
I'll give a little background on my study. It is a non-inferiority study. We have to show that treatment A is non-inferior to treatment B with a delta acceptability margin of -2 for the outcome. The estimated mean for the outcome in the group treatment B is 7 with with a standard deviation of 5. The null hypothesis is ...
The problem I'm working on is from neuroscience. We've got multiple electrodes with weakly correlated noise all sampling the same system. What are using these to do autoregression on a latent 1D system. However, there are driving functions too. So we need a way to combine autoregression and latent factor discovery. X ...
I'm trying to understand this answer: https://stats.stackexchange.com/a/151969/25186 which details Fisher's geometric derivation of the t-distribution. There are some loose ends in my understand I'm trying to wrap up. For reference, we'll need the figure presented there. In the description of the figure, the answerer ...
To model my daily time-series data, I want to use linear regression with ARIMA errors. I also want to introduce several seasonal dummy covariates (day of the week, month of the year). I read in Hyndman & Athanasopoulos (2018) the following The auto.arima function will also handle regression terms via the xreg argument...
I would like to combine a matching technique and a regression analysis. I have a binary treatment and several covariates. As I understand, I can either A) use the same covariates in the matching and the regression analysis or B) include only covariates describing the selection into treatment mechanism in the matching a...
I have a medical dataset that has a lot of missing values. I imputed five datasets using MICE in R. I want to fit a classification machine learning model to the dataset. I want to identify the most important variables using a feature selection method. Is it possible to fit a machine learning model to each dataset and i...