instruction
stringlengths
9
38.7k
According to the definitions of the Huber loss, squared loss ($\sum(y^{(i)}-\hat y^{(i)})^2$), and absolute loss ($\sum|y^{(i)}-\hat y^{(i)}|$), I have the following interpretation. Is there anything wrong? Here, by robust to outliers I mean the samples that are too far from the best linear estimation have a low effec...
I found one similar question on cross validated, but it was unanswered; my apologies if this has been answered. I'm experimenting with feature interaction in a regression model I'm working on in R. My only concern right now is with building and scaling/centering the features. Is there a "more statistically correct" mea...
I came across the following quote on enter link description here if we made MCMC as reliable as stochastic gradient descent now is for deep networks, that could mean a resurgence of more explicit Bayesian/probabilistic models and hierarchical graphical models, of which RBMs are just one example. Is it really tr...
Let $X\sim \mathcal{N}(\mu,\Sigma)$, where $\mu\in\mathbb{R}^n$ and $\Sigma\in\mathbb{R}^{n\times n}$. How can I efficiently sample from $X | {\min{X}\le 0}$? (I.e. from the distribution of $X$ conditional on $\min{\{X_1,\dots,X_n\}}\le 0$.) This seems harder than the usual problem of sampling from a truncated Normal, ...
Could anybody show me how @Rob Hyndman calculates the variance of $\hat{y}$ in the following link Obtaining a formula for prediction limits in a linear model : EDIT: Basically I don't understand how come $X^*(X'X)^{-1}X'$ is not squared as well: $Var(y_{pred})=Var(\hat{y}+\epsilon)=(X^*\hat{\beta})^2\sigma^2+\sigma^2$...
How to calculate original data forecast interval from differenced data forecast interval? Please provide formulas or bibliographic reference.
How can I do a t-test on 2D data with latitude and longitude attributes? I have 2 clusters of similar coordinates but in different time, I want to do a t-test to see if they are statistically different. Can I do t-test? And if I can do, how can I apply t-test on 2 variables? Should I do a PCA or something?
I am interested in using logistic regression to model a competitive game. The data looks something like this: winner loser teamA teamB teamB teamC teamA teamD ... ... and each team in the dataset has at least 5 wins and 5 losses. What I've done seems a little kludgey. I've made a fake o...
I want to compare the correlations of stock related measures. According to the paper referenced below, time series can be compared for statistically different correlations with the Fisher Z transformation (confidence intervals), RMSEs with a paired T-Test and cross sectional correlations with a regression framework. No...
I am trying to analyse how people respond to the question: "It is all right for a couple to live together without intending to get married?" The data is in the form of a Likert scale. I want to analyse if age, gender and religious status affect this. What form of regression should I use - multinomial logistic regressio...
I have a linear regression model with $Y=X\beta+\epsilon$. $\epsilon$~$N(0,\sigma^2)$ MLE estimate of $\beta$ is $\beta_{MLE}={(X^TX)^{-1}X^TY}$ and MLE estimate of $\sigma^2_{MLE}=1/n(Y-XB)^T(Y-XB)$. I want to know what is the expectation and variance of $\sigma^2_{MLE}$.
I am looking for a graduate level textbook on stochastic modelling for which I can also find a solution manual online. It's like it seems to me that I have understood the concepts but every time I try to solve a new problem I have a hard time figuring it out and piecing together different concepts. So I was planning to...
I'm trying to classify instances between 2 classes ("good" and "bad"). My ultimate goal is to be able to predict good instances, but I don't need to identify all good instances. For example, say I have 1000 good ones and 1000 bad ones in my test data, I would like to pick the 100 that are more likely to be good, with m...
This table is the one from the paper entitled as: S. Wu, T. H. Falk, W. Y. Chan, ``Automatic speech emotion recognition using modulation spectral features", Speech Communication, vol. 53, no. 5, pp. 768-785, June 2011. For example in Table 2, for their algorithm namely MSF, the average percentage among 7 emotions is 7...
In basic under-grad statistics courses, students are (usually?) taught hypothesis testing for the mean of a population. Why is it that the focus is on the mean and not on the median? My guess is that it is easier to test the mean due to the central limit theorem, but I'd love to read some educated explanations.
Recently, I am working on DBSCAN algorithm, the original paper is M. Ester, H. Kriegel, J. Sander, and X. Xu. A density-based algorithm for discovering clusters in large spatial databases with noise. However, there are debates on whether the clustering result is deterministic or not. I read through the paper and releva...
So I have a net which is working pretty well(93%+ on the validation set which is the state of the art[https://yoniker.github.io/]) on some problem. I want to squeeze even more performance out of it, so I intentionally took examples it misclassified (I thought that those examples will get it closer to the true hypothesi...
I am having some difficulties in constructing my random factor in lme4. My experiment design is the following: I have 3 groups of several individuals each. In each group, some individuals were selected for receiving a treatment (experiment) and others were not (control). A measure X was collected several times for each...
Do time series analysis and panel data analysis use the same analytic method? If I know how to conduct time series analysis, what else I should know before I start to conduct panel data analysis? for example, different analytic methods or some important issues I should pay attention to, while conducting panel data anal...
A unit consists of three circuit elements in parallel; it will be in working order as long as at least one of the elements is working. The unit is examined every hour and if it is not in working order it will be replaced with a new identical unit, in which all three elements are working. The time it takes to replace a ...
In a Kalman Filter, assume we have the state equation as: $x_t=F_{t}x_{t-1}+e_t$, $e_t \sim N(0,V_t))$ $y_t=H_t x_t+w_t$, $w_t \sim N(0,W_t))$. The measurement equation tells us how the observations at time t are related to the underlying state at time t. Assume that we are at time t: are the observations at time t-1...
Do stacked RBM's have any benefits/advantages over CNN? If the concern is about face recognition.
I'm having difficulties understanding the Gap Statistic used for determining a good number of clusters. While I understand its uses, and how to interpret it, I feel I lack the knowledge to fully understand what's going on. The original paper (https://web.stanford.edu/~hastie/Papers/gap.pdf) states that the technique "c...
Does anyone know if I have a chance to get a closed form for the following integral (and if yes, what would be the trick)? $$\int \left\{1-\Phi(x)\right\}^k \Phi(x)^{n-k} \varphi\left(\frac{x-\mu}{\sigma}\right) dx,$$ where $\Phi$ and $\varphi$ are the normal cumulative distribution and density functions, $k \leq n$ ar...
I was wondering if anyone might have some answers to a question regarding running a Wilcoxon signed rank test in R. When looking up how to report our scores, it tells us to report a Z score. However, running a Wilcoxon signed rank test in R produces a V, not a Z, score. Are these two interchangeable? Or different sco...
Can I use Breusch-Pagan test to decide whether to use pooled or panel models? Few people use Standard LM test for this purpose. I am using stata.
I have conducted a simple moderation analysis in SPSS using the PROCESS macro and I've found that the interaction XM is not significative (p=0.87), but almost all three conditional effects of X on Y at values of the moderator are significative: Moderator=1.64 Effect=1,17 p=.00 95% CI [0.38 - 1,97] Moderator=2.58 Effec...
I'm a French girl studying R for the first time. I wanted to learn how to compare distributions of two variables. I have a dataset with results of a survey from a country that has two parties: a social democratic party and a fiscal conservative party. This survey measures party ID, attitudes on social policies and a fe...
I am following Pattern Recognition and Machine Learning and trying to implement Bayesian linear regression with unknown mean and variance, so that the posterior is given by a Normal-Gamma distribution $NG(w,\beta\mid w_0,\Lambda^{-1},a,b)$ I update the precision matrix by $\Lambda = \Lambda_0 + X^TX$, the weights by $w...
Is there a relation between sample size and a representative sample? Does the sample size affect the representativeness of a sample? Context: I used cluster sampling to get a sample of the study population. I calculated the needed size of the sample to do so beforehand. But after completing the survey, the size of th...
I have a survey that has two questions: Which are your preferences ($p$)? (possible answers $p_1$, $p_2$, $p_3$, $p_4$, $p_5$) Which services ($s$) do you use? (possible answers $s_1$, $s_2$, $s_3$) Both questions are multiple choice. So for each person there is a result like $p=\{p_1, p_2, p_5\}; s=\{s_2\}$ $p=\{p_...
In many neural network applications, people are prone to define loss = tf.reduce_mean(tf.nn.softmax_cross_entropy_with_logits(labels,logits) [tensorflow functions] as a loss function. Why add tf.reduce_mean (compute the expected value)?
I have a multivariate function $f:\mathbb{R}^n \to \mathbb{R}$ that takes as input $n$ random variables, each i.i.d. according to a uniform distribution on the interval $(a,b)$. Denote the set of these random variables as $\mathbf{X}.$ I would like to derive an approximate closed-form solution of $E[f(\mathbf{X})]$. A...
I have randomly allocated person into two groups, a control and intervention group. Each of the person I ask 8 questions (=hypothesis). At the end I want to compare if there is a difference between the groups answering question. Should I adjust the p-value (Bonferroni etc.) or can I use the unadjusted p-value since? ...
The difference between the largest eigenvalue and the next-largest of a graph Laplacian (equivalently, of the random walk Markov chain on the graph) is the spectral gap, related to the Cheeger constant, etc. Is there any interpretation of the difference between the smallest two eigenvalues of the graph? I am equally in...
I want to fit an ARIMA model for forecasting on a quarterly basis, but my data is a rolling year, updated quarterly, how can I use this most effectively? I'm really interested in the best estimate of the future quarterly value I can get. On the one hand I'm concerned about the "artificial" serial correlation due to the...
Let's say I want to "create"/"think of" 3 random variables: X, Y, X+Y. P(X=0) = a P(X=1) = b P(Y=0) = c P(Y=1) = d P(X+Y=0) = e P(X+Y=1) = f P(X+Y=2) = g a+b=1, c+d=1, e+f+g=1 Then: E[X] = b and E[Y] = d and E[X+Y]=f+2*g Am I constrained to choose b,d,f,g such that b+d=f+2*g, because the linearity of the mean (expected...
I am performing t-tests on gene expression data-sets. I am computing the p-value for a specific gene. From the first data-set, I got a p-value of 0.0510 and from the second data-set I got a p-value of 0.0482. Given that my alpha value is 0.05, I am not sure what decision to take. Please note that the two data-sets co...
How to decompose the covariance with two conditioning random variables? For example, there is a law of total variance with two conditioning variables in the Wikipedia $$ \text{Var}(Y)=\text{E}[\text{Var}(Y|X_{1},X_{2})]+\text{E}[\text{Var}(\text{E}[Y|X_{1},X_{2}]|X_{1})]+\text{Var}(\text{E}[Y|X_{1}]) $$ What is it's co...
Ex. 5.4 Everitt: Apply the factor analysis model separately to the life expectancies of men and women and compare the results Here some code and output library(data.table) life <- fread('http://people.stat.sc.edu/Hitchcock/lifeex.txt') life_M <- life[,c(1,2,3,4,5)] life_W <- life[,c(1,6,7,8,9)] factanal(x=life[,-1]...
I am working with two datasets in R. Each is a sample from populations of interest. Dataset A contains 352 observations. Dataset B contains 8,000 observations. My objective is to find observations from dataset B that resemble observations from dataset A, determined by a number of specified socioeconomic attributes (i.e...
I have a sample probability distribution and want to know how well a Gaussian would fit to it. However, I just have a probability distribution to test, and not an actual data sample. (Nor do I want to create one, as that would be fairly computational expensive if you have several hundred of these.) How would I go abo...
Assume a two armed case with bernoulli rewards. We know that UCB1 gives a pretty tight bound for multiarmed bandit cases. What if we know the mean of one arm, how can we obtain a better strategy/algorithm than the UCB1? The way I see it is that since we already know what to expect for one arm, we never explore it. So o...
Say a country with sparse data reports the number of people who drank alcohol in the past month as a single data point, representing both sexes and ages 10-65. The goal is to be able to estimate alcohol prevalence for each sex separately, as well as more granular 10 year age groups (10-19, 20-29, etc.) based on that o...
In the following analysis, I am exploring the association between health outcomes and a range of environmental and socioeconomic predictors. These data have been collected from 9 countries, over multiple time periods. My response variable is Poisson and I'm using 'Region' and 'community_ID' as random intercepts (I drop...
This is my first post so apologies for any incorrect formatting or whether this has been answered elsewhere but I seem to be going around in circles. Basically, I have 12 survey plots and have recorded 17 variables for each; # of tree species, # of dead trees, % grass cover etc. I have 2 years worth of this data (2016...
Is this as simple as saying that the probability that x equals zero is $e^{-λ}$, so the probability that x is 1,2,..... is $1-e^{-λ}$, so we just divide the usual pmf for poisson distribution by the new subset, or divide the usual poisson distribution pmf by $1-e^{-λ}$, which gives us exactly what we are asked to prov...
Given a box that contains 90% fair coins and 10% loaded coins, (a loaded coin gives heads 90% of the time), what is the probability for a randomly drawn coin to give 5 heads in a row? P(HHHHH | random coin from box of mixed coins) = ? I used Bayes Theorem to calculate the probability I got .219 or 21.9% probability fo...
"The output layer is a fully-connected linear layer with a single output for each valid action." (from Mnih et al. 2015) Lets say we have 4 actions, so the DQN outputs 4 values $(y_1, y_2, y_3, y_4)$ one for each action But for a single training sample $x_t = (s_t, a_t, r_t, s_{t+1})$ we have only one output value $y_...
An urn contains 8 white balls and 4 black balls. Suppose you win 2 dollars when selecting a white ball and 3 dollars when selecting a black ball. If $X$ denotes your winnings when selecting a ball at random, determine the probability mass function of $X$. Is the correct answer just $p(X=2) = \frac{2}{3}$ and $p(x=3) =...
Let $\hat B=(X^{T}X)^{-1}X^{T}Y$ be the least squares estimator of a linear multivariate regression model with response matrix $Y\in\mathbb R^{n\times p}$. Show: (a) $\mathbb E\left[tr\left((\hat B-B)^{T}(\hat B-B)\right)\right]=tr(\Sigma)tr\left((X^{T}X)^{-1}\right)$ (b) $\mathbb E\left[tr\left((\hat B-B)^{T}\S...
Given X, Y and Z are random variables, if the probability distributions of Y & Z are known, is it possible to estimate (a likely distribution for) X if Z = XY and X and Y are independent?
For a given variable Y, if we independently generate a random variable X and test the correlation between Y and X, we know that the histogram of the p-values of the correlation test should show a uniform distribution. But how about if we have repeated values in X? Say there are 100 unique values of X and they are repea...
As an exercise I decided to check if unbiased estimator of standard deviation of sample is giving better results than biased estimator . So far it looks that only in aprox 55% cases. Am I doing something wrong or this is normal? My methodology: generate sample of 100 numbers from range 1 to 1000 10 000 times choose 1...
The variance of a binomial distribution is not adjustable. If you know its mean and the number of trials, the variance is also determined. I need a distribution that has an additional degree of freedom, where the variance and the mean are independent. In other words, I need a discrete probability distribution with the ...
For the above output, what would my equation look like given these parameters?
I'm wondering how I could compute a p-value for this kind of analysis. Let's say I've 5 boxes. Each box is made with the same 100 cases (numbered 1 to 100). In each of these 5 boxes some cases are black and some are white. In general most of the cases are white. The number of black cases is not equal across boxes. My ...
It's about the demostration of the quadratic forms and chi-squared distribution. Let's split the problem: We have a $n$ vector with n standardized normal distribution called $z={[z_1,z_2...z_n]}$. Obviously $z'z$ is a $\chi^2_n$ If we have a symmetric, idempotent matrix (i.e. called $A$) then $z'Az \thicksim \chi^2...
I have variables x and y that are equal in distribution. I want to find var(X-Y). This equals var(X)+var(Y)-2cov(X,Y). Am I correct in concluding that this equals 2var(X)-2var(X) which is 0? It just seemed strange to me.
I am interested in calculating the relevant statistics for a contrast matrix in an ANOVA/ANCOVA/GLM setting. Kutner et al. call this the "matrix formulation" of the "general linear test". They give as an example in Chapter 23.5 (of the 5th ed.): $$C = \left [ \begin{array}{cccccc} 2/3 & -2/3 & 0 & 1/3 & -1/3 & 0 \\ 2/...
Simon Gaure's "lfe" command in R estimates linear models with high dimensional fixed effects. McFadden and coauthors have an R program "bife" that does this for binary models. I am wondering whether anyone has done this for general linear models (glm) which would include poisson as one of many cases including fractiona...
I am competing in a programming contest where the submission phase can be stated abstractly as follows : There is a known universe set, $U$, and a hidden target $T \subset U$. I submit $S \subset U$, and for feedback I am given $|S \cap T|$. Two questions : 1) What is a good/optimal strategy for finding $T$ in as few...
Just a simple question regarding the properties of Dirichlet distribution: Suppose $(X_1, \ldots, X_K) \sim Dir(\alpha_1, \ldots, \alpha_K)$, can we express the distribution for $(1-X_1, \ldots, 1-X_K)$ in terms $\alpha_1,\ldots,\alpha_K$? I'm thinking about the follow form but not 100% sure: $(1-X_1, \ldots, 1-X_K) \s...
I want to understand Bayesian calibration. I tried to implement a simple Bayesian calibration by constructing a set of truth data and then comparing my model to that data. My understanding of Bayesian calibration is that I should create a set of prior pdfs. In this case, I created an array for each parameter represen...
If you randomly pick a coin from a box that contains $90\%$ fair coins and $10\%$ loaded coins, (a loaded coin gives heads $90\%$ of the time), toss it $5$ times and get all heads. What is the probability that this is a loaded coin? $$n = 5, x = 5, p = 0.1(0.9)^5$$ Where $n$ is the number of flips, $x$ is number of h...
$X = (X_1,X_2,X_3)^T$ belongs to $R^3$ space has a multivariate normal distribution with parameters: $$E(X) = (0,0,0)^T,$$ $$Var(X) = \left(\begin{array}{ccc} 2& 0& 0\\ 0& 1& -1\\ 0& -1& 3\\ \end{array}\right).$$ Consider the random variable $Z = X_1 - X_2 - X_3$. Describe its probability distribution.
In my analyses I had a clear hypothesis about a relationship Y ~ X1. In order to show that this is specific, I ran a control analyses with Y ~ X2. I showed that the relationship with X1 was significant, and the one with X2 not (we did this for several specific predictions). The reason that I should not correct for mul...
What is the difference between Ramsey regression equation specification error test (RESET) test and Akaike information criteria (AIC)? From wiki, it says RESET "test whether non-linear combinations of the fitted values help explain the response variable" whilst AIC "tells nothing about the absolute quality of a model, ...
We are doing an interesting behavioral study on waterbirds. Let me explain the design of the study before asking the statistical advice. The lake is divided into 2 parts, In one part fishing is allowed (FA) and in the other (NFA), it is not. We selected one vantage point in FA and one in NFA. Our observations were on t...
Let's say my data looks as follows: object 1: A B C object 2: C B D object 3: E B A object 4: A B E where each object is defined by a combination of 3 characteristics, where characteristics $\in$ {A, B, C, D, E}. The ordering of characteristics does not matter. Based on this data, I am trying to answer the following:...
I am using the R package CARBayesST to fit a Spatial-temporal Bayesian models. I want to use piece-wise ST model proposed by Lee and Lawson, 2017. The package does not have a built-in predict function. I saw this post, how to predict for new data points using posterior probability distribution, but I am not able to con...
Could please anybody help me to understand the difference between those two concepts? I know that statistical power refers to $1-\beta$, the type II error and that efficiency of estimator is related to the amount of variance of the estimator. Do they imply the same concept? Are those interchangeable with each other? ...
As I know it is recommended to normalize the input to a neural network ($\mu=0,\sigma=1$). Assuming I use a CNN that uses RGB-images as input, how do i have to normalize? Over all the data of the complete batch (at once)? Each image independent of each other? For each $x$/$y$ pair (=pixel) over the batch? For each c...
I need some basic conceptual help. When using models to check for association with psychometric scales such as the Lubben's social network scale or similar, would it ease interpretation if the dependent variable - the score on the scales - is coded as a standardized variable, that is in terms of a z-score? Most of my ...
I'm new in this field, I'm studying montecarlo methods for sampling; I understand that,with a basic approach, we have an estimation for the mean $$\hat{\mu}=\frac{1}{n}\sum f(x)$$ and for variance $$\hat{\sigma}^2=\frac{\sigma^2}{n}$$ so I read that, while $n\to +\infty,\hat{\sigma}^2\to 0$ and this I don't understand....
How can I calculate the 4th quartile from median and IQR. In a scientific article, I have those values: The median is 2.8 ng/ml of bisphenol A and The interquartile range, they wrote that 1.5-5.6. Can I conclude that the first quartile is 1.5 the second quartile 2.8 and the third quartile 5.6 ? If it is ok I unders...
I would like to use users' consecutive inactivity time in order to predict probability for not returning. For example, I would like to be able to say that if a user was inactive for a month, the chance he returns (likelihood would be correct here?) is 40%. A user that was inactive for 2 months, the chance he returns i...
My data features look like this: Date and Hour -- Lane-Number -- Volume of traffic -- Speed (This is one month of data (30 days x 24 hours of rows)) And in total I have data extending to three years each year having two months. I am trying to apply K-means to find outliers. What I am trying to figure out is on wha...
As a preamble, I would like to make it clear that I am talking about model with time-dependent covariates and not with time-dependent coefficients (to fix the violation of proportional hazards assumption for example). Is there a way to test if a model with time varying covariates is more appropriate than a "basic" mod...
Most of the discussion of the Von Neumann-Morgenstern axioms I have seen isn't fully formal - in fact, a lot of it only applies to finite probability spaces. Where can I find a more general discussion, discussing preference orderings on a general space and whether a utility function exists? Or is there a reason that th...
I'm using Cox-Regression to analyse the risk of loan portfolios. I found out that with increasing sample size, my regressors are getting more and more significant (p-values are shrinking) due to shrinking standard errors. How valuable are these p-value statistics in the end? I'm concerned that these p-values are only ...
I don't know the true population parameter "pie" for the binomial distribution. Therefore when I take a sample I estimate it using "p"=x/n where x is number of successes and n is the sample size. Three questions. In general, my "p" is very small, and so is the true "pie". By small I mean always less than 0.4, but oft...
I keep seeing this in various presentations, but never saw a reference for it. Although it makes an intuitive sense why samplers potentially can face mixing issue when operating on large space of possibilities (i.e., in large Bayesian models), I wonder if there is a text book, or an article for this to cite?
I'm using MCMCglmm to run a logistic model. The model includes 10 predictors and approximately 130,000 observations across 200 people. The burn in is set to 3000 and the thinning interval is set to 10. After 13000 iterations, the effective sample size is only 8 - 20 depending on the predictor (I've also set the thinnin...
I often come up with notion when working with machine learning, I think it will be better understood through some examples: Example 1 Say I try to predict a property's price and one of my features is the city identifier. There are 300 different cities in my dataset. My ML algorithm can only handle numerical features, s...
For me a model (the way we calculate an output given an input) and a loss function (the way we estimate the accuracy of a model) always were two different (independent, "orthogonal") things. In other words, I though that any model can be trained and evaluated with any loss function. However, it looks to me that there ...
I have panel data set with 25 id's (cities) and 3 years of observations. Data set contain 10 variables of economic development. I would like to make an index that would "compress" 10 variables in index of economic development. Which statistic method is best suited for this problem? I was thinking about PCA, but I am n...
We know: Def 1. The lower half of a data set is the set of all values that are to the left of the median value when the data has been put into increasing order. Def 2. The first quartile, denoted by $Q1$, is the median of the lower half of the data set. Now, suppose the subset of data set which all values that are less...
I have a time series that I want to predict (using Neural Network, but is not important). On top of using the info at previous values ($t-1$, $t-2$, ...etc) I want to use another variable: the hour of the day. Stupid Method One way would be to map: $00:00 \rightarrow 0 $ $01:00 \rightarrow 1$ .... and so on. So I woul...
If deep neural nets are considered to be universal function approximators, is basis expansion really necessary? Or would this be case-specific? For example, if one has three quantitative X variables, would there be any advantage in expanding the number of variables by introducing interactions, polynomials, etc.? This s...
I am trying to build a Bayesian optimisation model for a scientific application using Gaussian process. I am far from an expert, so my question might be naïve and full of misconceptions. I was wondering if under a Bayesian process it is possible to derive different results depending on the path of the process. More spe...
I am trying to estimate sample size for a superiority/non-inferiority study between two diagnostic tests. I have the AUCs of Model0 (standard test) and Model1 (new test), and other required parameters. The TrialSize R package has functions TwoSampleMean.NIS() and TwoSampleProportion.NIS(). Which of these is appropriat...
I don't know how to to identify whether my time series is additive or multiplicative using decompose() command in R. It is a monthly time series.
Some times I can find in the very same source both terms, but without any explanation. On the other hand, some paper only use one and some only use the another. Are these different measures?
When fitting a Holt-Winters model, I usually take the approach of retrospectively "predicting" some known historical values for the series, and optimising the coefficients for the parameters by changing these until I reach values which minimise the SSE for the retrospective forecast period. I usually try to ensure th...
I'm doing penalized (elastic net) Cox regression. But I also have missing data. Now, as I understand it, the reason we do multiple imputation is that once we do single imputation, our data points are not independent. Standard errors, p values, etc., will all be off. But penalized regression doesn't have meaningful stan...
Based on the extensive discussion in this post, I understand that the goal is to achieve low bias and low variance. Now, in terms of train and test errors, does it imply that achieving low bias and low variance is equivalent to having both high training and testing accuracy? Is it possible to acquire that from confusi...
The generalized Bernoulli distribution, aka the categorical distribution is a discrete probability distribution on $n$ exclusive events $(1, 2, \dots, n)$ A special case would be a distribution where the probability of one event would be 1 and all other events would have a probability of 0. I would like to know if ther...
I'm running many combinations of hyperparameters, such that each combination of transformation (e.g. preprocessing, classifier) is combined with all others in a Cartesian product, along with a fit metric (accuracy). One possible solution would be a table where each column is a classifier, each row is a preprocessor, ho...
Let $Y_1,...,Y_n \sim Cauchy(0,1), i,i,d.$ How can I find the distribution of $\bar{Y}$? I know that $Y_1+Y_2\sim Cauchy(0,2)$ by some integration, but I don't know how to proceed.