instruction
stringlengths
9
38.7k
I'm not sure what information is relevant here, so here is some background: I'm using Python 3 / sklearn, but I could probably use R if needed. I have a small sparse data-set (~1500 samples, ~1600 features). I've "normalized" the data using python's MaxAbsScaler and used PCA to reduce the number of features to about 8...
can anyone help me with how to calculate R-squared for a logistic regression- How do I use the deviance for this Purpose ? Additionaly, the question in matlab: I am calculating a psychometric function using the "glmfit" function in matlab, with 'probit' parameter. It returns "dev" variable, and I do not understand ho...
In many epidemiology papers I'm reading, they estimate odds ratio and confidence intervals using a multivariate logistical regression. For example: We examined the association between young age at first sexual intercourse (age 14 years) and subsequent risk-taking behaviours by using multivariate logistic regressio...
I want to implement a gesture recognition system from video (of hand movements). Some people have experimented with 3d convolutions to extract not only spatial features out of images, but also extract temporal features. My question is, how does this architecture compare with a CNN on a per frame basis, to an LSTM net...
I am running Multiple Logistic Regression on a set of around 5000 observations. The series are actually a time series, each observation is a daily average. However, logistic regression treats each day as an independent observation, not knowing what day came after or before. I separated the last 1/4 of my data (the mos...
I'm using this data set: http://archive.ics.uci.edu/ml/datasets/Wine+Quality and regressing chlorides on nine predictors (all except residual sugar and quality). I have Box-Cox transformed the response and removed three potential outliers (which did nothing), and now I still have a QQ-plot with heavy tails. The data se...
as weights? What's the advantage or disadvantage?
Let $P(K=k)=(1-\beta)^k\beta ; k=1,2,3,...$ Then it is required to show $\beta K$ converges in distribution to an exp (1) random variable as $\beta$ tends to zero. For this they have started with considering $P(\beta K\ge x)$ . I was able to show it by considering this, but I don't understand why $P(\beta K\ge x)$...
I have set of attributes A (continuous value),B,C and the result is X where X is an continues value. I have data set and I can train a model with that data. At certain point I have to determine the value of A attribute in order to take the optimum X value while other attributes are provided. So I have to recommend valu...
I'm having a problem with an analysis that's part of a statistics course. We were handed out a dataset (total n=456) that's supposed to measure the impact of background graphics on player experience in a specific video game genre. Background graphics were either high or low detail as well as animated or not animated. B...
I ran the following code: sarima(data,0,0,1,0,1,1, 12) # p=0,d=0,q=1; P=0,D=12,Q=1 initial value -3.812739 iter 2 value -4.161744 iter 3 value -4.243969 iter 4 value -4.245956 iter 5 value -4.248315 iter 6 value -4.249812 iter 7 value -4.249835 iter 8 value -4.249836 iter 8 value -4.249836 final valu...
Let $\boldsymbol{X}=(X_1,\dots,X_p)^T$ and $\boldsymbol{Y}=(Y_1,\dots,Y_q)^T$ be two random vectors. Denote $r_x=\operatorname{rank}(\operatorname{Cov}(\boldsymbol{X})),r_y=\operatorname{rank}(\operatorname{Cov}(\boldsymbol{Y})), r_{(x,y)}=\operatorname{rank}(\operatorname{Cov}([\boldsymbol{X}^T,\boldsymbol{Y}^T]^T))$,...
I have problem in understanding the equation and theory of Convolution layer from this [paper](http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=7486259} It is said in the paper that: Anyone, please help me to understand the theory and equation give. I have rephrased that with my understanding. Please let me know i...
When designing a neural network, are there architectures that can be used to favor precision vs. recall and vice versa?
I know that in linear regression the response variable must be continuous but why is this so? I cannot seem to find anything online that explains why I cannot use discrete data for the response variable.
Working with the unlabeled documents from web for supervised text classification, even though the problem settings dictates using semi-supervised learning, I aim to compare several different supervised classifiers (e.g. Naive Bayes, classic SVM, and a deep learning one). Please consider the following empirical scenario...
Suppose I have a 1000-length vector of zeros and ones and I am modelling each of its components as an i.i.d. Bernoulli. Then the probability of that vector is $$p(x | \theta) =\prod_{d=1}^{1000}\theta_d^{x_d}(1-\theta_d)^{1-x_d} $$ I want to maximize the log-likelihood through gradient descent. $$\nabla_\theta logp(x|...
I'm trying to build a recurrent neural network (specifically a BiLSTM) where at each time step the input could be an integer, a real number, or a word from a large vocabulary. Since low-dimensional word embeddings work well for word-only RNNs, I'd like to be able to embed integers and real numbers in the same embeddin...
I am having some difficulty attempting to interpret an interaction between two categorical/dummy variables. For example, lets say there is an interaction term between an individual's gender and her race. sex=1 if male & race=1 if white There is an interaction term between sex and race sex*race Let's say this is the r...
I want to understand connectedness in block designs , I know this about connectedness: a design is said to be disconnected if we are able to create two separate groups (of blocks) such that they do not contain any common treatment (or any block in one group does not contain any treatment from other group), otherwise i...
I am studying about F ratio and how, as a random variable, it follows F Distribution. So let me explain what confuses me. This is what the theory says -- We draw two random samples $sample_x$ and $sample_y$ from two different Normally distributed populations with equal variance $\sigma^2$. Let the sample variances of ...
In maximum likelihood estimation for the parameter, mean $\mu$ of multivariate normal distribution, I end up with the following result: $\mu_{MLE} = \dfrac{1}{n}\sum_{i=1}^n x_i$ The way I understand the above equation is the following way below, but I am wondering if the above equation means the following equation: $\...
These are the results after applying the R - package benford.analysis Benford object: Data: sursa$ca_01 Number of observations used = 134545 Number of obs. for second order = 98921 First digits analysed = 1 Mantissa: Statistic Value Mean 0.513 Var 0.082 Ex.Kurtosis -1.172 Skewness...
When a RNN/LSTM contains output in each time step, I can understand that the output of current time steps is a function of its historical data. But when one deals with a RNN that only has an output of the last time step, what's the difference between it and a MLP whose first layer contains all features of all the time ...
I have read the questions about the ARIMA and ARMA prediction here and here, and also here. I'd like to make an one-step ahead forecast in-sample with the ARIMA(p=1,d=1,q=0) model. I have used the forecast packages: library(forecast) set.seed(1) n<-252 mydata1 <- runif(n, 9000, 10000) fit1<-Arima(mydata1[1:(n-...
If we process say 10 examples in a batch, I understand we can sum the loss for each example, but how does backpropagation work in regard to updating the weights for each example? For example: Example 1 --> loss = 2 Example 2 --> loss = -2 This results in an average loss of 0 (E = 0), so how would this update each wei...
From the section on Significance Testing in onlinestatbook: Whenever an effect is significant, all values in the confidence interval will be on the same side of zero (either all positive or all negative). Why? Can't a confidence interval be positioned both sides of the zero? Say, can't its range be [-12; +12]?
I am now working with an econometrics project, where the dataset contains lots of binary(dummy) variables. Since the linear probability model (LPM) I constructed by directly regressing independent variables on a dependent variable (which is binary also) does not violate the mathematical principle (probabilities should ...
What is the recommended approach to measure the similarity between two distributions of a variable—discrete and continuous? Is Bhattacharyya distance a good measure?
I am assessing the similarity between documents represented as vectors of tf-idf values. I know that the cosine similarity is a well-defined and commonly used measure in information retrieval. However I am thinking how to deal with the case where 2 documents are "linearly dependent". Let's consider three documents: $d_...
Why is the Pearson correlation coefficient used to derive correlations between stock returns if the stock returns are not normally distributed? I was under the assumption that the data should be normally distributed or close to that but in case of stock returns, especially short time series of daily returns, they are n...
In the following equation, I have found the maximum likelihood estimate of the mean for a multivariate normal distribution $\therefore \mu^*_{MLE}=\dfrac{1}{n}\sum_{i=1}^{n}x_i$ But I am wondering if the $\mu$ is a scalar value or a vector scalar values.
Using maximum likelihood estimation, we find $\sigma^2$ to be the variance for a single variable and the $\sigma^2$ becomes $\Sigma$, a covariance matrix, for a multivariate normal distribution. Does the variance, $\sigma^2$, mean that it has the smallest variance with the highest peak? I am wondering what find a maxim...
What do the terms "dense" and "sparse" mean in the context of neural networks (NNs)? What is the difference between them? Why are they so called?
How can I formally show that a root n consistent estimator is weakly consistent? Heuristically its clear that if $\sqrt{n}(\theta_n-\theta_0)$ is bounded in probability then since $\sqrt{n} \to \infty$ as $n \to \infty$ clearly $\theta_n-\theta_0 \in o_p(1)$ that is it goes to zero in probability but every time I try ...
I am estimating latent curve models (btw, this is my first time using LCM) for multiple indices (n = 6) taken from the same sample of research subjects. For some of these indices, the fit measures TFI and IFI are indicating that the model is overfitted (TFI > 1.2 & IFI > 1.2), but for other indices they are telling me ...
If I have some data of 40 samples, 20 belong to a patient group and 20 to a control group. Before running the data through my logistic regression classifier to try and classify who is a patient and who isn't I want to demean and scale the data. My question is do I demean and scale the entire data set together or do I f...
I'm using TensorFlow to label time series using an LSTM, such that the labels to attribute to each timestep in the data are floats comprehended between -1 and +1. I'm struggling to find an adequate cost function for the problem. I have tried the following cost functions: Mean squared error (https://www.tensorflow.org/...
I'm working with a vacuum chamber. I have one test per day in which we test if the chamber's seals are still good enough for operation. In each test I have measurements every 60 seconds for 5 minutes (0, 60, 120, 180, 240, 300 seconds). I know that if the vacuum difference between one measurement and the prior one is b...
I want to compute an intraclass correlation in a multilevel regression model with a binary dependent variable (i.e., using logit). When a continuous DV is used, the ICC is the proportion of variance in the DV that is accounted for by the clustering (person-level) factor. Is the computation of the ICC the same when a bi...
I am trying to plot model fit curve. I am not able to get a smoother fit curve. Any advice? XY <- data.frame(cbind(Values = c(91.8, 95.3, 99.8, 123.3, 202.9, 619.8, 1214.2, 1519.1, 1509.2, 1523.3, 1595.2, 1625.1), Concn = c(1000, 300, 100, 30, 10, 3, 1, 0.3, 0.1, 0.03, 0.01, 0))) nl...
Is there a difference between doing preprocessing for a dataset in sklearn before and after splitting data into train_test_split? In other words, are both of these approaches equivalent? from sklearn.preprocessing import StandardScaler from sklearn.model_selection import train_test_split #standardizing after splitting...
I just need a very short summary of what the standard way to deal with compositional data is. I've skimmed pages in a 500-page long book on the topic, and I didn't really gather much. I would like to know the general idea before I delve into the details. By compositional data, I mean response variables $p_1, ..., p_k$...
Very similar to this question Find the equation from generalized linear model output, I want to derive an equation for the logistic regression that includes the estimates of a random effect. I've included the following code for reference: Trial=c(1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3) Time=c(2.0, 6....
I downloaded TRMM data in order to get the precipitation value in certain locations, these location correspond to my gauge positions. My current goal is to compare those single-pixel and gauge values monthly and I've been using boxplots in order to get a first glance evaluation. My doubt is, for example, for February ...
I have a panel dataset of a treatment group with no control group panel. It has been proposed to me that I use cross-section from a a national survey, taken at baseline and same time as post-treatment, as a counter-factual (survey is the same questions). Then I would use propensity score matching to match control hous...
I have some data that can be fit with a saturating curve and I have been using a Michaelis-Menten function fit with nls() in R: #get starting value estimates Vm <- getInitial(y ~ SSmicmen(x, max(y), 1), data = dat)[1] K <- getInitial(y ~ SSmicmen(x, max(y), 1), data = dat)[2] #fit Michaelis-Menten model m.m <- nls(y ~ ...
I have a 40-subject design with 1 within-subject factor (Block; levels 1-10), and 1 between-subjects factor (Knowledge; implicit or explicit). When I test for differences between the two Knowledge groups (across all values of Block) using an independent samples t-test, the difference is significant (t = 2.32, p = .027)...
$\newcommand{\Cor}{\operatorname{Cor}} \newcommand{\Cov}{\operatorname{Cov}}$My question is why the following expression holds? $$t = \frac{\hat{\beta_1}}{\operatorname{se}(\beta_1)} = \frac{\Cor(Y,X)\sqrt{n-2}}{\sqrt{1 - \Cor^2(Y,X)}}$$ Here is what I got so far: \begin{align} \frac{\hat{\beta_1}}{\operatorname{se}(\b...
or, for example, is it good to use activation function only for a last layer? As I know, if there are no activation functions in neural network, feedforward will be like simple matrix multiplication, but I don't understand why this is bad.
When trying to detect collinear columns in $X$ a high proportion of cases give a $R_k^2$ close to 1 for independent columns (see figure). When near multicollinearity arise in a $n\times m$ data matrix $X$, $$X = \left[\begin{array}{ccccc} X_1 & \cdots & X_k & \cdots & X_m \end{array}\right]$$ to be used in the linear ...
Accorrding to the deep learning book (Goodfellow et.al 2016), Persistent Contrastive Divergence (PCD) is also called Stochastic Maximum Likelihood (SML). Can anyone show me a reference that first use the term SML? Thank you.
I do certain classification task (machine learning, XGBoost), I do it according to kind of basic rules by splitting dataset into train/val/test sets (let's say 60%/20%/20%). I choose the best model parameters depending how well it performs on val set. Would it be beneficial to retrain said best model on train and val s...
I am trying to compare the goodness of fits of an exponential and a log-normal distributions to some empirical data. Is it possible to use a chi-square test to do so, even though the data is quantitative? In the section 2 of this paper (http://physics.umd.edu/~yakovenk/papers/PhysicaA-370-54-2006.pdf) the author use th...
I'm currently conducting a research in linguistics. The goal is to show the audience preference when it comes to different translation strategies in subtitling. The experiment design has one independent variable with two levels (2 different translations of the same clip), and the dependent variable is the reception (li...
So I have a data set that looks like this. I want to write a full and restricted model which would evaluate the null hypothesis that latitude - controlling for continent and sex - has a significant relationship with wing size. I am currently using R Is it okay to do this for my full model? fit <- lm(wingsize ~ conti...
I want to use LSTMs and RNNs for sequence classification problem. I have features extracted from video segment of 10 sec @ 30 fps i.e. total of 300 frames. For each frame I have a feature representation of d-dimensions. I have label associated for for the entire video segment. Thus, my training data looks like [((x_1_1...
I am fitting a high order polynomial fit (order 15+) to some simulated training data. I know that features become collinear as i increase the order of polynomial but i do not undersand why my fits are so off ! even in case of collinearity the fits should be reasonable. The issue is not related to size of the training ...
Let $\textbf{X} = (X_1, \ldots, X_n)$ be a vector of responses, where $X_i = (p_1, \ldots, p_k)$ is itself a vector of probabilities. What method does one use to analyze such data? I want the logic/steps/ideas/concepts behind the method outlined in a short summary, so that I know what's going on before I study it in d...
Alright so my lecture notes start off by showing that, by doing the usual likelihood ratio test and Neyman Pearson stuff, the most powerful test at level $\alpha$ for $H_0: \mu = \mu_0$ versus $H_A: \mu >\mu_0$ rejects for large values of $\overline{X}-\mu_0$, and the test that is most powerful against the alternative ...
I have a question when I apply fixed and random model, then hausman test, the results show that the appropriate one is fixed model based on hausman test, then I want to check the heterocedasticity for the fixed model using xttest3 (modified wald test ) I found that there is an heteroscedasticity to correct it I have ad...
I have a hypothetical time series data which is derived from following . equation y =0.10 + 0.75 Trend+ 1.00 −1_ + ε When I apply standard ADF procedure to data, I see that y has a unit root while log(y) is stationaty. However, when I apply ERS Point Optimal Unit Root Test, I am receiving an absurd 51,465,638 value a...
I am quite new to SEM analysis so I'm trying to figure out how to make my model a good one (whether drop a variable or something else?) I have tried all sorts of things in order to make my chisquared/df better or the RMSEA, or the SRMR, almost nothing changes the result. I have 6 latent variables measured by 32 items w...
I am trying to understand the proof of the scoring function (log likelihood) of a graph $G$ of a Bayes Network given in this slide. Given a Bayes Net $G$, the log likelihood of data $D$ can be expressed as : $log L(G|D) = m \sum_i^n(I_{P}(X_i,Pax_i) - H(x_i))$ but the derivation seems very confusing to me. Can anyone b...
I have a few Independent variables that's normal and a Dependent variables that's skewed , I pick log(feature+SHIFT) to correct skewness. The procedure I follow to get prediction is just take exp(predictions)-SHIFT. Now how do I get my predictions for the following cases. 1) I have Normal - dependent variable and the i...
This doubt arose when dealing with the typical exercise of calculating the expected grade of a multiple-choice exam answered at random (where each right answer is given $p_1$ points and each wrong answer gets $-p_2$ points). Let $X \sim \mathrm{Bi}(n,p)$, and consider $h(x)=p_1x -p_2(n-x)= (p_1-np_2)+(p_1+p_2)x$. In th...
The picture shows my results. I have reviewed all the row data many times. Unfortunately, I couldn't find mistakes in data entry. Are there any possible solutions or alternatives in such cases?
How to prove that $X_n \xrightarrow[]{p} 1$: $X_n = 1 + nY_n$, where $Y_n$ is a Bernoulli random variable with mean $1/n$
I am evaluating a Neural Network performance using 4-fold cross validation. I produced the ROC curve in the picture. 1) How can I average the folds to obtain just one ROC curve? 2) How can I justify this plot to retain it? [ maybe it's useful to plot different folds to see the spread and how stable the model is, cou...
Once you plot your coefficients in beta space over time (either as sum of coefficients or univariate), assuming you have a companion F-statistic joint significance plot, these alone are useful to see correlation and perhaps structural breaks or changes at each window over time. But aside from just glancing at such plot...
i have applied NG Perron's modified tests to my timer series data. But when I tried to interpret test statistics I saw that, decision given by MZa and MAzt contradicts with MSB and MPT. Is there an assumption which I should know, that would cause thise diversion Thanks..
For example, I have the following plot, where y-axis is the values and x-axis is the index of the data point. There are clearly two gaps in this plot, and I wonder what is the best way to identify these two gaps. I hope the method could be based on statistics without fancy machine learning methods with regularizers,...
Imagine that I have a random number generator $X$ where it is impossible (or mathematicaly intractable) to calculate its probability density function - this can happen when we compose several simpler random variables, that is, the parameters of a random variable are determined by another random variables. That random v...
I trained a classifier that outputs probabilities for 3 classes. I produced the plot of the weighted accuracy achieved on test and train set, throughout training. First, I want to explain how I constructed the contingency table to check if I did a reasonable thing. For each instance, I picked as predicted label the one...
To preface, this is a homework question for me so hints and pointers are what I am primarily looking for, not just the answer. I have been having problems with this problem, specifically part b I have gotten part a to $$E\left[ (x_{n+m} - \tilde{x}_{n+m})^2 \right] = \sigma^2 \sum_{i = 0}^{m-1} \psi_i^2 $$ and I think...
This question is purely academic in nature; I have no application for the knowledge scholastic or otherwise other than curiousity. Suppose you have a KxN matrix of data, with each row representing a variable, and each column representing an observation of each variable, called M. Suppose you now generate a correlation ...
There has been a lot of research about weighted linear regression. Most of the discussions are about weight of samples though, i.e., weight on $y$, rather than weight on $X$, \begin{align} X &= [X_{0}, X_{1}, ... X_{n}] \\ y &= \beta X \end{align} In most engineering problems, there exist some a-priori knowledge abou...
This is in a similar vein to a recent question I asked, however I feel that it is sufficiently different to warrant another question. Again, this is from Andrew Ng's excellent freely available machine learning class. This question asks for the conversion from index notation to matrix vector notation of the cost functio...
I'm using a program called GPower to calculate the achieved power of a certain test I've performed. Below is the screen shot of my inputs and outputs. It states that my test achieved a power of 1.0 - meaning there is a ZERO percent chance of a Type II error occurring. I've never seen it described in this way before, j...
Most of the times when people talk about variable transformations (for both predictor and response variables), they discuss ways to treat skewness of the data (like log transformation, box and cox transformation etc.). What I am not able to understand is why removing skewness is considered such a common best practice? ...
I am given a set of training values $X$ and $y$, and the goal is to predict the value $f_* \equiv f(x_*)$ for a new data point $x_*$, where $f(x) = x^Tw$. How can I show that: $$ \begin{align} p(f_* | x_*, X, y) &= \int p(f_* | x_*,w) p(w|X,y) dw\\ &= \mathcal{N}\left(\frac{1}{\sigma_n^2} x^T_*A^{-1}Xy, x_*^TA^{-1}x_*\...
Are numbers generated by True (hardware) Random Number Generators (TRNGs) more uniform than numbers from a Pseudo Random Number Generator (PRNG)? I understand that there are not much (analytical/numerical) information of TRNGs compared with PRNGs. What are the main users of TRNGs other than in gaming and cryptography?
I have to do my graduation project and I am facing this question regarding a statistical test. This is my question: Assume that I have to classify one image by a Neural Network 5 times (5 iterations) and each time it gives me these results: Iteration 1 : class1: 0.0, class2: 0.5, class3: 0.5, class4: 0.0 >> The total i...
I have an urn with $R$ red and $B$ black balls. $R$ and $B$ are large numbers. I draw some $n$ samples of different sizes without replacement until the urn is empty. The sizes of the samples are not a random variable, consider it a known determined value. I want to see whether I am drawing samples that are more balance...
I have a 16-item questionnaire that measures responses on a 5 point Likert scale from 1 = none of the time, 3 = some of the time, 5 = all of the time. I define each item as an ordinal variable; however the 16 items can be summed together to form a total score or several subscale. is this total score still an ordinal va...
I'm trying to fitting a line with IRLS with L1 norm, but I'm struggling to understand why my idea is wrong. 1 - init the weights $w$ 2 - fit with simple LS and obtain a starting model $\beta_0$ 3 - at each iteration t then until convergence do: compute the residuals $e = |y - x\beta_0|$ update the weights $w = \dfrac{...
I have a dataset comprised of two $n$ x $d$ matrices, $A$ and $B$. Each is comprised of $n$ observations of $d$ angles. The angles are taken from two different meshes of planar triangles that are in correspondence such that columns $A_i$ and $B_i$ both represent $n$ measurements of angle $\alpha_i$. Many columns of ...
How do we calculate block-cluster-robust SEs for the average-treatment effect? (Note, I do not want block bootstrap. I want the analytic estimate, calculated with block-population-weighted block-level SE estimates.) This is for a research design with blocks, clusters within blocks, and we want to use Eicker-Huber-White...
Is there a way to get the time stamp of an arbitrary element in time series object in R? Let me give you an example of what I mean. Imagine you had a series: library(foreign) bjg <- read.dta("http://www.stata-press.com/data/r9/air2.dta") airline.ts <- ts(bjg[, 1], start=c(1949,1), freq=12) The function time() retur...
I would like to find the inverse of the sum of a Kronecker product and a diagonal matrix. I found this answered here, but I don't see how the last step is valid. Because of the fact that $C$ is diagonal, the spectral decomposition of $D^{−1}C$ itself is easy to obtain from that of $D^{−1}$. It says that if we know...
The formula (i.e. y~x) used for beta-regression is unclear to me. I would like to know what the resulting equation would be for a predicted beta-regression curve with the following summary output: Call: betareg(formula = DRatio ~ SVL1 + I(SVL1^2) | SVL1 + I(SVL1^2), data = sub.data, link = c("loglog")) Standardized...
Context: I'm building a model to predict the type of offense (7 classes) from NYPD data. features = ['occurrence_hour', 'borough_labels', 'time_to_entry'] X_train, y_train = train[features], train['offense_labels'] X_test, y_test = test[features], test['offense_labels'] from sklearn import tree clf = tree.DecisionTree...
I am working with a city's crime data and am trying to classify the type of crime in a city based on various features. Two of the features are latitude and longitude and I have been thinking about what is the best way to use these features in a model? Using them as regular numerical features does not seem right to me i...
I've trained a simple Neural net (scikit learn's MLPClassifier) in order to perform binary classification on some data (the titanic dummy problem on kaggle). I know that standardizing data prior to using it to train neural nets is supposed to make training faster but I didn't expect it to change the results (it scores ...
In an incomplete block design they say that block size is smaller than the total no. of treatments to be compared whereas complete block design is one where each treatment occurs once in each block? What about those kind of designs where block size is equal or larger than the total number of treatments yet all treatmen...
I trained a CNN model for regression and getting facial landmarks of a face, it works well when input window has specific ratio but, it fails whenever I want to try it with bigger window and different scales and ratios. Now I want know how much is a CNN model robust to different input image ratios?
I just realized I have always worked regression problem where the independent variables were always numerical. Can I use linear regression in the case where all independent variables are categorical?
If i'm working in a car company and I have some data for every customer i.e. Their license plate Date of their car's service in the dealer Number of km in their car when they service it Their periodic service (e.g. 1000 km, 2000 km, etc.) Can we predict when will the customer back to the dealer to service their car a...
I have obtained the answer on my own question Manual calculation of ARIMA(1,1,0) forecast, then I have seen the question and answer Forecasting with ARMA models. I'd like to write the formula to the manual calculation of ARIMA(p,d,q) forecast in common case. I'm starting with ARIMA(2,1,2) which is: $$y_t = \beta_1(y...
I am working on a Neural Network that should predict certain transport-tariffs based on start and end region of the transport. The region can take different forms, from a whole country to a range of zip codes or just from one zip code to another. When I feed my network the data I just extract the geocoordinates of the ...