instruction
stringlengths
9
38.7k
\begin{aligned} Y_t &= a Y_{t-1} + e_t, \\ Z_t &= Y_t + H_t, \\ \end{aligned} where $H_t$ is independent of $Y_t$. I'm trying to understand what ARMA model $Z_t$ corresponds to but I'm not really sure. Can someone provide a quick explanation?
We have two samples with different sizes: 42 and 47 and we have to verify if the means of the two samples are equals. For verify this with t-test, we should verify first if the variances are different or equal with F-test?
For example in one-way anova we have different type of diets: A,B,C,D. We want to measure the difference between these diets. Model: $Y = Xb + u$ We want to run one-way anova to figure out if the difference between type of diets exists. I want to do it by effect-coding. Question: how do we interpret the X matrix of con...
I have four different methods 'A', 'B', 'C' and 'D' for generating synthetic videos, and I have crowdsourced 6 paired preference tests, one for each combination, where respondents were presented with many pairs of videos and were asked for each pair, which video is the most realistic. The choices included a "no prefere...
According to the Wikipedia article on Autocorrelation, the autocorrelation function can be estimated by: $\hat{R}(k)=\frac{1}{(n-k) \sigma^2} \sum_{t=1}^{n-k} (X_t-\mu)(X_{t+k}-\mu)$ But if $ \mu $ and $ \sigma ^{2}$ are replaced by the standard formula for sample mean and sample variance, then this is a biased estima...
I am struggling to understand what to do with variables with t-values that aren't significant. Are there any interactions among the variables? If so, how do I detect them? . reg ChildIQ MotherHS MotherIQ MotherWork MotherAge Source | SS df MS Number of obs = 434 -------------+-------...
I have some features (predictor variables) that I want to regress on a response. The predictor features are correlated with each other. Hence, for performing regression I need to do a principal component analysis first, compute new uncorrelated variables and then perform linear regression. I also calculated partial co...
Consider stochastic process given by model equation \begin{aligned} Y_t &= \beta_0 + \beta_1 t + z_t, \\ z_t &= \phi z_{t-1} + \varepsilon_t, \\ \end{aligned} where $|\phi|<1$. How do I show that $Y_t$ is an ARIMA($p,d,q$) process for some values of $p, d, $and $q$? By substituting in our values of $z_{t-1}$ into $z_t$...
I'm a beginner of econometrics, and I've construed that endogeneity is caused by omitted variable bias, measurement error, and reverse causality, and it makes OLS estimator be biased. And also I've learned that serial correlation which refers to correlation among the error terms makes variance-covariance matrix not to ...
We did a study on the reliability of a task where we measure for how long (milliseconds) people look at certain images. The internal reliability (consistency) at the first session was very high (cronbach's alpha = .90) but at the second session it drops dramatically (alpha = .30). Despite reliability being low at the s...
I have a data source containing millions of documents from a wide variety of business domains. We've aggregated the data such that we can easily find information using natural-language search queries. I'm looking to run a data science competition internally, and naturally the challenge is going to revolve around text a...
Hi Im doing a research project regarding self-reported mood fluctuations. during a one year psychotherapy for 80 different subjects (they are in psychiatric treatment. The patients has trouble controlling their temper). I'll be measuring mood outbursts. I have daily measurements 0-5 of loss of temper, along with daily ...
Almost all books teach Law of Large Numbers first then the Central Limit Theorem one next. But what are the relationship and differences between two theorem? My attempt: Here is my understanding (Informally), Law of Large Numbers says if we have very large i.i.d sample, the mean will converge to a number. Central L...
I want to use deep learning techniques to perform better inference tasks than Hidden Markov Models (which is a shallow model)? I was wondering what is the state-of-the art deep learning model to replace Hidden Markov Models (HMM)? The set-up is semi-supervised. The training data X(t),Y(t) is a time series, with signifi...
Let rv $X$ have a distribution $F (t):={\rm Prob}(X <t)$ and rv $Y$ have a distribution $G (t):=(F(t))^s$ for some constant $s>0$. Suppose that I know an algorithm for generating random variates of $X$. Is there a general argument/theorem, which could help me to construct an algorithm for generating the variates of $Y$...
This is my first question here, so im sorry if the information seems messy. I have a dataset with 4 variables and 25 observations. I want to do a regression where Var1 is explained by Var2, Var3 and Var4. Var2 and Var3 have 0,97 correlation Var2 and Var4 have 0,48 correlation Var3 and Var4 have 0,50 correlation Here ...
I have the feeling this should be doable, or at least have an approximation, but I'm failing to find one. Let's consider a random variable $C$, that belongs to a Truncated Exponential distribution between 0 and 1. If we observe $n$ i.i.d. variables $C$, what is the distribution of the harmonic mean of this set? Formall...
I heard about the concepts of censored and truncated data. Now I'm searching for the right concept to express something that is similar to truncated data: As far as I understood, in truncated data there is a bound and all values outside this bound are entirely omitted. In my sample, values outside a specific bound are ...
I been trying to automate, using python, a PCA which is achieved using SPSS. This is my code: import numpy as np data = np.genfromtxt('input.csv', delimiter=';', usecols=range(0, 6)) data = data.T data /= np.linalg.norm(data) corrmat = np.corrcoef(data) eigenvalues, eigenvectors = np.linalg.eig(corrmat) evals_orde...
How should I interpret Cramer's V when I have more than two variables in cross-tabulation table? Does the order of variables matter? E.G Gender , Age , Job , Income level Is Cramer's V the association of these four factors altogether or just the two of them only under a given condition e.g the association between job...
This question arose from other (now deleted) question that quoted paper saying something similar to what is described. Given $$ \mu \sim \mathcal{N}(\mu_0, \sigma_0^2)\\ X \sim \mathcal{N}(\mu, \sigma^2) $$ would it be valid to say that conditionally on $\mu$ values of $X$ are identically distributed? The logic behind ...
The concentration of a certain nutrient is measured in soil each fall after harvest in a set of research plots. I want to model the change in nutrient concentration over a number of years, but I'm inclined to express the time variable in days since the start of the study, as the number of days between measurements is ...
Is there a method for regression (my variable Y has binomial distribution ) when n>>p ? I have a data set with 350000 observations and 4 variables. I am using R (I also using SAS). some help would be appreciated
Was trying to run a 2-sample t-test on 2 populations. My question is that if your two samples combined had a very large number of observations and since the standard error [sigma/sqrt(N)] would be very small, would it amplify a small difference between two means? And this could lead to the wrong conclusion of them bein...
Usually my job is to do classification but recently I have a project which requires me to do regression. That is to say, my response variable is not a binary True/False, but a continuous number. the response is a well formed Gaussian centered at zero. I usually use XGboost for my classification tasks. To do a regressio...
I want to determine which of two sets of data (B1, B2) better correlates (pearsons r) to another set (A). There is missing data in all sets of data. How can I determine whether the resulting correlation is significantly different or not? E.g. 8426 values are present in both A and B1, r = 0.74. 8798 are present in both ...
I am taking the Machine Learning courses online and learnt about Gradient Descent for calculating the optimal values in the hypothesis. h(x) = B0 + B1X why we need to use Gradient Descent if we can easily find the values with the below formula? This looks straight forward and easy too. but GD needs multiple iterations...
Suppose that for $t=1,\dots,T$, $x_t$ is an i.i.d. draw from a continuous distribution with p.d.f. $f(x_t;\theta_0)$. Let $l(\theta;X):=\sum_{t=1}^T{\log{f(x_t;\theta)}}$ be the corresponding log-likelihood. Let $\hat\theta:=\arg\max_\theta{l(\theta;X)}$ be the corresponding ML estimate. Finally, define: $$e:=l(\hat\th...
I am doing the Machine Learning Stanford course on Coursera. In the chapter on Logistic Regression, the cost function is this: Then, it is differentiated here: I tried getting the derivative of the cost function, but I got something completely different. How is the derivative obtained? Which are the intermediary step...
Read somewehere that one can simply put 0's of binary to 1 of Likert and 1's of binary to 5 of Likert,Is it the traditional way? Just for clarification,if someone is familiar with AMOS,i have the similar data like the one here http://www.sciencedirect.com/science/article/pii/S0001457516300549 (you can access it via htt...
I used Hayes' PROCESS macro Model 4 to look at mediation and the results reveal a significant total effect but non significant indirect and direct effects. What could cause this? Is it a power issue? My sample size was $\sim160$ Total effect of $X$ on $Y$ Effect .3200 SE .1251 t 2.5572 p .0115 LLCI .0729 UL...
How much difference between train and test set errors can indicate over-fitting? For example in logistic regression. I am trying to classify 11746 comments based on their sentiments in three classes using logistic regression. My train accuracy is about 100% but in test i get accuracy about 52%. I want to know how much ...
I have a number of hypotheses which state the probability of observing each possible datum. For example, one hypothesis might set the p of observing A at 0.1, B at 0.3, and C at 0.6. Let's say that I then observe 4 As, 4 Bs, and 1 C. Given this hypothesis, what is the likelihood of observing this distribution? A friend...
I am very new to machine learning. I have a question about running predict() on data used for training set. Here are details: I took a portion of my initial dataset and split that portion into 80% (train) and 20% (test). I trained the model on 80% of training set model <- train(name ~ ., data = train.df, method = ...
I am writing my thesis about binge drinking at my universitity. I have done a survey and collected 957 instances with 29 variables that could be interesting. I also got a binary value for binge drinking. The class balance between a binge drinker and a non binge drinker in the dataset is: 23% yes (220) 77% no (737) Wh...
Every K1 time steps we will run truncated back prop through time (BPTT) for k2 time steps. For k2 <= k1 I don't find any problems. But let's look at the case where k2 > k1, and particularly where k1 = 1 (you do BPTT after every forward time step) In this case, the weights used in each previous time step will be diffe...
Suppose I have a sample of 10 $t$ variates which I think has come from a non-central $t-distribution$. I was wondering how I can estimate the non-centrality parameter $(ncp)$ of the mother non-central t-distribution from which my sample of 10 t variates has come? Is there a formula for this?
I've read about How does h2o.r cross validation work?. However, for a time series dataset, does H2o support the type of CV described here Using k-fold cross-validation for time-series model selection? In particular, something like this: fold 1 : training [1], test [2] fold 2 : training [1 2], test [3] fold 3 : training...
I have computed the mean, variance, min and max from multiple samples of a distribution. Now I have also computed the sample mean and standard error of these statistics. How can I give these values meaning ? The statistics are all within different ranges and so are their standard error. Can I set the standard error rel...
I need to analyze a survey about entrepreneurship which has around 50 categorical variables. Therefore, after some univariate analysis, I want to apply Multiple Correspondence Analysis (MCA) in order to reduce dimension. So far, I have seen the videos about MCA from https://www.youtube.com/playlist?list=PLnZgp6epRBbTsZ...
I'm new to P-Values and Hypothesis testing and I noticed that p-values are explained differently everywhere I go. In my lecture notes it has a method for hypothesis testing and the last part says that "if the p-value is not small enough to rule out chance, we fail to reject null hypothesis". A p-value is stated as: th...
I know that using numerical coding is wrong but I'm trying to understand exactly why. Suppose we want to fit the model $\text{prestige} = \beta_{0}+\beta_{1}\text{education}+\beta_{2}\text{type}+\epsilon$ and $\epsilon \sim N(\textbf{0},\sigma^{2}I_{n})$ where 'type' means occupation type. If we were to encode for the ...
I was just wondering if there was a way to compare multiple time series and try and find similarities between them. The time series depict the daily inventory of some stock held by an investor. A bit of examination of these plots suggests there is similarity in their movements since many of their peaks/troughs seem to ...
I have a subset of the original dataset as follows: Families GH1 GH2 GH3 GH4 GH5 GH6 sp1 23 21 34 23 12 5 sp2 5 19 17 12 90 76 sp3 54 32 13 19 9 0 sp4 1 3 0 12 0 78 sp5 45 24 2 34 21 4 I selected 20 important variables using random forest algorithm. Now,...
Suppose I want to estimate the parameters of a penalized Poisson-model $\mathbb{\lambda}_{\mathbb{\rho}} = \log(\mathbf{X}\mathbb{\beta}_{\mathbb{\rho}})$, where the columns of the matrix $\mathbf{X}$ are the basis of a B-spline function and $\mathbb{\beta}$ some weighting vector subject to the penalization of $\mathbb...
I'd like to detect the position of an object (e.g. a book's cover) into an image taken from a webcam. I would only need to output 4 points corresponding to the cover's corners into the image. I was thinking of using CNNs (perhaps a variant on vgg-16?) and output 5 neurons: one for the probability of the cover being the...
What I want to do I have 500,000 variables for a few hundreds records. I did principal component to find the subgroup of records. From the analysis I find that 4 principal components are sufficient to explain the variance of samples. Now I want to choose a subset of variables (N<100) to represent these principal compon...
Given set of $d$ datapoints and $f$ features in a $X_{f,d}$ data matrix, I'm trying to fit a least squares predictor of every feature based on every other feature. In other words for every feature $i$ I want vector $\mathbf{b_i} = b_1, \ldots, b_{i-1}, 0, b_{i+1}, \ldots, b_f$ such that $\mathbf{b_i} X$ approximates $X...
User Antoni Parellada had a long derivation here on logistic loss gradient in scalar form. Using the matrix notation, the derivation will be much concise. Can I have a matrix form derivation on logistic loss? Where how to show the gradient of the logistic loss is $$ A^\top\left( \text{sigmoid}~(Ax)-b\right) $$ For c...
Do you have any reference book about multi-dimensional simulation? The random variables are not identically distributed and are correlated. I understand the procedure to generate correlated normal distributions but have no idea for this general cases. Background: got a bachelor degree in mathematics.
Let's say I have X variables that I want to use to predict Y (Response). Should I provide all X variables to perform Principal components regression (PCR) or should I provide only the significantly correlated variables (obtained from finding partial correlation for controlling confounding factors using Spearman correla...
If I have iid data $Y_i \sim N(\theta,1)$, and an arbitrary prior $p(\theta)$ on $\mathbb{R}$, how to show the posterior predictive approximately is $N\left(\hat{\theta}_n, 1+\frac{1}{n}\right)$? Here, $\hat{\theta}_n$ is the MLE of the data. I read in some lecture notes that the posterior predictive, which is defined ...
I am analyzing data (see image below) from an fMRI experiment. The dependent variable is activation values (continous) from a specific brain site. There are two conditions, each with two levels of a manipulation (2x2). There is also a covariate (a behavioral measure for how well they the participants did in a behaviora...
Could you please give me some hints on how to tackle the following question? I think I am not on the right way as I am thinking that deriving the pdf of a product of $N$ uniformly distributed random variables on the interval [1,2] is mandatory for the solution. The question is from this book. I know that the most proba...
Assume that I have a rating system with $R$ rating classes, the classes have a probability of default $p_{i0}, i=1,2..,R$. The probability of default is the probability that a company in that class has a payment problem within one year. I have a set of companies that I have to partition over these classes, using one ...
Assume that a model has 100% accuracy on the training data, but 70% accuracy on the test data. Is the following argument true about this model? It is obvious that this is an overfitted model. The test accuracy can be enhanced by reducing the overfitting. But, this model can still be a useful model, since it has an acce...
I am using MatConvNet for the classification two different pants. i am using MINST example architecture of 28x28 input image. the dataset I have for two classes are ~14000 images after data augmentation. 45% for training and testing and 10% for testing. While i was getting overfitting. The Original architecture is li...
I have scan through all the similar topics and also read on Prof Rob J. Hyndman's ARIMAX muddle article. Also, referencing to this, it is mentioned that a regression with ARIMA error is equivalent a differenced regression model with ARMA error. As such, how do we interpret the coefficients once we did the differencin...
I have a multi-class classification problem where the algorithm should detect (and later on classify) new classes. An example for such a task could be classifying if an image shows a dog or a cat. Furthermore, the model should be able to recognize that a goose doesn't fit into one of these two categories, thus create a...
I'm trying to find the probability distribution of a sum of a random number of variables which aren't identically distributed. Here's an example: John works at a customer service call center. He receives calls with problems and tries to solve them. The ones he can't solve, he forwards them to his superior. Let's assume...
Let $X=\{X_1, X_2,...X_n\}$ where $X_1, X_2,...X_n$ are i.i.d $\mathcal{N}(\mu,\sigma)$-distributed. Given $q\in(0,1)$ and $n\in\mathbb{N}$, when I simulate the probability $$p=P(q < \int_{\min (X)}^{\max (X)} \frac{e^{-\frac{(x-\mu )^2}{2 \sigma ^2}}}{\sqrt{2 \pi } \sigma } \, dx)$$ I always get the same result no mat...
Imagine I have objects with 5 different properties which are either present (1) or not (0). Further, I have some other variables that I expect to predict the presence of a property. Focusing on a single property out of the five, I could use a logistic regression to infer the influence of my variables on the properties ...
I want to compare number of support vectors in different SVM model. I have data for training/testing. I wan't to see how different are the numbers of support vectors in case of One vs One and One vs All methods. How can I know it?
I have a set of data with x and y values (scatter plot) and I'm trying to get their mean (centroid) and median point. The way I did this was by simply calculating the means and the medians on x and y and those were (i thought) the coordinates of the mean and median points of the group. However I did some reading on 2d ...
I'm currently trying to train a classifier with very few data points (41, 3 classes, supervised). The dataset is peculiar, so I also have to do a lot of feature engineering. In order to evaluate my features (I have 32, but some of them may be redundant), to see which set of features is the best and to verify that the f...
I need to create a frailty-model (gompertz-gamma) for deathratesdue heterogeneity, having a dataset of people grouped by age and year of calendary with the following variables: year, age , deaths, exposure I have seen the R-Package "Parfm" , but the model requires a dependant variable: Surv(time,event) In the best scen...
I was wondering what is the F test (in general) that is done by the function $\texttt{lm()}$ in R. I mean you can do different F tests, which one does it chose and how? For instance in a linear regression setting, I can fit a certain model with $\texttt{lm()}$ , but (before running the code) how do we know against whi...
The idea of transfer learning is to use already trained networks for another purposes to the one it was initially trained for. Using fully convolutional networks, the activation maps can be used to create descriptors that later on can be used to train a classifier for image classification. I am currently using a pretra...
assume I have 1 disposable product (a pump for example). It fails according to exponential distribution. plant 1 <----- local depot 1 <--- |---- central depot plant 2 <----- local depot 2 <--- local depot 1 & 2 are supplied from central depot. plant 1 inventory is supplied from local d...
I am going over “Introduction to Statistical Learning” (James, et al). While I understand the concept of a spline (piecewise polynomial with continuous 1st and 2nd derivative at each knot), I’ve been having a lot of trouble understanding this “power basis” function, “$\,(x−ξ)^3_+\,$” and how it was derived. I understan...
I teach statistics (undergraduate level). It's an introduction course to statistics and very basic. Something that I find very time-consuming is to create training data for the students. I use the formula $X_3= (r \times X_1)+(\sqrt{(1 - r^2)} \times X_2$ to create data with different degrees of correlation. Using this...
i have two different weather forecasting systems. Each system returns values between 0 and 30 degrees. In addition i have a grounded truth set containing the real temperature values. Now i want to find the optimal mix of both systems using an optimization (i.e minimize): $$ \sum_{d=1}^D \big|t_d-(w_{S1}\widehat{t_{d,S1...
The word2vec is a very successful method for converting different words into a dense vector of real numbers. After learning, it comes up with a look-up table which you can use to obtain the vector related to each particular word. We know that many words have different meanings depending on the context. For example, 'b...
I am wondering what is the math and possible code implementation of computing a multi class loss in a Deconvolution Network based on this paper. Basically, if we have an image that is fed into the deconv network, and subsequently upsampled or undergo a series of transposed convolution to give an output image that is co...
I'm training a 2-layer CNN model on audio samples, represented as CQT. There are ≈160k samples, many that are very similar since they originate from the same instrument and/or audio file. 10% have been split out beforehand for validation. My question is, why does my validation loss go up, while the validation accuracy ...
I'm trying to predict new variables using the predict.rma function of the metafor package. My model has continuous and categorical variables and their interactions. Here is an example using the BCG data: dat.bcg$alloc <- factor(dat.bcg$alloc) res <- rma(measure="RR", ai=tpos, bi=tneg, ci=cpos, di=cneg, ...
suppose that I want to use linear regression on a data where independent variables x1,x2,...xn are all more or less normally distributed, while the dependent variable y is almost exponentially distributed, what should I do to y (or the whole dataset) so that it is okay to use linear regression model? I applied log tran...
During my bachelor thesis I gathered a bunch of comments, labeled with a 0 for containing no hate and 1 for containing hate. The labels where given by volunteers. The around 2500 comments are of various lengths (between 100 and 1800 characters). Now after my thesis I stepped over visualization techniques like PCA and ...
I want to perform a survival analysis which includes time-varying covariates, using the aalen() function from an R package called timereg. I think I have some idea about how the data should be represented in a dataframe (a tabular data structure in R), but I am not sure yet. So I thought I'd demonstrate what I have in ...
I ran a logistic regression with only 1 independent variable and came with an 18.59 odds ratio with a c statistic of .50. After adding 4 variables that independent variable odds ratio decreased from 18.59 to 9.9 and the c statistic of the model increased to .68. Does this mean that if I reported just the odds ratio of ...
I need some ideas to approach the following problem. Problem: I need to set optimum parameters to achieve maximum output dependent on the input type. Input: I have 5 different rocks (say, various composition of different minerals) which results to different hardness. Parameters: I have 10 different machines which are l...
My response is $y_{ij}$ where $j$ denotes a patient, and $i$ denotes a time. If I just use the residuals of my regression model to do an ACF plot, then how will it know that I am only interested in the correlation within each subject?
Given an ROC curve, are there well known methods (or approaches) to choosing a threshold from the curve, as the discriminating threshold for the sake of binary classification? Of course we can assign weights between either FPR and TPR or precision and recall (either 50/50 or something else), and calculate an optimal po...
I am analysing data with 4 independent variables (1 a dichotomous category variable and 3 continuous variables) and have permuted these to have 15 linear models (M15 is the full model including all 4, M11-14 include 3 in each, M5-10 include 2 in each and M1-4 just one variable). I am using a 0.1 significance level and ...
I am examining whether a policy resulted in increased profitabiltiy. The new policy was adopted in 2005 but announced in 2002. Is there a way to mitigate the no anticipation assumption? Is matching a correct approach? Many thanks!
I am getting into CNNs for several months already, and I am currently wondering myself if there is a difference between Retraining a DCNN and Fine Tuning it ? I am working on a project in which my own new dataset is relatively small and very different from the original one. Then I don't really understand new what I hav...
If I use GAM, what is the formula for the estimated smoother $s$, i.e. if we have the model $$y \sim s(x)$$ using mgcv? I can plot the term of $s$, but that isn't really all that informative. I want the exact formula, so that I can relay it in my report?
I am reading a paper which has a main research question and hypothesis in the introduction. However, it has two subsections for the two experiments it conducts, and for each one, it has multiple hypotheses. Would they count as the hypotheses of the study, or would it be the one mentioned in the introduction?
In a survey of 900 people in the US a journalist says that 60% of people support a new law. If the margin of error is 2.7% for the percentage, what is the level of confidence? I figure that the number of positive responses range from 564 to 526 but where do I go from there?
Suppose I have the covariance and correlation matrices for several variables. I know one of the variables is almost a linear combination of the others. Is there any characteristic about the corresponding row in the covariance (correlation) matrix that I can use to pick out this variable?
I'm trying to learn about LDA and so i'm gathering information from different places. One thing which strikes me is on some occasions it's been explained that $\pi_{k}f_{k}(X=x)$ is normally distributed and that there are assumptions on the distribution of the data. From what i've seen these sources don't really dive d...
I want to create my own neural network but I'm not grasping the concept of how the neural network gets trained/gets to an output. Say you have the following example: link to example As you can see in the var trainingdata there is exact data on what you want the neural network (hamster) to output. If the machine finish...
I am analyzing data in which participants listened to iPods and provided biological samples on the same days. The iPod Listening Intervention was 1 week. The biological sample collection was 4 days within the 1 week. There was no intervention/control group. All participants in study were given iPods and materials for b...
I am going through the excellent book "Introduction to Machine Learning with Python," and reading about cross-validation. I can understand how it makes a more efficient use of the data than a typical train-test split, but the book also contains the caveat: It is important to keep in mind that cross-validation is not a...
I have to prove that LS estimator of $\beta_1$: $\hat{\beta}_1=\frac{\sum_i(Y_i-\bar{Y})(X_i-\bar{X})}{\sum_i(X_i-\bar{X})^2}$ can be expressed as some weighted average, specifically as $\frac{\sum\sum_{i<j} S_{ij}*w_{ij}}{\sum\sum_{i<j}w_{ij}}$, where $S_{ij}=\frac{Y_j-Y_i}{X_j-X_i}$.I have just one hint, that $w_{i...
I understand the outlier impact for linear regression with squared loss. @gung had a beautiful answer in this post to explain the concept of leverage and residual. My question is How does outlier impact logistic regression? Does the same concept apply? (that we want to have a closer look at high leverage/residual poin...
I have the outputs from two classifiers for a given test set, each of the two provided by a different party, and treated as black boxes. I would like to make a comparative evaluation of them, to give an idea of which one is better on the task. What would be the chief reasons why the following function would be dead wro...
I'm trying to find the right test for association for two likert scale, ordinal variables from a questionnaire I did: "How often do you recycle" - (1) Almost Daily, (2)2-3 times a week, (3)Once a week, (4) Less than once a week, (5)I don't recycle "Recycling can conserve the environment" - Ranges from (1)Strongly agr...
I am working in machine learning. I created a model with the following "parameters" (it is for biometrics): classes: 21 training: 36 samples for each class testing: 4 samples for each class Cross validation: 10x10 StratifiedShufflesplit *Training set and testing set are used during cross validation (it is a 90%-10%). I...
I want to compare two Weibull distributions fitted to two different datasets. Both datasets have a distribution that resembles the Weibull so the idea was to compare the fitted Weibull distributions to conclude whether the difference in the distribution of the two datasets is statistically significant. To this end I fo...