instruction
stringlengths
9
38.7k
I am performing my experiment which I have three independet experiments with three replicates each (9 samples in total) for each group (infected and mock). For the statistical analysis, should I use all these 9 values or the average value of each experiment (3 values only). I want to aplly non parametric test (mann-whi...
Is it right to say that when I increment the C parameter in a SVM, I am incrementing the number of support vectors needed? Where does this relation come from ? Premise: I have understood the influence of C about the bias and variance tradeoff, but I can't imagine how this parameter influence the number of support vecto...
I am using this paper Finding Semantic Orientation of Reviews to determine semantic orientation between a phrase and a list of words using pointwize mutual information. For example : PMI(phrase, {"excellent", "Good"}). My question is should I compute PMI for every word composing the phrase or using the phrase as a gl...
I've measured the distance between 100 brain regions and 5 "core" brain regions. This led me to a 100x5 matrix (A) of empirical distances. Now, I have a second 100x5 matrix (B), where the distances are predicted, but rows are not ordered. I want to assign each row of B to each row of A, using the similarities between p...
I have 7 groups, one healthy group and 6 treatment groups and 5 traits. I would like to test for each trait if there are any significant difference between each treatment group and healthy group. Would it be more appropriate to perform a T-test for each trait or ANOVA? In case T-test is the answer, should I consider ad...
I've seen two formulas for estimating a sample size proportion, the first one: s = 1.96^2 * p * (1-p) / MOE^2 Where: 1.96 is the Z score for getting a 95% confidence interval. p is the estimated proportion (0.5 if unknown) MOE is the margin of error (0.05) This formula is independent from the total population. There...
I have 22 variables with more than 6000 observations. They are highly correlated. I know these data would work as great explanatory variables to a dichotomous event (present absent). Therefore, I intend to combine them via binary logistic regression and, so to avoid multicolinearity, I thought of "orthogonalizing" the ...
I am drawing a sample Y of size n from a p-dimensional Normal ($\mu, \Sigma$). Typically, p is 5. I have $\bar{Y}$ and $V = YY'$, the sum of squares. Now I want to draw samples from this $\bar{Y}$, given V. The density of $\bar{Y}$ given V is proportional to $det(v - n \bar{y} \bar{y}')^{(n - p - 2)/2}$ with support$ \...
I have a matrix of samples to classify, samples are matrix columns and features (noisy or estimated features) are matrix rows. On the other hand, I have a lookup table for correspondence between noisless (or theoritical values of) features and classes. Classification process is very simple: for each sample, correspondi...
I did two experiments, with component A and component B respectively, and the outcome that I have is "mass loss" for those two components. Now, there is a third experiment where both components are used together and there is a combined mass loss. Lets call it C. I'm trying to perform stats to see if the A+B is greater ...
I have a small hypothetical dataset(D1) with X unique subjects that contains data on the smoking habits of the subjects, their age, gender, etc. and whether they have cancer or not. Let's assume all subjects did not have cancer. In another dataset(D2) I have data on 0.5*X subjects from the first study, with the same da...
I have been looking through questions regarding categorical feature encoding, but couldn't find any which discuss my problem. Apologies if I missed it. Let's say we have a dataset with binary and nominal variables of roughly equal importance each. Most classifiers cannot deal with categorical types directly, so these ...
I have a set of point features that span the African continent. Some are clustered and show positive autocorrelation in a various measured ecological characteristics at scales of less than ~150km. Others are up to 900km from the nearest neighbor and are (predictably) not autocorrelated with their nearest neighbors. I w...
I've been using two different packages in R that work very well, but I wanted to know if there is a way to use them simultaneous. I have datasets that should behave as non-linear function, dependent on some parameters and initial conditions. Given that both linear and non-linear fitting are very strongly affected by ou...
I am setting up a binary classification problem where if a trade is profitable it gets a 1, and if it is unprofitable, it gets a 0. I have some independent variables, one of which is price_of_security. I have the dependent variable of trade_profit. I have data on about 20,000 such trades. I train a neural network on th...
I have been dealing with multivariate meta analysis lately. In the literature the various authors say that the main assumption of the MVMA is that the different variables are Multivariately distributed. I understand that. However I don't understand how that assumption is stronger than the assumption that the different ...
As a complement to this answer for those not familiar with martingales. What is the expected number of keystrokes (or "time") it would take a monkey to type the string $\small \text{ABRACADABRA}$? Step-by-step intuitive solution light on math assumptions and notation. To further clarify the problem, here is a quote ...
I am trying to forecast a seasonal series with 30 regressors using auto.arima. I have several questions regarding the correct methodology that I need to pursue. 1) Should I fit auto.arima with all available regressors and pick those regressors with significant t-statistics? 2) Should I fit regressors one by one (and a...
I have a wide panel with multiple decades of T. In my habit formation model, my dependent variable is alcohol consumption, and the coefficients of interest are on past and future consumption. My problem is while I have alcohol prices/taxes by US states but my panel only classifies individuals by the four regions, givi...
I have an ordered set of data, X, that I want to split into a 10 random groups to do 10-fold cross validation. The data set is very simple with one feature per row. I am wondering if it is random/accepted practice in Machine Learning to split the data into the ten groups by iterating over the data placing the data into...
My sample size is 550, and I build a regression model with 80 features. In particular, I am using LASSO and ridge regression with 5-fold leave one-out cross-validation. To evaluate the models, I am using correlation (between the predicted and actual value) and mean absolute error (MAE). The correlation I obtain is arou...
I am trying to understand some chemical concentration data I have measured. I am taking the log of the ratio of two concentrations. The ratio itself is from oscillating timeseries data and is the (local maxima in conc):(local minima in conc). I then take the log of this ratio. When I do this and plot the distributio...
Mixture models lend themselves nicely to HMM (hidden Markov model) treatment. Obviously, HMM can be nonmixture or not resolve mixtures when there is only one resolvable input or the superposition of self-similar inputs. What I am asking for is whether or not there are any not so trivial examples of nonmixture HMM data,...
Problem: Given an arrangement of spheres of varying radii in a fixed domain , I am trying to simulate an arrangement of spheres in a domain of arbitrary size having the same statistics. The radii of the spheres are spatially correlated and the correlation function of the sphere radii is homogeneous A naive approach I a...
I am studying the negative binomial distribution and it seems it models overdispersion in a poisson process using a gamma distribution (a mixture or something, but I may be wrong). In parallel, I am studying about Bayesian inference and it caught my attention that when modelling a Poisson process the prior is drawn fro...
Say I have a stream of values $\langle s_1, s_2,\ldots\rangle$ coming in and a function $$E_{s_1:s_n}(t) = E_{s_1:s_{n-1}}(t-1) + \alpha\cdot (s_t-E_{s_1:s_{n-1}}(t-1))$$ that compute their exponential moving average as the values flow in. I would like the alpha, i.e the decay rate, to adjust dynamically as a function...
I have the two following regression: $$y=X_1\beta_1+\varepsilon_1$$ and $$y=X_2\beta_2+\varepsilon_2$$ $x_1$ and $x_2$ are indicator variables and very similar. One expert claim that the two coefficients are the same. I want to know what kind of test I can perform to see if $β_1=β_2$.
I have a single percepton with sigmoid activation $y = f[\sum_{i=0}^{n}(x_i \cdot w_i)]$, where $f$ is a sigmoidal activation function. Is there a way to drop some of the inputs (or set their weigths to zero), readjust remaining weights without sacrificing model's performance? L2/L1 norm regularization helps with minim...
I'm looking for a statistical test to compare two set of ratios. For example A = [(2,13), (10,50), (23, 86), (33, 133)] B = [(6,10), (21,33), (30,62), (44,80)] Where A, B are sets of tuples that represent proportions p,q. Any clue guys? Cheers, G
This source on feature visualization asserts that the input vector $X$, such that $\|X\|_2 \leq 1$, which maximally activates a sparse autoencoder's $i$th hidden unit is of the form $$X_j = \frac{W^{(1)}_{ij}}{\sqrt{\sum_{j=1} (W^{(1)}_{ij})^2}},$$ where $W^{(1)}_{i}$ are the weights that the $i$th hidden unit depends ...
I am running Quasi-Poisson generalized linear models (overdispersed data) on my count data, and plotting data and the fitted model with ggplot. My data with DPUT: structure(list(YR = c(1960, 1961, 1962, 1963, 1964, 1965, 1966, 1967, 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, 1981, ...
I am working on a multiple regression analysis and want to compare two models. I was asked to conduct a change in R square test and interpret. How can I do that? Thanks in advance.
I have a dataset that contains 99.95% 0's and 0.05% 1's as the target. The dataset contains million rows. I want to build a binary classification model that predicts almost all the 1's correctly while keeping the false positives at minimum. I have read it somewhere that AUC-PRC is a better metric for the above scenario...
I understand that fixed vs. random effects have different meaning whether it be in biostatistics or econometrics. I recently came across a talk regarding fixed vs. random effects in the hierarchical setting, where the lecture slide is below: The slide details $14$ different cancer treatment studies, indexed by $s$, wi...
I am trying to estimate ARMA-GARCH model for my stock returns time series. I have estimated ARMA model for my series, and found that there exists ARCH, so added GARCH(1,1) term. However I now find previously significant ARMA coefficients being insignificant. In this case, should I remove the insignificant ARMA terms? I...
From: Interpreting Residual and Null Deviance in GLM R we see that the residual and null deviances are calculated from the baseline log-likelihood value given by the saturated model. It also notes that the smaller these deviances are, the better the fit the model is to the data. However, this effect can also be attain...
I have a large amount of data that was collected by "convenience sampling," (i.e. it is not "nationally representative."). As such, there may be sampling bias in the statistics calculated from these data. Could I subsample it so that the sample distribution matches, say, the population distribution (as determined by ...
I want to compute only the first principal component's scores $t_1$ of a large number $n$ of data points x with a high dimensionality $p$. Assume the data has been centered about zero. Data points are stacked into a matrix $X$ with $n$ rows and $p$ columns. What is the fastest way to do it? In fact, I am only inter...
So I have a set of 50 questions that take three types of answers: x, y, z. I will give the questions to 10 individuals and ask for their independent replies. I want to pick those six individuals that correlate the most. How do I do that?
How much is overfitting? For example, results on seen data is between 1 to 15% better than unseen data. Is there a range of value for example 2% where it is considered normal and not overfitting? Also, Is there different range of value for different application? For example, maybe in information retrieval, 1 to 10% is ...
I want to use meta-analysis on a number of variables, including percentages (like percent nitrogen) and ratios (like ratio of carbon to nitrogen). I'm estimating mean effect sizes using meta-analysis (fixed effects) of log response ratios following Hedges (1999): $$L = ln(R) = ln(\bar{X}_{E})- ln(\bar{X}_{C})$$ Varian...
I recently read a book that illustrated the difference between a fixed effects and a random effects model. It claimed the following: Let $k = 1, \ldots, K$ and $\hat{\theta}_k$ be our treatment effect estimate from the $k$th study. Let $\theta$ be the treatment effect for the population, which is what we want to estima...
I am trying to understand the confidence interval for linear regression parameters. At this link Derive Variance of regression coefficient in simple linear regression an answer is provided. However, I did not understand in the derivation fully. Do we consider the regression parameters as random variables? That is what...
I need some documentation to code the following regressions procedures: Forward - backward stepwise selection Ridge regression The Lasso Principal components regression Partial least squares I am doing some abstract about linear methods for regression and I want to code by myself this methods in R to be able to under...
The following are some performance results that I got from the currently trained model on both the training and validation data sets. There are 3 classes with imbalanced training samples. I use the sklearn.metrics to compute the metrics with average='weighted'. And the following are the ROC curves (the first is from t...
I need to visualize very large time series data. I want to do something similar to one shown here: Zoomdata (that's where I got the term 'data sharpening'). Data example: every minute temperature data from thermostat. I want to do web based viz and I think it should be pretty easy if I can get right kind of data from b...
I am trying to predict sales of certain product using regression method. I am using XGboost and using MAPE as final metric for comparison between models. I added a new feature to my existing model and this feature came out to be highly important ( within top 3). But there is no significant change in the final metric MA...
The model is $$y_{it} = \delta_0d2_t + \delta_1 crm_{it} + (\alpha_i+u_{it})$$ Here the intercept is placed in the error term. Therefore if $\alpha_i$ is correlated with an independent variable would cause bias problems. What are the consequences of dropping $\alpha_i$? Why is it important to keep it? Why do we dele...
I was looking at a youtube video for Maximum Likelihood Estimation. The lecturer said Maximum Likelihood Estimation doesn't have any representation of uncertainty, which I didn't really get. Can somebody explain what it means?
Is it possible to find the Fisher Information matrix of the two parameter (scale and location) exponential distribution? Any hint?
I am currently reading into online convex optimization. Can someone please explain me what exactly is a leader in the Follow-The-Leader algorithm and its variants? Why is it called Follow-The-Leader?
If I have two processees $x_{1}$ and $x_{2}$, what distribution(s) would they need to have in order for $x_{1} + x_{2}$ to be uniformly distributed?
I am fitting log log models (e.g. video link or non video link) like these (very much simplified): log(y) = intercept + parameter * log(x); I have a few rows were y = 0. Just wondering what to do with those rows? Should I simple impute a small value (e.g. 0.1)?
I want to estimate 95% C.I. for RMSE(Root mean square error). However, i have a difficulty in estimating C.I. due to RMSE equation (there is a root in RMSE equation)
I'm training how to use auto.arima in here. But this is my results: DJI.data = get.hist.quote(instrument="^DJI", start="2010-01-01", end="2015-07-23", quote="AdjClose", provider="yahoo", compression="d", retclass="zoo") plot(DJI.data, main = "DJIE Closing Prices on NASDAQ", ylab = "Price (USD)", xlab = "Date") DJI.r...
I want to know the relationship between binomial and geometic distribution. I know the distribution both have two outcome and probability of success is the same for both distribution.
Suppose: ŷ = β0 + β1*x + ε Of course we can use wald tests for nulls like: H0: β1 = 0. That is clearly great for testing statistical significance. However, testing the coefficients for other values can be really useful too. For clarity, here are 2 text book examples (Wooldridge 2004): log(campus_crime) = β0 + β1*log(e...
This is related with this question. What is the best strategy/package in R/python/Mathematica to fit a non-linear model to data with uncertainty measures in both variables? Elaborating: For every data point, I have several measures of two variables, $X$ and $Z$. The different measures can be treated as independent repl...
I'm a complete beginner with regression analysis, so this question will probably seem really silly to you. But, I simply need to check multi-collinearity among dependent variables before I start modelling. I know, that when variables are multi-collinear, then $|x| > 0.8$. So, if I have following table with data (first...
I have a problem, that sounds very simple in theory but I fail to implement a good solution. Let my data be a sample of a continuous variable that that follows a normal distribution (m1,v1), associated with some other variables for each point. I want to get a subsample of this data where this variable will follow a di...
I'm trying to get the same GARCH (1,1) on both fGARCH and rugarch packages but the 'sigma' series I get from both seems to be very different. The code I use is below. How can I set up rugarch to be exactly like fGARCH? fGARCH: model2=garchFit(formula = ~ garch(1, 1), data = x, trace=FALSE) sigma2=as.matrix(model2@sigma...
I have an interesting problem in my company. There is a product, each item of which, has a region-time specific code when it is released in the market. Say, there are 15 features on the basis of which a code is created. The code is created by a lot of tiny rules (we don't know, they won't say). They have a pipeline whe...
I find that: $$\Big(\sum_{i = 1}^n y_i\Big)^2 = \sum_{i=1}^m y_i^2 + \sum^m_{i\neq j}y_iy_j$$ where $m=(n^2-n)=n(n-1)$, the first part of the right side is the sum of the main diagonal of the matrix, and the second part is the sum of the upper and lower part of the matrix. Then it is write that the second part can be w...
In a regular soft-margin SVM we want to find $\min_{w,b, \xi} \frac{1}{2}||w||^2+C\sum_{i=1}^{\ell}\xi_i$ subject to $y_i((w,x_i),+b) \geq 1 - \xi_i$ and $\xi_i \geq 0$ Which we convert to the Lagrangian $L(w, b, \alpha, \beta) = \frac{1}{2}||w||^2+C\sum_{i=1}^{\ell}\xi_i - \sum_{i=1}^{\ell}\alpha_i[y_i((w,x_i)+b)-1+\...
I am trying to demonstrate how my data respond to benford's law before and after filtering. Benford's law - or first digit law - is an empirical phenomenon, which distributes the probability having 1,2,3,...,9 as first digit in a data set. This phenomenon can be tested with a typical pearson's chi squared test, MAD, or...
I am learning on how to predict with ARIMA models. To get some knowledge I read trough some online tutorials for R and ARIMA models. Now I wanted to try this by myself with a problem I am currently working on. The goal is to predict the vehicle speed of a car based on past measures. I have data sampled from the vehicle...
Context: I am performing growth regressions on a panel data set in R, including individual- and time fixed effects. Estimating with OLS delivers results that seem to suffer form serial correlation. For that reason I want to reestimate my model with FGLS. Problem: The R package "plm" does provide FGLS estimations via pg...
Given the following stochastic process: $$ y_t = \sum_{i=1}^n(\beta\epsilon_{i-1}+\epsilon_i) ~~~~~,~~\epsilon\sim WN(0,\sigma^2)$$ the solution says that $\text{Var}(y_t)=\sigma^2[n(1+\beta^2)+2(n-1)\beta]$, but I obtained a different result. My procedure is the following. First of all $E[y_t]=0$, then: $$ \text{Var}(...
I have ran a Generalized mixed-effect model using the glmer function in the lme4 package. To appraise the significance of the model, I am using a likelihood ratio test. For example, if testing the 'explanatory' variable: Full_model <- glmer(Response ~ Explanatory + (1|Subject), data = df, family = "poisson") Null_model...
Let's say you are a city builder and want to optimize the number of laundromats and convenience stores based on the satisfaction of people (just a made-up example). Your data might look like this: Satisfaction # Laundromats # Convenience Stores 100% 4 10 ... 50% 5 ...
As the title says. I read a lot about congeniality of Bayesian models (e.g. Meng, 1994) and I do know some definitions, but I don't feel I can get grip on what happens when models are congenial or uncongenial. My goal is to write an R script that shows the difference (numerically), but I am not that far yet. Is there ...
This is my first post here so apologies for the rather basic question, but after days of reading I still can't find a satisfactory answer. I want to run a cross-lagged panel model on three waves of data to look at interactions and stability effects over time between drunkenness and illicit drug use in a normal early-ad...
I have a binary classification task with classes 0 and 1 and the classes are unbalanced (class 1: ~8%). Data is in the range of ~10k samples and #features may vary but around 50-100. I am only interested in the probability of an input to be in class 1 and I will use the predicted probability as an actual probability i...
I know this sounds contradictory, if we think of main effects, as the random factor would remove some of the variation that we want to explain by the fixed effect. But let’s look at a study design where fields were paired (according to land use in the surroundings, distance etc.). In each field pair one was randomly as...
I'm analysing some roe deer biological traits with a gam in mgcv. One of my variable is a factor with nine levels (i.e represents a combination of litter size and sex: M, F, FF, MF and so on) and my response variable is total litter size weight. I'd like to apply a post hoc test in order to compare F vs M. Many methods...
I'm a biochem grad student trying to understand part of my research group's math. Could someone help me understand the derivation for a full conditional distribution for the i-th individual mean, which is given by $$\alpha_i|y,\mu_\alpha, \alpha_{k_\ne}{_i}, \sigma_y, \sigma_\alpha \sim N(m,v)$$ Where $$v=(n_i/\sigma^2...
Compositional data can be analyzed by either Dirichlet regression or using log-ratio analysis as pioneered by John Aitchison. My questions are What are the main differences in assumptions between these two models? When should you prefer one above the other? Are there any "methods" that one topic allows which the othe...
There is a great deal of information on how unbalanced data sets may impact predictive accuracy in classification problems. Several solutions have been proposed (see here). My questions are: Can a highly skewed target distribution (i.e. when the response variable is continuous and not categorical) create similar prob...
I am currently reading up on some hidden markov models [Source], and trying to understand some of the solution related to the evaluation problem, which is Given observation sequence $\boldsymbol{O}$ = {$o_1$,$o_2$,$o_3$...,$o_t$}, and model $\lambda$ = {$\boldsymbol{A}$, $\boldsymbol{\pi}$ and $\boldsymb...
I am trying to build a very simple NN to approximate a linear function (literally). I took a table data: f(x) = 5 * x Shapes: Now I am building a very simple NN using Keras: from keras.models import Sequential from keras.layers import Dense from keras.layers.core import Activation, Dense # define base mode def basel...
For two independent Frechet distributed variables that have the same shape parameter but different scale parameters: $$ F_i(x) = e^{-\psi_i x^{-\epsilon}}, i=1,2$$ The probability of one variable being larger than the other has a simple closed form solution: $$ Pr(x_1 > x_2 ) = \frac{\psi_1}{\psi_1 + \psi_2}$$ I am ...
I have this simple dataframe with some NAs. features<-data.frame(M1=c(1,1,0),M2=c(1,1,0),M3=c(0,0,1),C1=c("white","green",NA), C2=c("violet","cyan",NA),C3=c(NA,NA,"red")) print(features) M1 M2 M3 C1 C2 C3 1 1 1 0 white violet <NA> 2 1 1 0 green cyan <NA> 3 0 0 1 <NA> <...
I'm trying to run an intraclass-correlation (inter-rater agreement) for personality data I have collected. However, I work with animals and as such the data has been collected over a period of a year or so, I have, in some cases different numbers of raters per subject, and different raters (or more specifically, not al...
I am using stochastic variational inference for a model, where two of local variational parameters depend on each other. Regularly they are updated simultaneously, and part this update looks like something as below: while true for i from 1 to #observations z1_new[i] = f(z2_old[i]) z1_old[i] = z1_new...
I'm struggling to understand the results of simple multiple linear regressions -- specifically, the standard deviations of predictions. Say that I have a data set where a variable density was measured every season between 2000 and 2005. # Create dummy data set df.tst <- data.frame(density = runif(24, 0, 1), ...
I am doing an experiment on the effect of temperature on the rate of lactic acid fermentation of yoghurt over 6 hours. I have used the fall in pH as an indicator for the presence of lactic acid. I have measured the pH of yoghurt every hour for 5 sets of temperatures and calculated the rate of fermentation for every hou...
I am having some difficulties with a linear mixed model implementation. The situation: 17 subjects get tested on both sides of their body (L vs R) at 5 different time points (i1-i5) with 2 tests (A vs B) I want to test whether there is a difference in the values obtained by the 2 tests, correcting for repeated measure...
[1] I'm testing some P/RNGs algorithms, so in order to see how normally distributed are the values obtained by these Random Number Generators (resp. Pseudo-), which method suits best? Is drawing the Normal Distribution Curve would be sufficient? Or doing a Chi-squared test is preferable? By normally distributed, I mean...
I have a prediction model tested with four methods as you can see in the boxplot figure below. The attribute that the model predicts is in range of 0-8. You may notice that there is one upper-bound outlier and three lower-bound outliers indicated by all methods. I wonder if it is appropriate to remove these instances f...
Can a finite state Markov chain have essential transient state? I have found out an example for an infinite state one and I have the intuition (I may be wrong) that for a finite state space .. This isn't possible... But I am not being able to prove it..
If I know the variance of column A, column B and Column C. But I want to know what is the variance of Column D which is equal to D = A+B+C. How do I calculate that variance?
I am trying to extract good low dimensional representation of CIFAR-10 images in an unsupervised way. It is a project requirement that I use 512-d GIST features, reduce the dimensions to 32 using PCA and reduce the dimensions using Auto encoder and compare. I am using image-classification accuracy as the final evaluati...
I am running Spark MLLib's Decisioin Tree model. While parameter tuning, I came across the minInstancesPerNode but I am not sure of the implications of setting it too low or too high. Can anyone help me understand its purpose and importance? As per my understanding, it would be overfitting if there are very few insta...
I've heard it said that most statistical tests can be reformulated within the GLM framework. I can see how that can be done with a two-sample t-test (dummy code group membership and interpret the slope as the difference between the two group means). Is it possible to reformulate a z-test (or a one-sample t) into the GL...
Suppose I have 4 massive data sets representing specific products all belonging to the same "product class". A priori we expect that these will all behave similarly and that a grouping will make sense. Our task is to predict a binary response associated to each observation in a product. The current implementation is to...
I've a - probably beginner level - question about classifying. My goal is to classify users as UG1 or UG2, based on some specific characteristics of them. So, what I've done so far is: I have two major groups of users (UG1 and UG2). Each study participant (N=67) took a test, and based on their total performance they w...
Multiple Regression - Found a Significant model but one variable does not significantly predict the behaviour, how to explain this ? Also attaching correlation table.
If a linear regression model is severely overfitted, the calculated prediction interval can be pretty tight, but the model won't generalize well to unseen data, so the prediction interval can be totally wrong in this case, is this correct?
We all know precision and recall. What if two algorithms have the same precision and recall but one algorithm makes more predictions with the data available. Example: "I love samsung. Apple is terrible." Algorithm 1: "I love samsung. Apple is terrible." Makes prediction Neutral. Algorithm 2: "I love samsung. Apple is t...
I need to find the factors which are most impacting the number of students failed in a class. So, I have a dataset containing number of students failed and variables which are specific to the school, class etc. Essentially, I want to figure out the variables which are affecting "number of students failing". If the Y-v...