instruction
stringlengths
9
38.7k
I have some data which contains data going back to 2009. However, for each individual in the dataset they may have 10 or so data points related to them. At infrequent and varied intervals between each data point. Also, with their being 600 or so individuals in the dataset, each individual doesn't have many data point...
I want to build a lexicon for a specific set of educational set of categories. For example: Math, Medical and Economics. So I've manually collected 150 websites per category. I used the Python library Scikit-learn to implement the algorithm. I basically just followed the tutorial from scikit-learn but instead of using ...
I have 8 continuous variables in a small sample (n=10) with mostly a non-normal distribution. I perform 4 Wilcoxon signed-rank tests on the 4 variable pairs. The variables are strongly dependent across pairs. I was wandering which correction of multiple comparison I should apply as the Bonferroni & Dunn procedures seem...
I would like to estimate the moments of the joint distribution of continuous and categorical variables in order to draw a synthetic sample from it, and was wondering the correct way to do so. As an example, if i have vector of continuous variables describing some characteristics of a sample and wanted to estimate their...
When running ivregress with and without a constant, I noticed that in case of noconst option the Wald chi2 and R-squared are missing. Why would this happen? Below is the simplest possible example using a random sample: . ivregress 2sls Y (X=Z) Instrumental variables (2SLS) regression Number of obs = ...
TLDR: What is the best practice in multilabel classification to address the fact that the training and test sets probably won't have completely overlapping sets of labels, and how should I program this in scikit-learn? This question comes out of my previous question, about whether preprocessing should be applied separa...
This question is related to this one, but it is different. I tested two different learning methods on a fixed convolutional neural network structure (with the same hyper-parameters). As it is clear from the following plot, the prob method obviously overfits the training data, since its training error is nearly zero aft...
I tried to implement a CNN in Java but I am stuck at updating the weights in my convolution layer. I tried to create the following image that shows how I calculate each weight delta and error signals: I searched the internet but did not find a solution so it would be great if someone in here could tell me what I did w...
I want to test a linear contrast (trend test) in SPSS with more than two groups. Let's assume my assumption is B>A>D>C. I did the coding of the contrasts manually and obtained a signficance level of let's say P=0.075. The only question I got - and which is not answered in most tutorials and books on this topic - do I ...
From wikipedia - "A key advance was Werbos's (1975) backpropagation algorithm that effectively solved the exclusive-or problem" My understanding of the backprop algorithm is its an efficient way to search for the combination of weights that minimizes the cost function. Why was backprop needed to solve the exclusive-or ...
I've been studying descriptive statistics and am having a hard time understanding the actual intuition behind standard deviation. I'm trying to get a practical feeling for it and so I'm trying to draw conclusions from it using a distribution of 20 numbers, from 1 to 20. I know the mean is 10.5 and the absolute average ...
I am a neuroscience researcher without too much background in statistical theory. I have multi recordings from different samples and I want to precisely report the variation across the samples, and I wanted to understand the differences between methods of doing this: (arithmetic) Average of variances of the different ...
This question may be better suited for stack overflow (happy to move it if deemed too off topic). I am currently in the process of learning Bayesian analysis using stan in R as my software. Currently as part of this process I am trying to build regression models with uninformative priors as my understanding was this w...
I am currently reading the paper entitled "Variational Auto-Encoded Deep Gaussian Processes" by Dai et al, a copy of which may be found here. The paper proposes a stacking of Gaussian Process Latent Variable Models in an ANN like fashion and introducing a variational distribution paramaterised by a Multilayer Perceptro...
I am learning about Principal Component Regression, but I am confused about centering the matrix. My question is described using the following example: In MATLAB, I made some sample data, where $Y$ is a linear combination of the columns of $X$: clc;clear all; X = rand(1E3,20); beta = rand(20,1); Y = X*beta; Of course...
In http://www.usbe.umu.se/digitalAssets/9/9491_ues673.pdf the author specifies a model which I am working on implementing. There is a function defined $d_i = \frac{\Gamma (i + d)}{\Gamma (i + 1) \Gamma (d)}$ where $0 \le d \le 1$ and then the function of d defined $D = 1 + \sum_{i = 1}^{\infty} d_i$ yet $D$ diverges $...
I'm trying to solve a question about finding bias and variance of an estimator, but I'm having trouble with the variance calculation. Say we have an IID sample of n points $y_i \sim N(\mu,1)$. If we then use an estimator $\hat\mu=1$, we can compute the variance as $Var[\hat\mu] = E[(\hat\mu - E[\hat\mu])^2] = E[(1-E[1...
I may be confusing two different concepts in this question, but is it possible to calculate a Cohen's $d$ for a regression coefficient? Could its value represent the standardized mean effect of a one-unit change in the predictor upon the response?
In mixed models (GLMMs), random effects are often used to account for non-independence between observations e.g. of the same patient, or of animals from the same farm. I sometimes see multiple random effects being included just because there might be an effect. What are the consequences of including multiple random eff...
I'm trying to figure out the optimal number of epochs I need to train a convolutional network for, using 4 fold cross validation. I divided the dataset into 4 parts, trained the model on 3 parts, while keeping out one for validation. Repeated this thrice with the other parts as validation set. After this experiment I f...
I'm self-learning about probability using R, linear models, and probability calculations. I'm currently stuck on how to compare 2 predictions from a model. Data I'm using is downloaded(free) from here: wmbriggs.com/public/sat.csv df <- read.csv("sat.csv") # Load data lm <- lm(cgpa~hgpa+sat+ltrs,data=df) ...
Suppose I want to find what the bias of a coin is. To do this, I flip the coin N times and record the result. How can I update my best guess of what the bias of the coin is given that my initial belief is that the coin is fair (p=0.5)? Without prior belief, I would use the MLE to find this answer. How would I incorpora...
I have a data set dat = data.frame(y = c(.3,.5,.3,.6,.8,.9,.3,.6), group1= c(1,1,2,2,1,1,2,2), group2 =c("a","a","b","b","c","c","e","e") ) l =lm(data = dat, y~ factor(group1)+factor(group2)) l model.matrix(l) The coef for group2 e is NA Coefficients: (Intercept) f...
Setup We observe an observation of a random variable $X$ assumed to be distributed $X \sim F(\cdot | \theta)$ where $\theta \in \Theta$ is unknown and the parameter of interest. We want to define a confidence set $C(X) \subset \Theta$ with coverage probability $1 - \alpha$ or formally: $$ \inf_{\theta \in \Theta} \te...
Would greatly appreciate any help on the math concept here. I’m working in MS Excel, so if anyone can speak to that specifically, that would be an added bonus. I have a Monte Carlo simulation to illustrate the likelihood of an event happening (let’s say winning on a slot machine). I can make a histogram to show all t...
I have a dataset with over 100 features from where I want to know if there is a high correlation between some of those. I'm doing: corr = features_final.corr() What returns me a 100*100 matrix which is hard to analyze manually or in a plot. Which are the methods to handle such a cases?
Are there any theorems which tell us how well AR(p) models are able to approximate any stationary finite time series? If so, what are the relevant results?
I'd appreciate some help solving this sampling issue: I have select a random sample of people for a survey in a certain country. The country is divided in 6 regions. In total, there are 981 municipalities in those regions. I have to select 5 municipalities from each region, for a total of 30 municipalities. And th...
That is, if $T$ is UMVUE for $\theta$, does this mean that $T$ is a complete and sufficient statistic for $\theta$?
According to scikit-learn's documentation given here, the pseudo likelihood is calculated by; Computing the free energy on X, then on a randomly corrupted version of X, and returns the log of the logistic function of the difference. I'm trying to understand why is pseudo likelihood implemented like this. What was the m...
I have a set of tables $\mathcal{T} = \{T_1, ..., T_n\}$, where each $T_i$ is a collection of named columns $\{c_0 .. c_{j_{i}}\}$. In addition, I have a large sequence of observations $\mathcal{D}$ of the form $(T_i, c_k)$, indicating that given access to table $T_i$ a user decided to use column $c_k$ for a particular...
I have a very basic, perhaps silly question regarding finding the coefficient of Co-integration. Suppose some tests (say ADF) tells me that $X$ and $Y$ are co-integrated. Then how do I get the relationship? For example, if I regress $Y = a_1 + b_1 X + e$, I would get estimated value of $b_1^{'} = \rho_{Y, X} \sigma_Y ...
Here is a following question: There's a game where you are given two fair six-sided dice and asked to roll. If the sum of the values on the dice equals seven, then you win 21 dollars. However, you must pay 5 dollars to play each time you roll both dice. Do you play this game? And in follow-up: What is the probability ...
I know that negbin can approximate the betabin distribution, especially when the probability of hitting the max is low (events are more rare). If the offset of a negative binomial regression transforms the outcome to be between 0 and 1, is it substantially different from using beta-binomial regression? For context: My...
I have an application with a class imbalance problem: A lot of positive data points, but very few (comparatively) negative points. One colleague recommended that I train a generative model on the limited subset of the negative data I have, and then generate data from that model to use for training my classifier. I have...
Precision-recall plots with curves for each class can be plotted, as seen here. But I don't quite understand how this is done. For a single PR curve, the ratio of correct to incorrect positive and negative classifications determines the curve. How is this done for each class?
Assume I operate a chain of 20 hot dog stands. I am asked to figure out the average % of customers who buy a hot dog after visiting a stand. Method 1: Divide total number of hot dogs sold by all 20 stands by the total number of people who visited one of my stands. Method 2: Follow process for method 1 for each individu...
I read this sentence about the sum of squared error SSE: "The square ensures the error is always positive and larger errors are penalized more than smaller errors". I want to understand what is meant by "larger errors are penalized more than smaller errors", and how to prove that?
I originally posted this in stackoverflow (as given here) but was told to try here since it might be more relevant here. I am very new to statistics and R in general so my question might be a bit dumb, but since I cannot find my solutions online I thought I should try ask it here. I have a data frame dataset of a whole...
Suppose that $Y_1, Y_2, ..., Y_n$ is a random sample from a distribution with density function $$ f(y) = \begin{cases} \theta y^{\theta - 1}\ \ \ \ 0 < y < 1, \\ 0\ \ \ \ \ \ \ \ \ \ \ elsewhere \end{cases} $$ The parameter $\theta$ is positive. Find the MVUE to estimate the parameter $\theta$ using the factor...
This is supposed to be a classic problem but I could not seem to find a solution anywhere. Let $X$ be a random variable with zero-truncated Poisson distribution s.t. it's pmf is given by: $f(x)=\frac{e^{-\theta}\theta^x}{(1-e^{-\theta})x!}$ $x=1,2...$ Find an unbiased estimator for $1-e^{-\theta}$
Suppose that $Y_1, Y_2, ..., Y_n$ is a random sample from a distribution with density function $$ f(y) = \begin{cases} \theta y^{\theta - 1}\ \ \ \ 0 < y < 1, \\ 0\ \ \ \ \ \ \ \ \ \ \ elsewhere \end{cases} $$ The parameter $\theta$ is positive. Use the method of moments to estimate the parameter $\theta$.
I'm working on a project from Udacity's ml nd, finding donors, I'm making the initial test using three algorithms: LogisticRegression -> RED GaussianNB -> Green AdaBoostClassifier -> Blue This is the result I'm getting: I wonder why nb has such a poor performance. This is some informations regarding the dataset: 1...
I have a list of stores and the important time related variables which affect the dynamics of the store in some way or the other. The aim is to generate stores which are similar to a target store. The similarity index will be calculated based on the similarity in the trend of the variables being selected by the user. S...
Credits: I recently used vowpal wabbit ( https://github.com/JohnLangford/vowpal_wabbit/wiki ) and Ariel F's weight loss github ( https://github.com/arielf/weight-loss ) along with Atulya's data scrapper ( https://github.com/atulya2109/Stats-Royale-Python ) to run machine learning on 54,000+ games of Clash Royale (a car...
I have a question regarding what features are typically used for fluorescence data. The data measures intensity (y-axis) with respect to wavelength (x-axis). I would like to build a classifier but not sure what features to use. The data points per observation are around 1300 point but I only have around 300-600 observ...
I'm trying to implement this paper by Prem Melville , Page 3 gives a list of the features. They've used features which correspond to absolute numbers , such as Number of paid invoices prior to the creation date of a new invoice of a customer And many such features, which will always increase with time. So for exa...
I am testing whether the variable Xj is a part of the single equation cointegrating relation of Y with X1, X2, ..., Xn using cointReg R package. The variables Y and X's are time series variables. The cointReg package is based on the paper entitled "Integrated modified (IM) OLS estimation and fixed-inference for cointeg...
I have a r.v. $X$~Poisson($\lambda$). Denote $Y=⌊X/a⌋$. What will be the distribution of $Y$ and how to calculate its mean? (A relaxation can be made if it makes the problem simpler: $a$ is an integer). What I got so far: $P(Y=k)=P(X∈[ak,ak+a))=Fx(⌊ak+a⌋)-Fx(⌈ak⌉),k=0,1,2,... $, where $Fx$ is the CDF of r.v. $X$. I ca...
I have a bunch of 2x2 hermitian matrices with eigenvalues $X, X-1$ that by definition sum to 1. I'd like to prove that for the distribution $X \sim$ Beta$(a,b)$, $a=b$ (i.e. there is no bias, or if there is some measure of bias like $|a-b|$), but as the direction of bias can change even within the sample, I would nee...
I have database with missing values (NA) so that it is theoretically not possible to use AIC (or AICc) to weight models with different sample size. Would using Bayesian Information Criterion (BIC) account for this problem? Alternatively I am thinking of using the "full-information maximum likelihood", but I cannot find...
I came across first, second and third-order mean bias of an estimator in a text and I could not find a good reference which explains them properly. Can somebody please explain these terms to me or post a good reference here?
I am trying to understand the given explanation for the below graph. It tries to make a comparison between poission regression with similar representation of a linear model. 1) When fitting a linear model with log transformed response we assume that $Var[log(Y)|X]$ is constant. How it can imply that the $Var(Y|X)$ is ...
I know that LDA (linear discriminant analysis) is a way for feature extraction, but the dimension of LDA is one less than number of classes in problem (in two classes, the dimension of the result space is 1), so the number of features by LDA is always 1 (in 2 classes case). Is there anyway to extract more than 1 featur...
I am using a dataset to examine the relationship between student effort and student success in MOOCs (Massive open online courses). The dataset is quite large, 641 138 rows. Each row represents an individual and their (aggregate) interactions with the MOOC (course) they were enrolled in. Not all rows can be used for an...
I have two similar issues. I have two separate questions, one has a binary DV (is there a brain response yes/no) and the other a continuous DV (how widespread the response is). Each question is looking at the effect of a few IVs on each of the DVs. The IVs are age (continuous), head circumference (continuous) and sex (...
This is the QQ plot resulting after fitting a poisson regression. I found in a book saying that central line corresponds to zero cases in the response. I can imagine that for zero response cases standardized deviance residuals is negative. But how one can specifically say that the central line of the plot corresponds ...
When the evaluation metric is RMLSE(Root mean squared logarithmic error) are there any specific advantages of running gradient boosting with RMLSE(Root mean squared logarithmic error) as the loss function over gradient boosting with RMSE as the loss function?
Lets say I have two models with the same bias, but one seem to have a much higher variance. I know it is suggested to pick the one with the lower variance, but I'm not quite sure why. Models with lower variance are clearly better because they are more stable and we often like stability. But I was wondering if we also p...
I'd like to know to what extent this principle can be applied. Say I have $X_1,X_2... X_n$ as iid $Normal(\mu,\sigma^2)$ with $\sigma^2$ known. I want to find the UMVUE for the following: 1.) $\mu$ 2.) $\frac{3\mu+5}{7}$ 3.) $1/\mu$ 4.) $e^{a\mu}$ for some known constant $a$ I know that the $\bar{x}$ is UMVUE for $\mu$...
I'm trying to figure out a distribution of (average) velocities v in capillary network where I know the diameters d as well as the capillary lengths l are gamma distributed and the average velocity in a capillary is related via v~d²/l (I assume constant pressure differences). I know the ratio of two gamma distributions...
Searching previous threads has not provided me with an answer. I am modelling data from an experiment. The setup was as follows: Stimulus set of 110 images. 454 participants. Each participants rated 75 images (random from the pool of 110) and reported visual appeal. Two measures of the images (visual clutter and colou...
I am learning how to use TensorFlow and started with a example of regression problem. So the first thing was a simple gradient descent using the learning_rate = 0.1 I noticed that the MSE was going up at every step. I managed to get it converge by putting learning_rate=0.00000005 (weird isn't it ? ). Anyway, the next ...
I have 300 subjects in 2 conditions and behavioral measures over 6 years. Each subject is measured twice (in each condition) at each time point. I know would like to see if the slopes of condition one over time is different from the slope of condition 2 for the behavioral outcome. (using nlme in R) would this be correc...
I came across the following probability question: There are $50$ cards of $5$ different colors. It comprises of $10$ Red cards, $10$ blue cards, $10$ orange cards, $10$ green cards and $10$ yellow cards. Each color will have the cards numbered between $1$ to $10$. You pick $2$ cards at random. What is the proba...
Say I conduct a study and assign participants to one of two arms, but both are identical in design. The only real difference is the label assigned to the group, call them $X$ and $Y$. We assume that members from either sample are drawn from the same population. The baseline data for each group are collected for each ...
Given this basic model: $$ Y = \beta_0 + \beta_1 X + \varepsilon $$ one could think that predicting $Y$ for unseen values of $X$ is simply a question of plugging the $X$ values into this formula with the fitted parameters intercept and slope: $$ Y = \beta_0 + \beta_1 X $$ However, I have read somewhere (cannot find th...
I'm currently working my way through some Machine Learning courses and books, and from what I can understand, ML uses a stock of standard functions that are used over and over again. This led me to ask, is there a way to generalise a function instead of specifying it? For example, instead of using linear or logistic or...
I am conducting a meta analysis and using the program Comprehensive Meta-Analysis. I have a problem with one of the Odds-Ratios I inserted. The program. It is now colored in red and it is written that the lower and upper limits are not symmetric. These are the original numbers from the study I'm using, what can I do w...
This question is in regard to a Mahalanobis Classifier. Where an unknown observation is compared to multiple different classes and the class with the smallest Mahalanobis Distance is the class chosen. But, some parts (variables/columns) of my data have very little variance or sometimes even constants. Since the covaria...
I was reading the following link: http://machinelearningmastery.com/how-to-identify-outliers-in-your-data/ In the link they have made the following statement: Outliers are extreme values that fall a long way outside of the other observations. For example, in a normal distribution, outliers may be values on the tai...
I've been trying to find an answer to my question, with no success. It could be I'm just not looking for it in the right way (I'm also learning about imputation and lasso as part of the process). So I apologise in advance! I would like to use imputation, then run lasso regression over different imputations, and then p...
I used Hausman test in R in order to decide whether I should use fixed effects or random effects model. This is the result I got: Hausman Test data: Deviation ~ Concentration chisq = 1.721, df = 1, p-value = 0.1896 alternative hypothesis: one model is inconsistent I would appreciate some help in interpreting this res...
I would appreciate your advice regarding a 'work' query, in that nobody at work can agree on what appears to be a very simple statistical analysis. I have changed some of the details to protect identities/sensitive work area. Ok so lets say I have 50,000 people on a register in a country, with an illness. We are intere...
I am working on a consulting project where my client wants to perform AB testing in order to improve their service which involves outbound communication to clients. Their clients are (structurally) stratified into groups and due to technological limitations the client is unable to randomize the treatments within the gr...
I have a collection of dummy variables. Each record has an entry in each category Income: Low, Low-Mid, High-Mid, High. Education: Low, Low-Mid, High-Mid, High. Occupation: Unemployed, Manual Laborer, Professional, Executive. The first few lines of the pandas dataframe look something like: educ_low educ_low_m...
L1 regularization reduces the magnitude of weights but does not make them zero. Is there a way we can make them zero. Will it be better than normal L1 regularization
(I have asked this question in the math site, but think it might be more relevant here) I have been following the online MIT statistics course, and one course was about some fundamental distributions.(https://ocw.mit.edu/courses/mathematics/18-05-introduction-to-probability-and-statistics-spring-2014/readings/MIT18_05S...
I have a time series that that has the form: $$ F(t) = C + \sum_i A_i\sin(2\pi f_i t +p_i) $$ Where $C$ is a constant, $A_i,f_i,p_i$ are amplitude, frequency, and phase of the $i^{th}$ oscillation, and $t$ is time. I have performed spectral analysis to calculate the values of $(A_i,f_i,p_i)$ as well as their uncertain...
I am trying to compute a p-value of a difference-in-difference estimator, where the null hypothesis is that the difference-in-difference is 0, and the alternative hypothesis is that the difference-in-difference is not equal to 0. I've been thinking about this using a bootstrap approach and I don't understand why a simp...
Suppose I have the following completely-made-up logistic regression model: will_die_from_cancer = 0.50 + 0.07*age - 0.05*weight - 0.000001*passed_expensive_screening_test All predictors are significant at any reasonable threshold. The variables age and weight are cheap to obtain and have relatively large effect sizes....
I am trying to show that my sample mean is approximately normalized. But, when I perform a shapiro wilk normality test, I obtain a p-value of 0.0002589. So, my sample mean doesn't tend to follow a normalized distribution. It make a non sense for me because I made two plots which prove my sample mean is normalized. So...
For example, if I define my prior distribution as Gaussian but I define my likelihood as multinomial, does this break any theoretical basis for variational inference?
all: I am considering a question regarding the calculation of the probability limit for an inverse matrix. Specifically, suppose we have a non-singular and squared matrix $M$ with dimension $2\times 2$, and let $a_{ij}$ be the $ij$th element in $M$. Assume that for all i and j = 1,2, the probability limit of $a_{ij}$ ...
I have a dataseries with the following auto-correlation function. What would you conclude from this? I mean, if it is an ARIMA (a,b,c), what are the values of a, b and c? I think it is ARIMA (0,0,0), hence pure white noise.
I have previously asked about a way to test whether two samples are drawn from the same distribution (Non-parametric test if two samples are drawn from the same distribution). I was very glad to learn about the Kolmogorov–Smirnov test. This seems excellent for hypothesis testing with p-values. I am interested in genera...
In the book Limit Theorems of Probability Theory by Valentin V. Petrov, I saw a distinction between the definitions of a distribution being "continuous" and "absolutely continuous", which is stated as follows: "...The distribution of the random variable $X$ is said to be continuous if $P\left(X \in B\right)=0$ for any...
Assuming there is a data set $X$ and the histogram shows below, how could I find the critical value $c$ that the left-hand side of $c$ has probability 0.95 under the empirical distribution curve? Is there any package in R or Python could calculate this $c$? Many thanks. Based on this data, we could find an empirical d...
A value of 324 is provided without explanation in a linear regression tutorial that I'm following. I checked to see if this was the number of samples, but they did not match. Edit: My apologies for such an ill-formed question. The random_state argument is for scikit-learn's train_test_split function. From the documen...
I am interested in how an inconclusive result occurs given the formal null and alternative hypotheses required for non-inferiority testing. I have pre-specified a noninferiority design comparing accepted and experimental treatments. The design tests the null hypothesis that experimental treatment is harmful and alterna...
I have seen papers in which the authors present a modification to some architecture, and claim that it enables "introspective reasoning capabilities" in the network. An example can be seen in the abstract from this (or if you want some details, section D + figure 1), where the authors claim that expressing the model as...
$f(x_1,x_2)=3(x_1+x_2)$ defined for $0<x_1,x_2<1$, $0<x_1+x_2<1$ I am trying to integrate this $\int_0^1 \int_0^{1-x_2} f(x_1,x_2)dx_1dx_2$ but I am not getting 1. Are my limits wrong?
Question Consider a population of known size $N$, from which we sample $n$ individuals without replacement and measure their trait values $x_i$ for all individual $i$. The variable $x$ is bounded [0,1]. Let $\mu = \frac{\sum_i^N x_i}{N}$ be the average trait value in the population and $\sigma^2 = \frac{\sum_i^N (x_i -...
The figure below illustrates a sample data from a numerosity estimation experiment with an uncalibrated (i.e., spontaneous) estimation condition (blue) and a calibrated estimation condition (orange). As observed, there is resistance to change (significant overlap between the orange and blue data points) for the relat...
I've been working on a particular binary classification problem for some time now, and have discovered the two best classifiers among many models to be a Keras Conv1D net and a XGBoost model. As it turns out, my Keras model tends to achieve much higher recall on the minority class, and the XGB model tends to achieve mu...
I have a potentially dumb question that I've been having a hard time find an answer to. About my data: I am working with a set of morphological data (external cranial measurements of bats), using museum specimens. I am looking to reduce my variables into principal components so I can ask questions about how morphology...
Suppose I have 5 distinctly numbered balls that I have to distribute in 3 pails. All 5 must be placed in the pails. In how many ways can this be done? I think I'm missing a counting trick here that I am unaware of, like weeks ago when I learned that there was such a thing as !n thanks to this site (thanks!). Or maybe ...
I am using the streaming auc to evaluate performance of my binary classifier. Not the regular auc because the validation is performed batch-wise and the streaming auc accumulates all aucs across all batches. The problem is that I also want to monitor training (check for overfitting, etc.), but it seems to me that the s...
Suppose we make predictions for a continuous outcome $Y$ conditional on a vector of covariates $X$. If we use mean squared error loss (MSE), the population minimizer is $\mathbf{E}[Y \;|\; X]$. If instead we use mean absolute error as our loss function (MAE), the population minimizer is the conditional median. What is...
I have this distribution: $\{1, 2, 3, 4\}$, $\sigma = 1.118$ and I wrote down all the possible samplings of $n=2$ and their respective means: Samplings: $$\{(1,2), (1,3), (1, 4), (2, 3), (2, 4), (3, 4)\}$$ Samplings means (sm): $$\{1.5, 2, 2.5, 2.5, 3, 3.5\}, \sigma_{sm} = 0.645$$ So according to the formula of the St...