instruction
stringlengths
9
38.7k
I am interested in evaluating estimated principal components. The components are estimated from a sample and I want to evaluate how good my estimated principal components are. Are there any commonly used approaches for this? I have been trying to find some literature regarding this issue with little success. I was thin...
I am struggling with paired contrasts of linear models. I want to test for the differences of differences, and I am not sure if I have to use my original model or the interaction model to build the matrix. I thought it should be the same, but my results are (slighlty) different. My data: I want to test the influence of...
I am building a machine learning model to attempt to predict the winner of a sports match based on historical statistics of the two teams. My model (a neural network) appears to get about 70% accuracy on test data which was better than I expected. However there are some weird things going on with the accuracy and loss ...
Imagine I am limited to a certain amount of training samples to train a classifier. I am wondering if there is a measure to tell how informative one sample (or a collection of a few samples) of the large data set is compared to the whole data set. Such that you can rate different collections of samples. I am trying to ...
I have data which is not normally distributed. Each participant ranked six actions in order of preference (so this is ordinal data right?) I want to see whether there is a significant difference in their preferences depending on the group they are in. As there are more than three groups, I believe that I could conduct ...
I am reading a paper about attribution modeling Three Essays based on Clickstream Data: Analyzing, Understanding and Managing Online Customer Behavior which talks about a way to calculate attribution using Markov models. An executive summary can be found here. The authors say they conducted an evaluation of the method ...
I would appreciate it if someone could help me answer this. I recently carried a logistic regression model using the following basic formula: y ~ x + factor1 + factor2 My supervisor suggested it would be good to carry out a likelihood ratio test, comparing the above model output to the output from: y ~ factor1 + factor...
I have a time series which indicates a certain demand over time. In my project I detect anomalies in this time series by applying Robust Principal Component Analysis (RPCA) which gives my something like a "baseline demand" (low rank matrix), "sparse demand" (sparse matrix which gives first hints about outliers) and the...
I have already posted my problem in stackoverflow, I am not sure if this might be problematic, and I am not sure, if the post is shown in both communities. If so I will delete. I am trying to apply principal component analysis, to reduce the dimensions of my data. 200x146 , 200 observations(samples) with 146 features(d...
I'm looking for the most appropriate way to to conduct multiple planned comparisons of frequencies. I conducted an experiment in which participants could come from one of two groups, 'Group A' and 'Group B'. I can further divide participants in each group by Sex (Male,Female) and one of three age groups (18 to 34, 34 t...
I am analysing my data using GEE in SPSS and would like to ask you a question regarding GEE and ordinal data. My study dataset includes ordinal data (a 5-point scale ranging from 1 highly unfamiliar to 5 highly familiar). I’ve run a GEE and chose an ‘ordinal logistic’ model but it’s not possible to include ‘EM means’ ...
At time T0: A linear model is deployed to predict outcome Y as a function of X with equation Y = m1*x + c1 At time T1: The underlying process drifts to a new mean, resulting in consistently positive errors, i.e the intercept c1 is not equal to the expected mean in the new conditions. Correcting c1 to c2 yields errors t...
Is it for example feasible to hand a query image of my dog "Dave" to a CNN, and then use the CNN to find all images of "Dave" in a database of dog images? If so, how would one do this? If not, why not?
I need to predict future 1 or 2 days energy consumption based on previous data: I have data related to daily energy consumption and various HOURLY data related to temperature (temperature, relative temperature, wind speed, dew point, atmospheric pressure). In SPSS or Excel or R, what analysis should I make? Could you, ...
In the documentation (https://google.github.io/CausalImpact/CausalImpact.html) for CasualImpact there is an example of setting pre and post periods of the treatment: pre.period <- as.Date(c("2014-01-01", "2014-03-11")) post.period <- as.Date(c("2014-03-12", "2014-04-10")) Can I use a staggered vector (or similar) seri...
So I have a regression model with a couple of quantitative variables and several categorical variables. Should I just focus first on seeing if the quantitative variables are significant predictors for the dependent variable by using the summary(..) command and looking at the p-value, and, after that, use an ANOVA compa...
I am comparing the p-Erk intensity of wild type (n=3) and mutant (n=3) group around the PSPB region in the developing mouse brain. I have collected intensity data throughout a line drawn across the area of interest, I have made the X axis into 12 bins, each bin is the sum of the intensity within the bin. The control an...
Suppose I have a probability distribution $p_\theta$ on $\Bbb R^n$ dependant on some parameters $\theta$. A natural problem is to evaluate the derivative of some expectation by the parameters: $$d_\theta\Bbb E_{p_\theta}[f]=d_\theta\int d^nx\, f(x)p_\theta(x)=\int d^nx\, f(x)\frac{d_\theta p_\theta(x)}{p_\theta(x)}p_\t...
The quadratic equation $x^2 -ax+ b = 0$ is known to have two real roots, $X_1$ and $X_2$ $(X_1 > X_2)$ but the coefficient $b$ is a positive unknown and can be assumed to have a uniform distribution in the permissible range of variation. Then what is the expected value of $X_1$. I found that the roots have terms...
I have a dataset. Say $10$ observations and $3$ variables: obs A B C 1 0 0 1 2 0 1 0 3 1 0 1 4 1 1 0 5 1 0 1 6 1 0 0 7 1 1 0 8 0 0 1 9 0 1 1 10 0 1 1 Say that is $10$ customers who have bought (1) or not (0) in each category A, B, C. There are ...
Suppose there are three complimentary events well, sick, dead. At anytime, if you are not sick nor dead, you are well. From literature we know the rate of sick is 123 / 100,000 per year, and rate of dead is 456 / 100,000 per year. What will be the probabilities of being sick and dead once in 5 years time respectively?...
I am interested in understanding the different options for gauging relative importance of variables in the results of a linear model. One way I've done this is multiplying the raw variable coefficients by the standard deviation of the variable. I realize that there is no reason why a 1 SE change in one variable shoul...
So I'm super confused. Looking online for example:here or here or here or in any other website I could find ANOVA is " used to determine whether there are any statistically significant differences between the means of three or more independent (unrelated) groups" or "are useful for comparing (testing) three or more mea...
I have measurements of some function $f(l)$ at many values of $l$. However, $f(l_i)$ is covariate with surrounding values of $l$, a relationship which is described by a gaussian peak of some non-constant width $\sigma(l)$. I'd like to use this knowledge to generate a covariance matrix $K_{l,l^\prime}$ that describes po...
I've come across code to calculate a Dice coefficient in imaging segmentation, in which a "smoothing factor" was added to the formula, as below (pseudo-code): sf = 1 Dice = [2 (A * B) + sf] / [(A + B) + sf] What would be the purpose of this and its effect on the output of Dice coefficient?
A common approach to sales force call planning analysis is Decile Responsiveness. Here's an outline: Collect two year's of account level sales data (e.g. 2015 and 2016) and one year of sales force call data (e.g. 2016) The accounts are put into deciles based on 2016 sales (decile 10 being the accounts with the highes...
Let's say I have data on gene expression levels that were measured at multiple times during the day and night in various participants, e.g. in each of the 12 participants, the gene expression was measured every 2 hours, giving me 144 data points. Does it make sense to calculate the z-score per participants and subsequ...
Given a compact feature space, I want to partition the space according to some classification. The first method that comes to mind is to use SVMs. For the classification I have in mind, the space partitioning is very neat; points that are close together usually have the same class label. The only miss-classifications i...
I understand that if distance correlation is 1, then it's statistically dependent but independent if 0. But if distance correlation turns out to be about, say, 0.65 or 0.5 what does that mean in general?
I am trying to compare two versions of a binomal model on the number of successful putts. My data are: x n y 2 1443 1346 3 694 577 4 455 337 5 353 208 6 272 149 7 256 136 8 240 111 9 217 69 10 200 67 11 237 75 12 202 52 13 192 46 14 174 54 15 167 28 16 201 27 17 195 31 18 191 33 19 147 20 20 152 24 where x = distance,...
Motivation In the context of post-model-selection inference, Leeb & Pötscher (2005) write: Although it has long been known that uniformity (at least locally) w.r.t. the parameters is an important issue in asymptotic analysis, this lesson has often been forgotten in the daily practice of econometric and statistical the...
I think I get the general idea of both VI and MCMC including the various flavors of MCMC like Gibbs sampling, Metropolis Hastings etc. This paper provides a wonderful exposition of both methods. I have the following questions: If I wish to do Bayesian inference, why would I choose one method over the other? What are t...
I'm using the standard formula for the confidence interval for standard deviation: SQRT(((N-1)*s^2)/(CHISQ.INV((1-Confidence)/2, N-1))) By mistake I entered a very low confidence level and I noticed that the resulting interval did not include the calculated standard deviation. This happens when the confidence is suffi...
I'm learning about sampling statistics and I have a question that doesn't seem like it has been addressed in my readings, which makes me wonder if I have a core confusion. Suppose that you have model that is supposed to model real-life data. You take a sample of that model, and compare it to the observed data. You want...
I have a question regarding the acceptance rate of MCMC sampling (I am using an implementation of the Goodman and Weare 2010 algorithm) in the special case that the output of my model has a considerable amount of randomness / noise. Specifically, the model consists in a variant of a Wiener process for which no analytic...
So I want to compare my full model with my reduced model but I am having some trouble getting my head around the hypothesis' when performing the ANOVA using R. Is the following correct: ANOVA(reduced model, full model) Null: Reduced model is as good as full model Alt: Full model is significantly better p < 0.05 => c...
I seem to misunderstand the calculation process of posterior predictive p-values. Let's say I have dataset of concentration of 400 different proteins measured in 9 rats. So: $x_{pr}$ for $r=1...9, p=1...400$ The way that I understand posterior predictive p-values should be calculated is: 1) you run your MCMC chain for...
I've encountered with a random processes example and could not solve it properly. Could anyone help me? "Suppose that x(t) is a Poisson process such that E{x(9)}=6. What is the mean and variance of x(8)? We know that for Poisson process E{x(t)}=λt I thought since x(9)=6 λ=2/3. So, E{x(8)}= 16/3. But answer key says it ...
I am looking for an R function to perform a meta-analysis on areas under the curve (AUCs) of a diagnostic model. There is a model, which is validated in 5 other papers and each report an AUC with 95-percent confidence interval. How can I pool these AUCs into a single estimate by using meta-analysis?
I'm working on a project for scientific publication (in the social sciences) in which I am structuring my manuscript with a Study 1, Study 2, and so on format. Basically, I have a compelling finding with one dataset which itself in my field is probably sufficient for a publication. However, I know that my colleagues wo...
Context Stimuli: 2 different designs (A, B) Outcome: task success (binary y/n) n = 100 Between-subjects (50 Design A; 50 design B) Interpreting the proportions suggests there is no real difference in success b/t designs Error bars are largely overlapping. Design A has an 80% success rate Design B has an 75% succes...
The problem is: For a pair of random variable $(X,Y)$, where $X \in \mathbb{R}^p$, $Y \in \mathbb{R}^q$, write $\Sigma_{XX}=var(X)$, $\Sigma_{YY}=var(Y)$, $\Sigma_{YX}=cov(Y,X)$. Define $(\alpha^*, \beta^*)=$ argmax $\alpha^T\Sigma_{YX}\beta$ s.t. $\alpha^T\Sigma_{YY}\alpha=1$, $\beta^T\Sigma_{XX}\beta=1$. Assume tha...
I read a paper reporting an AUC (area under the curve) of 0.72 with a 95% confidence interval from 0.68 to 0.74. How can I calculate the variance of this AUC (I don't have the original data set, just the AUC and confidence interval)? In another paper I only have a reported AUC (=0.65) but no confidence interval, althou...
I estimated a couple of GARCH models on the basis of of different estimators for a given sample of data. Now I have two more data sets, that I want to use to evaluate which of these estimated models gives me the best forecasting accuracy. For the realized volatility I use the Garman and Klass estimator. Now my questi...
Wikipedia here says "the bigger ESS (or RegSS, SSR, etc), the better the estimated model performs". Surely this is wrong. ESS is the sum of the squared distances between the fitted values and the sample mean. $$ESS = \sum (\hat{y}_i-\bar{y})^2$$Surely the smaller ESS is, the closer the fitted values are to the sample ...
This is according to the Ljung-Box $Q$ statistic of residuals squared and ARCH-LM test. Both suggest there are ARCH effects remaining after lag 1 even after I have estimated my GARCH (1,1) model. I have no AR or MA terms in my conditional mean specification, just a constant, and all autocorrelation has been removed as ...
I only get one value at a time in the system that I am developing. However whenever I get my first value I should already be able to calculate a variance. Every time I get a new value I should recalculate the variance. One important note is that I can't save any previous values, I should thus be able to calculate varia...
Suppose I have two time series $x_t$ and $y_t$ for times $t \in T$, normalized such that each time series, as well as the set of times, has mean $0$ and variance $1$. Let $r_x$, $r_y$, $r_{xy}$ be the least-squares correlation coefficients of $x_t$, $y_t$, and $x_t y_t$ against time, so the best-fit lines of $x_t$ and ...
Suppose that I know the conditional density $$ f_{X\lvert Z}(x\lvert Z=z) $$ It is the same as knowing $$ f_{X\lvert Y}(x\lvert Y = y) $$ if I assume that $Z=g(Y)$? Let say I have two continuous random variables $X\in A$ and $Y\in B$. They could be vectors or matrices, but they have the same dimensions $\dim(A)=\dim(B)...
I'm using a GNB algorithm. As to my knowledge it should be insensitive to feature scaling. However, when I standardize (z-score) or normalize (min-max scaling) those of my features that have a very high range, its performance boosts by 10 - 15%. How can this be? I'm using the sklearn implementation.
Background: I have a distribution of intramolecular distances. I want to fit this distribution to multiple Gaussian functions, but I don't know how many. I am going to use the Akaike information criterion to evaluate the quality of e.g. a 3-Gaussian model vs a 4-Gaussian model, but for that I need the maximum value of ...
Is it possible to have a point estimate outside of confidence interval? Could anyone give me an example?
I'm doing clustering on data with 10 dimensional data. I recently had to revaluate my original cluster analysis because I found (by accident) that some of the variables are closely correlated. I assume that using any kind of linear distance measure, such as Euclidean, with correlated variables essentially adds increasi...
I have a pet project to reproduce some common clustering in theano in order to improve my understanding for future projects. I was wondering if anyone has ever used nested theano scans on shared variables to update k means clusters and each nodes assigned cluster. I have a first attempt (listed below) but it isn't upda...
I'm wondering how I can calculate the power function of the test statistic $$T_n=\frac{1}{n_1(n_1-1)}\frac{1}{n_2(n_2-1)}\sum_{k=1}^p \underset{i\not=j}{\sum^{n_1}\sum^{n_1}} \underset{s\not=t}{\sum^{n_2}\sum^{n_2}}\frac{(X_{1ik}-X_{2sk})(X_{1jk}-X_{2tk})}{\hat{\sigma}^2_{1k(i,j)}+\gamma\hat{\sigma}^2_{2k(s,t)}}$$ ...
I am having trouble finding a resource online that derives the expected Fisher's Information Matrix for the uni-variate Student's t-distribution. Does anyone know of such a resource? In absence of any existing resource that derives the expected Fisher's information matrix for the t-distribution, I am trying to derive ...
I can't seem to figure this one out. There are 53 cards in this deck, 1 joker that can assume any rank, choose from 7 cards. This is what I got: $$\binom{9}{1}\binom{4}{1}\binom{5}{4}\binom{46}{2} = 186,300$$ I multiplied 9 by 4 to get the amount of five card straights. I realized the joker can only assume the rank o...
I would like to get your opinion on the following topic: I am comparing the behaviour of Gaussian and Student-t Copulas. I employ the follwing procedure: Simulate N=100,000 samples from a Student Copula with 3 DoF, Student Copula with 100 DoF and a Gaussian Copula.The dimension of the copulas is 3. I then transform t...
I am trying to understand the negative binomial distribution(also called gamma-Poisson distribution. What is the difference of it with the Poisson distribution anyway?), but it looks kind of similar with the binomial distribution that we study in basic statistics class. What is the basic difference between these two?
I am reading a bit about mixed models but I am unsure over the terms used and quite how they go together. Pinheiro, on pg 62 of his book 'Mixed-effects models in S and S-Plus', describes the likelihood function. The first term of the second equation is described as the conditional density of $\mathbf{y_i}$, and the ...
Suppose I have $n$-x-$1$ independent random variables $\mathbf{a}$ and $\mathbf{b}$ with known covariances matrices $A$ and $B$. Is it possible to express covariance matrix $C$ of random variable $\mathbf{c} = \mathbf{a} \otimes \mathbf{b}$ in terms of $A$ and $B$? The end-goal I'm trying to achieve is to do some trans...
I am generating plots of sd v sd of two groups and using the LOWESS curve to demonstrate whether there is variability in one group over the other. However it appears the my selection of which variable appears on which axis is having a large effect on the LOWESS curve. Why would this be? plot(var1, var2, col =alpha(rgb(...
I was studying random processes and couldn't solve this? Could you help? "Let x and y be zero-mean, jointly Gaussian random variables. Assuming that Var(x)= $\sigma_x^2$and Var(y)= $\sigma_y^2$, find a scalar a in terms of variance of x and and $r_{xy}$ such that x-ay and y are independent random variables?" I don't u...
The seminal paper I allude to is linked here. Namely, the authors use contiguous county pairs to estimate the effect of minimum wage. Let $i$ index counties, $p$ index pairs, and $t$ index time. Furthermore, let $w_{it}^M$ be the minimum wage in county $i$ and pair $p$, $y_{it}$ be the employment in county $i$ at time ...
I have a dataset with ~ 1 million points. Each of them has an assigned label belonging to {0,1}. However, not all of the points are correctly labeled. I want to quantify the error in the labelings. The only way I can validate the correctness of the assigned labels is by hand. So my plan, is to manually re-label a small...
I have data that looks like the below. I would like to create a model that could answer the question: "If I have a data point with distance x and y people signed up, how many should I expect to check in?" (subject to all the usual hedges like not extrapolating or being too confident in the results, of course). Signed...
I have a Poisson distribution CI (used Garwood, so it's not symmetrical), and I'm not sure whether it's better to present a CI in my research paper as a graph, table, or both. If I should use a graph, what's the best software to use?
Say we have used the TFIDF transform to encode documents into continuous-valued features. How would we now use this as input to a Naive Bayes classifier? Bernoulli naive-bayes is out, because our features aren't binary anymore. Seems like we can't use Multinomial naive-bayes either, because the values are continuous ...
I am working on a question concerning the mean and variance of binomial distribution. The question is as follows. Let $Y_{1}, Y_{2},…, Y_{n}$ be independent random variables such that $Y_{i}$~$B(m,\pi_{i})$. Let $Y = Y_{1}+Y_{2}+…+Y_{n}$. Assume that $\pi_{1}, \pi_{2},…, \pi_{n}$ are independent random variables with c...
I am running a multiple linear regression model and I have 8 covariates, 4 of them are highly correlated (r>0.7). So I created z scores and then created a composite. When I re-ran the model with this composite, my predictor p-value became significantly larger and my R2 went down. Why is this happening? I thought p-valu...
For random variables $X,Y\in\mathbb{R}$ we say that they are orthogonal if $E(XY)=0$ and uncorrelated if $E((X-E(X))(Y-E(Y))=0$. In what follows I assume all random variables to be centered so orthogonal and uncorrelated are the same thing. Consider the case $X,Y\in\mathbb{R}^i$ for some $i>1$. Does orthogonal/uncorrel...
How come it's possible to get Metropolis-Hastings acceptance rates close to 1 (for example, when exploring a unimodal distribution with a normal proposal distribution with too-small SD), after burn-in is over? I see it in my own MCMC chains but I don't understand how it makes sense. It seems to me that after reaching t...
I am trying to understand the basic difference between both . As per what i have read through various links, previously asked questions and videos - Correlation means - two variables vary together, if one changes so does the other but it does not imply collinearity or that one can explain the other. VIF - Inflation in...
This is from Exercise 2.4 (Page 39) of Elements of Statistical Learning: The edge effect problem discussed on page 23 is not peculiar to uniform sampling from bounded domains. Consider inputs drawn from a spherical multinormal distribution $X ∼ N(0,\mathbf{I_p})$. The squared distance from any sample point to the origi...
I want to perform a meta-analysis of survival estimates, and I want to fit a random effects model. I am working in R, and my data.frame looks something along the lines of: Study Age10 Age20 Age30 ... A 0.90 0.83 0.70 B 0.99 0.93 0.78 . . . . . . . . . . . ...
I have to find which formula to use to calculate if there is an outlier in this piece of data. They are cranial measurements (Cranial length, Cranial height, Cranial Breadth and Facial Projection Length) which consist of whole numbers like (170mm,180mm,173mm) etc. I am not sure if this is an example of discrete data or...
Will correlated features reduce the accuracy of a classifier? Most of the posts related to correlated features talk about using PCA to remove the correlation. My problem is not specific to any algorithms. Or is the question algorithm specific? I understand that correlation may cause numerical troubles in regression but...
"Let x and y be independent random variables, which are both uniform in (-2,6) If z=x+y find and plot its pdf." How can I draw this pdf? My working:
I am trying to see if feature set A can differentiate between two groups just as well as or even better than feature set B does. I am comparing the perfomance of both feature sets based on their AUC in binary logistic regession on cvglmnet implemented in nested CV. Feature set A - consists of my actual variables of i...
I would like to submit to an expert group a set of images from two genetically different types of plants to see if they can find a difference. I have 20 images for each of the two types. Images are images of cells that are so specific that only a small group of 10 experts are able to see the potential differences (with...
How exactly should I go about deciding by how much I should reduce the dimensions of an image? I have tons of images of blood cells, each image of dimensions 1280x900. The common MNIST data set is 28x28. But I feel like reducing my images to that small would cause for lot of the fine details associated with "blood cell...
I have hundreds of images, each image is one of eight different types of blood cells. The names of the images indicate what type of blood cell it is. I am having trouble getting started with image pre-processing for building a CNN. My current approach is to first read in my images, and convert to one hot encoding. The...
Say we are designing a neural network for self driving cars. This question came about after seeing a video in the Machine Learning class taught by Andrew Ng at Stanford. The video uses two neural networks, one is trained to drive on single lane roads, while the other is trained to drive on two lane roads. When the pred...
I have huge dataset, each independedntly varying and has different units. Also, I want to cluster similar variables. This is the end result. In order to do this, the first step I intend to follow is PCA(Principle Component Analysis). But few informed me that 'Since dataset is of different units and Size. It would make ...
We have 2 different interpretations for our data. Here is an example: Interpretation-1 Interpretation-2 Frame tool1 Frame tool1 1 0 1 1 2 1 2 2 3 1 3 2 4 1 4 3 5 2 5 3 6 2 6 3 7 0 7 1 8...
let X be a single observation from the density $f(x;\theta)$ =$ \theta x^{\theta -1} I_{(0,1)}(x)$ is there a UMP size-$\alpha$ test for testing $H_0 :\theta \ge \frac{1}{2} $ V/S $ H_1 : \theta < \frac{1}{2} $ ? Atempt :for general solution let $ \theta_0 = \frac{1}{2} $ comparing $f(x;\theta)$ with the form $a(\t...
Let's have some generalized linear model and its summary: Call: glm(formula = time ~ poly(I(1/nprocs), 2, raw = T) + poly(nDOF, 3, raw = T) + poly(ndoms, 3, raw = T) + I(1/nprocs):poly(ndoms, 2, raw = T), family = gaussian(link = "log"), data = dataFact) Deviance Residuals: Min 1Q Median ...
Setup I am making measurements that require both large storage space and long acquisition times. Aim In order to understand the underlying process, I need to precisely characterise the random variations of the instantaneous values (currently through its probability density function as I don't know it precisely yet -- ...
I am interested in the effect of an ordinal variable (likert type) that had 4 answer options on participants preferences of six statements (as participants ranked these, I assume this too would be ordinal data). In the case of my data, would kendall's tau or spearmans rho be more appropriate. I know Kendall's tau can b...
I have data which contain matched and unmatched data points. I want to know if it is appropriate to do the ANOVA and correlation analysis I have performed below. I have "readout" data from 40 subjects. The data come from 3 timepoints; "start", "mid", and "end". Subjects 1 thru 20 contributed data at "start" and "mid", ...
I'm running a multiple linear regression in R. In my linear regression I have 'country' as a qualitative predictor, which dramatically increases the adjusted R^2 value, and lowers my BIC. I want to include it in my regression model, but only around 2/3 of the counties I've mentioned are statistically different from the...
I am writing software, that keeps track of hourly rates of certain incidents in historic data. I find that the generating process of these incidents is acceptably well described by a poisson process. As such, I estimate the intensity $\lambda$ from the historic data to be the hourly mean and subsequently raise an alert...
According to the paper introducting Batch Normalization, the actual BN function is given as: Input: Values of $x$ over a mini-batch $\mathcal B = \{x_{1,\ldots,m}\}$; parameters to be learned $\gamma,\beta$. Output: $\{y_i = \mathrm{BN}_{\gamma,\beta}(x_i)\}$. $\mu_{\mathcal B} \leftarrow \frac1m \sum_{i = 1}^m x_i$...
The Overlapping Coefficient (OVL) measures the common area between two Probability Density Functions (see this question for more details). Intuitively, this seems like a good way to gauge the similarity between two distributions; and perhaps even more useful than the Kolmogorov–Smirnov (KS) test which will penalise bas...
I'm working with RNNs and during research I found many mentions of alignment between input and output. For example (Sutskever et al., 2014): The RNN can easily map sequences to sequences whenever the alignment between the inputs the outputs is known ahead of time. However, it is not clear how to apply an RNN to proble...
A common notion in literature on the comparison of various estimation techniques for dynamic panel models is that it's always stressed that each of these different estimation techniques perform best in different circumstances. Especially, the differentiation between the Least-Squares Dummy Variable (LSDV) or the Genera...
I want to test whether an individual's grouping (categorical of which there are 4 separate groups) together with their response to another question (likert type, so assumed ordinal) affects their preference for a range of strategies (which they individually ranked from 1-6) Would either ordinal regression or multivari...
In Stephen Stigler's History of Statistics, there's a section on Jacob Bernoulli and his attempt to formalize uncertainty about an unknown proportion given an accumulation of evidence, leading ultimately to the weak law of large numbers. I'm having trouble understanding Stigler's modern derivation of Bernoulli's law. S...
Context I'm creating a function in R that performs a hypothesis testing using the non-parametric bootstrap. I've been following equations by my professor and though I've written some of the function, I don't understand it nor can I confirm that it does what I intend it to do. #' Tests a hypothesis using the nonparameti...
As stated in the Econometrics textbook (Introductory Econometrics by Wooldbridge): When $E(u|x)=E(u)$ holds, we say that $u$ is mean independent of $x$. Why can't we simply say that $u$ is independent of $x$? Is it possible to have $u$ completely independent of $x$?