instruction
stringlengths
9
38.7k
I have a text classification task with multiple classes. Right now model uses logistic regression & uses only word features encoded using TF-IDF. But for some of the classes, the non-text features are very useful, such as, length of the text in words, etc. My question is how it's better to include such features into ...
I would like to interpret interactions and their confidence intervals in a logit model. My model looks like: model.3 <- glm(NRSsuff ~ Gender + NRS0 + Meds + Gender:Meds, family=binomial(link="logit"), data=dataset.model) The output: Estimate Std. Error z value Pr(>|z|) (Intercept) ...
Given the multiclass SVM problem with a hinge loss, and no bias (e.g. $b=0$): $$ f= \sum_{j\in[K]}\frac12||\mathbf w_j||^2+\frac{C}m \sum_{i=1}^m \ell(\mathbf w_1,...,\mathbf w_K,\mathbf x_i,y_i)$$ Where $\ell(\mathbf w_1,...,\mathbf w_K,\mathbf x_i,y_i)=\max_{j\in[K]}\{\mathbf w_j\cdot\mathbf x_i-\mathbf w_{y_i}\cdot\...
I am relatively new to statistical learning and need some advice regarding the use of nested cross-validation for model selection and performance evaluation for binary logistic regression with LASSO in R. My understanding is that the outer loop will go through the model parameters (alpha and lambda). For each alpha, I ...
There are 2 parts to this question. Suppose we are looking at sales $S$ of a product across $> 1000$ stores where a it sells. For each of these $1000$ stores we have 24 months recorded data. We want to be able to predict $S_t \leftarrow f(S_{t-1})$. We could build a RNN for each of the store time series, calculate te...
In the original paper for resilient backpropagation (http://paginas.fe.up.pt/~ee02162/dissertacao/RPROP%20paper.pdf), the author says "One of the main advantages of RPROP lies in the fact, that for many problems no choice of parameters is needed at all to obtain optimal or at least nearly optimal convergence time". Res...
I have a question on the slope coefficient of OLS compared to that for Quantile Regression, when facing homoscedastic error terms. The population model may look like: $y_i = \beta_0 + \beta_{1}x_i + u_i$ with $u_i$ being iid error terms. Will the estimated slope coefficient $\hat{\beta}_{1}$ converge to the same value ...
I am trying to make a regression with SVR and I found a problem in the process, the regression with random data is ok, but I tried it with my data, and with all of these three kernels the prediction's output is constant (see the plot). Here is a piece of my data, maybe the problem is here, but I cant'see why. data.csv ...
Typical training data for LDA is a count matrix $D \in R^{n\times m}$, where $n$ denotes the number of documents in the corpus and $m$ is the number of words of the vocabulary. $D_{ij}$ is the number of occurrences of word $j$ in document $i$. It seems to me the training data $D$ does not contain any structural informa...
Define $X$, $Y$, $X_1$, $Y_1$, and $Z$ to be some positive random variables, for each of which we know the distribution. Note that these variables are independent of each other. Let $t, a$ two positive constants and $f(X,Y)$ a function of $X$ and $Y$. Also, define the following events: Event $A: X \ge t$. Event $B: (X ...
Let $n=144$ observations from an $AR(1)$ model $$y_t=\phi y_{t-1}+\epsilon_t$$ where $\epsilon_t$ is White Noise with mean zero and variance $\sigma^2$. If $y_1=-1.7$, $y_{144}=-2.1$, $\sum_{t=2}^n y_t y_{t-1}=-128.6$ and $\sum_{t=1}^n y_t^2=246.4$. Find an estimate for $\phi$. I already found that the estimate o...
Typically, the Skip-Gram (SG) architecture is argued to be superior to Continuous Bag-of-Words (CBOW) for rare words because the CBOW averages over the input words (Mikolov et al., 2013). That is, CBOW's hidden layer is defined as: $$\begin{equation} {\bf h} = {\bf W}^T \sum^C_i({\bf x}_i) C^{-1} = {\bf W}^T {\bf \bar ...
I have a series of coordinates. I know that I can cluster these using some of the basic methods like k-means or hierarchical clustering. I can also easily find out which is the closest neighbor to each coordinate. However, how do I split the data into clusters, so that each cluster is exactly of size n, and that each c...
I am currently conducting medical research. It is a randomized blinded clinical trial to compare patient indicators of rehabilitation after a surgical procedure . One group of patients receives an injection of local anesthetic near a sensory nerve; the second group of patients receives the same injection of local anest...
I want to Calculating (stepwise) cumulative probability from discontinuous density in R. The density was estimated based non-parametric method (density() function in R), and the command returned a class including x (coordinates of the points where the density is estimated), y (estimated density values based on x) and t...
I am using Weka PART on my data set, and it is providing the rules below: Attribute0 > 765.012954 AND Attribute1 <= 141.732431: Unsafe (143.0/1.0) Attribute0 > 765.012954 AND Attribute3 > 163.157393 AND Attribute0 > 773.571142: Unsafe (65.0) I am able to understand the rules, but I am unable to understand what...
I was told that SVM would return good results for my research task, but afaik SVMs and Logical regression work with binomial class labels. How can I make them work with classes that have more than two possible values?
Allow me to state my use-case through a simplified example: coffee-machines. It makes it easier to understand :) Challenge: I have a series of devices (let's take coffee-machines as example) which each have irregular measurements of maintenance during which a value is measured (let's take the #coffees brewed). Over-tim...
A coin toss is referred as IID in several websites. What I want to know that if I'm understanding the concept right. If X denote a random variable which means the "result of a coin toss" then $x_1, x_2, ... , x_n$ are the results of repeated coin tossing. Are $x_1, x_2, ... , x_n$ IID? If yes, how can observations be v...
Do deep learning algorithms run into trouble when tasked with classifying high dimensional input into one of many categories? By many I mean thousands or millions. If it does, how could one deal with this problem? Any references?
I want to write a function that uses the greedy algorithm to solve the traveling salesman problem in R. For this problem I have been given a set of 12 points and have been asked to start the algorithm at a specific starting point. I understand the algorithm but am a bit stuck on where to begin.
I know that a phrase-based statistical machine translator finds the probability of a correct translation by analyzing a bilingual corpus text, and it maps phrases from the one language to phrases in the other language. By the frequency of maps between specific phrases it finds the probability. What I don't understand, ...
Let $n=144$ observations from an $AR(1)$ model $$y_t=\phi y_{t-1}+\epsilon_t$$ where $\epsilon_t$ is White Noise with mean zero and variance $\sigma^2$. If $y_1=-1.7$, $y_{144}=-2.1$, $\sum_{t=2}^n y_t y_{t-1}=-128.6$ and $\sum_{t=1}^n y_t^2=246.4$. Suppose $\sigma^2$ know, find $Cov(e_n(1),e_n(2))$, where $e_n...
I'm considering blocking my analysis dataset on one or two key variables prior to a standard sub-classification propensity score analysis. For example, if my dataset (which contains member level pre- and post-treatment period hospital utilization outcomes) is blocked on the # of hospital ED visits during the pre-treatm...
I've seen others searching for similar issues, but have not yet come across a example that explains how to actually do this: I have a dataset with both time varying and non-time varying variables that I want to examine using an extended Cox model. Some of the observations have missing non-varying variables. All time-de...
In book I have the following sentence: How can we understand "precisions" of different coeffcients(I am not native english speaker)? And why do we use quadratic function, in order to solve this problem?
Assume we have the following VAR(2) system, where $Z_t$ is an n-dimensional vector and $e_t\sim\mathcal{N}(0,I)$ are IID: $$Z_t = AZ_{t-1} + BZ_{t-2} + Ce_t$$ Is there a nice, closed-form solution for $\text{Var}(Z_t)$? Here's where I've gotten: $$\text{Var}(Z_t) = \mathbb{E}[Z_tZ_t^T] = \mathbb{E}[(AZ_{t-1} + BZ_{t-2}...
I have two classes $\omega_1,\omega_2$ with equal prior probability $P(\omega_1)=P(\omega_2)=0.5$. And the points in 2D are distributed $\mathcal{N}(\mu_i,\Sigma), \mu_1=(0,0)^T, \mu_1=(4,4)^T, \Sigma=\biggl(\begin{matrix}2&-1\\-1&2\end{matrix}\biggr)$. I got that the optimal bayes classifier is: $f(x_1,x_2)=\begin{cas...
I am studying a particular type of system. I have a theory that allows me to simulate how the system evolves based on some initial conditions. Now, looking at a real object, I am using machine learning to determine what initial conditions, if simulated, would give rise to an object with those properties. I am running ...
Suppose I have a sequence of iid random variables $X_1, \ldots, X_n$ following the pdf: $$ f_\theta (x) = \theta x^{\theta-1} $$ for $\theta >0$ and $0 <x<1$. I would like to obtain a level-$\alpha$ likelihood ratio test for the null hypothesis $H_0: \theta = \theta_0$ versus the two-sided alternative $H_1: \theta \neq...
The problem is given by: $$ \text{maximize}_{W} \ \operatorname{Trace}(W^T H W L) \tag{1} $$ $$s.t: \ W^TW=I$$ where $W \in R^{n \times n}$ is a matrix variable and $H,L$ are constant square positive definite matrices that have the size of $n$. I am thinking of converting it into a generalized eigen decomposition pro...
Looking at sci-kit learn regression metrics, it gives us 5 metrics: explained variance score and $R^2$ score; mean absolute error, mean squared error and median absolute error. The explained variance score and $R^2$ score are related and well explained on Wikipedia. The same occurs for mean absolute error and mean squa...
I'm working with some turnstile data. My factor variables are day of week (e.g, Monday - Sunday) and binned hour of day (e.g, 4, 8, 12, 16, 20, 00). My question is straight forward: To create a set of simple interaction variables (a la Python Scikitlearn PolynomialFactors) is it best to: Change day labels to integers ...
Some functions are identical between systems, for example nearest neighbour analysis. It would be unusual to have nearest neighbour implemented differently as appears in academic papers. Is it the same with maximum likelihood (supervised classification)? How likely is it that the same input imagery raster and same trai...
I have run an experiment in which I'm comparing the behavior of two groups of unequal size (group1 and group2), where each subject in the group has to take one two possible actions. So I'm ending up with data of the form: action_A action_B group1 3320 2273 group2 16154 9359 The results ar...
In Casella Berger's Statistical Inference, they define a power function of a hypothesis test with rejection region $R$ to be the function of $\theta$ define by $\beta(\theta) = P_\theta(X\in R)$ for some data $X$. Suppose that $H_0: \theta\in \Theta_0$ and $H_1: \theta \in \Theta_0^c$. Furthermore, they state that: $$ ...
The Karlin-Rubin Test gives conditions where the test $H_0: \theta \leq \theta_0$ vs $H_1: \theta >\theta_0$ is UMP, I am wondering what we can do in cases where $H_0: \theta \geq \theta_0$ vs $H_1: \theta <\theta_0$? In this case do we just invert the test?
When should one use the different types of ARIMA model as mentioned below: Estimate the model order in the training data set and use the same order to forecast future values (updating the parameter estimates) Use a rolling window (e.g. 30 day) to make a new forecast by estimating model order and parameters everytime t...
I read somewhere that it is possible to convert a test $H_0: \theta\leq \theta_0$ v.s. $H_1: \theta > \theta_0$ equivalent to simple (point) hypothesis. I am wondering if there is a theorem encapsulating this? I would like to convert the composite hypothesis above into a simple one so that I can use the Neyman-Pearson ...
I understand that pivotal quantities are usually found for finding confidence intervals via inversion. However, I am wondering if there is an intuition behind a pivotal quantity having to depend on our data and parameters $(X, \theta)$ while having a distribution that is free of the parameters. Is it so that we can iso...
Q-Q plot of residuals for data set Graph showing the relationship between length of dogwhelk shell and distance from the low tide mark, with linear regression line, 95% confidence interval lines and 0 gradient line (red). Does the Q-Q plot mean that there are are less 'smaller dogwelks' than 'larger dog whelks',
Why use Differencing and Box-Cox transformation in a time series? From what I read the usefulness of the procedures are Differencing: Making a time series stationary and stabilize the mean Box-Cox: stabilize the variance Is there anything else behind it? I know that there is some useful properties in a Stationary Pro...
I am trying to remove features with low variance using VarianceThreshold It seems to me that we should normalize the data before calculating variance, but somehow VarianceThreshold is not doing it automatically. Thoughts ?
Generally speaking, polynomial distributed lag (PDL) models deal with independent variables and autoregressive (AR) models deal with dependent variables (their errors), but are there ever occasions where one specifies a lagged term of a independent variable alongside an AR term? I have not come across this too much in ...
I have run a nearest neighbor clustering of some data, and I have a matrix of cosine distances. However, I'm confused on how to plot it visually, or what units, if any these distances exist in. It seems if I create a scatter plot of the distances, I get a perfectly straight diagonal line. If I flip one axis, things loo...
A transition matrix is regular if some power of the matrix contains all positive entries. [1] Its powers have all positive entries... Why isn't this matrix a Regular Transition Matrix? Reference: [1] http://fazekas-andras-istvan.hu/9_11_markov_lancok/DFAI_MARKOV_CHAINS_02.pdf
I was trying the filterVarImp function in caret package. While the outcome was categorical we get ROC as the importance measure. My question is: How is the function doing it? Is it fitting a model and then predicting probabilities to compare with target to give AUC or comparing itself directly? How is categorical predi...
If for a discrete distribution we can say that its PDF answers a question of something like "How possible is exactly this value?", then what would a be similar "human" interpretation of a PDF for a continuous distribution? And in R, how in some kind of "practical" terms can an illiterate like me interpret something li...
I was reading this post on quora https://www.quora.com/What-are-the-advantages-of-different-classification-algorithms It states here that :-"Logistic regression is a pretty well-behaved classification algorithm that can be trained as long as you expect your features to be roughly linear and the problem to be linearly ...
In the book Sequential Monte Carlo Methods in Practice, the beginning of section 1.3.1. I am confused by the notation used $$P_N(dx_{0:t}|y_{0:t})=\frac{1}{N}\sum_{i=1}^{N}{\delta_{x_{0:t}^{(i)}}(dx_{0:t})}$$ This is what is referred to as the empirical estimate of the posterior distribution. I would like to know what...
I'm a real newbie when it comes to statistics so please don't judge me and my question ;) I'm doing a linear regression analysis with SPSS and since my data is neither normally distributed nor shows homoscedasticity, I decided to use bootstrapping. Now, I'm really confused when it comes to the interpretation of the out...
I have a four factor scale that I just finished CFA on, and I was advised to use the chi-square test of differences to check for discriminant validity to reinforce my AVE based test for it. I read here (http://zencaroline.blogspot.com/2007/05/discriminant-validity.html, which cites Bagozzi & Yi, 1991, and an applicatio...
I go confused about what I read about the t test: We calculate the t statistic (obtained), which "represents the number of standard deviation units (or standard error units) that our sample mean is from the hypothesized value of µY, assuming the null hypothesis is true" (Frankfort-Nachmias and Leon-Guerrero 2011...
I am interested to fit distribution to the count data presented as histogram below: Is there a way to understand what is the most likely distribution of the data without apriori hypothesizing the distribution? Following, let's say I suspect the data to be distributed according to zero-inflated Poisson distribution. If...
My daughter has gathered data relating to rock pool populations of various entities across 5 months, on two sites, one with a lot of human interaction and one with little. She is starting to look at comparisons on a particular month between results in the two environments, so the data appears as: Species Di...
How can I perform a two sample t-test if one sample is small (n<30) and one sample is large (n>30). The usual method is giving wrong results. What should I do?
I am trying to understand the following part about equivariance to translation from the deep learning book by Goodfellow, Bengio and Courville (chapter 9.2, page 338-339): To say a function is equivariant means that if the input changes, the output changes in the same way. Specifically, a function $f(x)$ is equivarian...
I don't understand why there is a difference between the pdf and the normalized histogram (based on randn) I plotted in matlab. Especially from -2 to -3 the difference is huge. Why is the normalized histogram so far of from the ideal pdf? Here is my code: q = [-3:6/99:3]; % x-Axis f_q = (1/sqrt(2*pi*1))*exp(-0.5*(...
I see suggestions like this for tuning a GradientBoostingRegressor's params through multiple steps. In each step, the best params are selected via CV. For example (abbreviated steps): find some of the best tree-based params through grid search find the remaining best tree-based params through grid search, having fixed...
I'm a high school maths teacher and I was helping a pupil who had collected data for her project. I summerise the information in the table below. $\begin{array}{c|cc|c} & Y & not Y & \\\hline X &360 & 83& 443\\ not X &46 &19 &65\\\hline & 406& 102& 508 \end{array}$ I advised her to do a chi-squared test to test the...
I performed lasso and then leave-one-out cross validation cv<-cv.glmnet(df, df$Price, nfolds = 1500) When I plot cv I get the following: I also noticed that I get 2 different lambdas: lambda.min and lambda.1se What is the difference between these lambdas? What can I understand from the above plot in general (what a...
I want to generate some sequences using LSTMs, like in the char-rnn from karpathy, I do nearly everything identical. For that during training the network greatly decreases the error over time, until it converges in some local minima of the error function (I assume). My first question would be as to what reasons there a...
I have three dependent variables, $X_1$ (my 'main' independent variable), $X_2$ $X_3$ where When I test $X_1$ against the response variable y in a bivariate regression, the results are not statistically significant. However, when I include $X_2$ and $X_3$ in a multivariate regression, all three predictors become si...
The Problem I am attempting to solve a challenge on HackerRank that asks the following: Given a string $S$ of length $N$ that consists of only zeros and ones, if two indices, $i$ and $j$ are chosen at random between $1$ and $N$, both inclusive, what is the probability that $S[i]=1$ and $S[j]=1$ and $|i - j| \leq K$? So...
The Mann-Whitney U test or the Wilcoxon Rank Sum test is sensitive to unequal variances. Is there an equation that adjusts the standard deviation of this statistic, much like in the Welch-corrected t-test for independent samples?
I have financial price time series data and it has some noisy (probably erroneous) data and it also has gaps. As a first step I want apply a Tukey median smoother on points that do exist so I can study the residuals to decide if the point is an outlier. So far approach looks very promising on full sets of data that are...
I've read a lot about Playfair and the history of graphics. However, I have not discovered who was the first to create the now popular yet information-poor bar graph of means. Anybody know?
I'm having some troubles to "suggest" ARIMA models based only in the series plot, autocorrelation and partial autocorrelation function. In the time series below, the first plot is the serie (no description of time), the second and third are Autocorreation and Partial Autocorrelation. When the series have trend I know ...
This problem is related to my lab's research in robotic coverage: Randomly draw $n$ numbers from the set $\{1,2,\ldots,m\}$ without replacement, and sort the numbers in ascending order. $1\le n\le m$. From this sorted list of numbers $\{a_{(1)},a_{(2)},…,a_{(n)}\}$, generate the difference between consecutive numbers ...
I've been asked to analyse some data and I'm struggling to get my head round it. 14 people in a therapy group were rated on a questionnaire containing 16 6-point Likert scale questions when they started. The same questionnaires were administered 4 months later. So I'm looking a pre- (or quasi) experimental design. The...
I am wondering how I can show formally that for a random variable $X$, and $\epsilon>0$, that $$ X^2 \mathbb{1}_{\{|X|<\epsilon\}} < \epsilon^2 $$ My approach: $$ X^2 \mathbb{1}_{\{|X|<\epsilon\}} = X^2 \mathbb{1}_{\{X^2<\epsilon^2\}} $$ At this point, if I use reasoning by logic, we will have zero anytime $\epsilon^...
I'm preparing to conduct an estimation procedure using GMM (Generalized Method of Moments), and I'm in the process of selecting my moments. This got me thinking, can I use non-statistical moments as my "moments" (i.e., median, mode, other functions of the data)? Will the resulting estimator still enjoy the consistenc...
I have seen the following justification for the Wald test of the null hypothesis $H_0: \theta = \theta_0$ for a scalar parameter $\theta$. When $\hat{\theta}_n$ is the MLE for $\theta$ estimated from an independent sample of size $n$, under the null hypothesis we have $\sqrt{n}\left(\hat{\theta}_n - \theta_0\right) \ri...
Suppose that a posterior distribution $\lambda$ has distribution $\lambda \sim \chi^2_{v}$. Then, it is often written that a $1-\alpha$ Bayesian credible interval for $\lambda \sim \chi^2_{v}$ will have have lower and upper endpoints of $\chi^2_{v, 1-\alpha/2}$ and $\chi^2_{v,\alpha/2}$, respectively. I am wondering w...
I understand how Wald testing is derived i.e. (Sorry, not sure how to add formulae to these questions) $$\dfrac{(RB-q)'(R(X'X)^{-1}R')(RB-q)}{s^{2}}$$ This will be distributed as F(M, N-K), where M is the number of restrictions and I am assuming that the coefficient vector B is normally distributed. R is the matrix of ...
Suppose I have a pseudo random generator rand, I am using it to generate two random variables X and Y as follows: for(i = 0; i < N; ++i) { x = rand(); y = rand(); } Question: in theory, can X and Y be uncorrelated? If yes, I want a simple example with proof (a simple rand procedure that produce uncorrelated X an...
I am trying to conduct a 3 x 2 mixed ANOVA (my measure is reaction time data) and my data is currently not normally distributed. I have read that ANOVA is robust to the violations of normality so I wouldn't need to transform my data. However, wouldn't I need to identify outliers since it is reaction time data? How woul...
I have daily USD/GBP exchange rates (for the past 5 years), from which i can calculate daily depreciation rates. From this I know how to build confidence intervals for daily depreciation rates. Is there a way to use this data to build confidence intervals for yearly depreciation rates? One way I thought of was to calc...
I have 5 planes that are parallel to each other. Some circles collisions with the planes and i have 5 collision points for each circle. Now how i find the coordinates of each circle with that points by machine learning algorithms? Actually just finding out what points are for one circle solves the problem Something lik...
If we have spatial points randomly distributed in 2D space, then we clustered those points according to some parameters, say location x,y. Can we use the same clustering algorithm and apply it on finding a geographical area borders? . In another words , If a set of points with the same characteristics are clustered a...
I need to classify lips by lipstick they use(basically by color). Currently I have 26 classes but in general it might be above 200. I already tried to do something convnets and multilayer perceptron. Unfortunately both of them didn't help very much. CNN returned .45 accuracy on test with 3 channels image. With MPL I'...
What are the differences of modeling ability between Variational Auto-encoders (VAEs) and Restricted Boltzmann Machines (RBMs)? What I am interested in is to know about the unsupervised learning power differences. Where exactly VAEs work better than RBMs and vise versa? Also what RBMs can capture that VAEs can not? I a...
Questionnaires often contain questions which are similar but worded differently. Usually, these questions are located in different parts of the questionnaire, intended to weed out participants who don't take the questionnaire seriously, but I've seen examples where related questions are placed together in a block, as w...
How can one calculate the $\ R(k) $ and $\ K_2(k) $ for the common second-order kernels? For the Rectangular Kernal the answer is $\ R(k) = 1/2 $ and $\ K_2(k)=1/3 $ How can you derive this? And how would it look like for Gaussian and Epanechnikov? Note: Moments of a kernel are $\ K_j(k) $ here j=2 since we deal wit...
I'm trying to predict a binary outcome - let's call it "Cancer/no cancer" after this example here. So, $a$ refers to cancer correctly diagnosed as such, and so on. Using logistic regression I can find the parameters $\theta$ that will minimize the cost function: $J(\theta) = - \frac{1}{m} \displaystyle \sum_{i=1}^m [y...
I have collected data over 30 days and want to assess if there is a difference between the two groups (control and treatment) over each day. Is it appropriate to carry out linear regression on this type of time series data? My outcome variable is continuous.
I'm working on a neural network with one hidden layer. So far I've implemented the algorithm, and I've been able to numerically verify the partial derivatives I get from back propagation. My problem is when I try to train the network by updating the weights. No matter what I do it doesn't seem like I can get my estimat...
I am doing a research on a survey data and I am quite new to the notion of individual weights. I am confused about how to use them to calculate the descriptive statistics and to estimate models (I use R). When I open the data with SPSS, it looks like this: I know that weighting is done to make the sample representativ...
I would like to get any advice on the latent class in the mixture model. But i wish to do latent code by hand without relying on the existing R package. This is my snippet code to do the finite mixture: no<-nrows(myData.obs) prob1 = pi1*dmvnorm(myData.obs,m1,Sigma1); # probabilities of sample points under model 1 pro...
I have the results of an lmer model (in R) with the following variables: Dependant variable : Amount of carbon in the sample Independant variable: Species: tree species around which the sample was taken (sp. A or sp. B) Fraction: sample can came from maccroaggregates, microaggregates or silt and clay (M,m or s) Dis...
Currently I'm working on solving the XOR problem with a homemade NN in C++. Several (worthy) people have recommended my weight adjustment formula to be: $$ weight=weight + (error \cdot input) .$$ That's all fine and dandy, but considering there are multiple inputs in XOR how does one decide the current input to be mult...
I was reading those papers by Facebook and Google on Click-Through Rate predictions and something kept bothering me. I understand that to fully take advantage of data freshness or simply because we work at massive scale it is interesting to learn/update our model in an online/streaming fashion. I also understand that u...
I'm a little unclear on the definitions of "identifiable" and "convex." Consider the case where $X_1, \ldots, X_n \overset{iid}{\sim} \text{Bernoulli}(p)$. Then our likelihood function is $L(p) = p^{\sum_i x_i}(1-p)^{n - \sum x_i}.$ 1. This model is identifiable or one-to-one because $L(p_1) = L(p_2)$ implies $p_1 = p_...
I'm just trying to get my head around the differences between these three approaches to statistical inference. I'm just not entirely sure what the significant differences are between the three.
What would be the probability density function (pdf) of the complex random variable given below? $$Z = \sum_{i=1}^{M}{x_{i}^{*}y_{i}}$$ where $x_i, y_i$ are independent r.v.'s with $\mathcal{CN}(0,c)$.
I have researched some approaches so far. My situation is: I have 9 different models, all targeting on the same time-series variable. Now I want to combine these 9 forecasts to estimate a better, combined forecast. Approaches I have researched so far: Equally weighted averaging, very naive, but unfortunately also very...
What do the values in the x axis and y axis of this scatterplot correspond to? It is related to t-SNE but I don't know how. The plot is from: Lingren T, Chen P, Bochenek J, Doshi-Velez F, Manning-Courtney P, Bickel J, et al. (2016) Electronic Health Record Based Algorithm to Identify Patients with Autism Spectrum ...
This is my term project for non-linear stochastic optimization and the main problem is solving $f(x_{1},...x_{n})$, i.e., I need to maximize $f(x_{1},...x_{n})$ and find $X=(x_{1},...x_{n})$ where $0\leq z \leq 1$ is known, $0\leq x_{i}\leq 1$ and $\sum_{i=1}^{i=n}x_{i} =1$. $Y_{1},...Y_{n}$ are independent positive (>...
I have a question regarding the time evolution of a quantity related to a Bayesian posterior. Suppose we have binary parameter space $\{ s_1, s_2 \}$ with prior $(p, 1-p)$, The data generating processes are Brownian motions with parameter-determined drift: $$ dX_t = \theta_i(t) dt + dB_t $$ for deterministic functions...
I am currently studying frequentist theory and hypothesis testing and I came across this paragraph in my textbook which I'm finding rather difficult to interpret, particularly the line in bold - "The fundamental notion is that of seeking a test which maximises power, the probability under repeated sampling of correctl...