instruction
stringlengths
9
38.7k
I'm fitting a nonlinear dynamic model to some non-normally distributed data using maximum likelihood estimation. My working approach has been to assume my data is gamma distributed and do gamma regression ala something like this: slides on gamma regression. I'm exploring the possibility of doing a type of Rayleigh dist...
I have a dataset of about 30 features, most of which are profile information of insurance customers. There are a couple features that are time-dependent (guess you could call it time series) insurance premiums. These premiums exhibit a trend of going up. Due to certain constraints, my training dataset spans 3 years fr...
I have a problem which is as follows: Given the linear model $y=X\beta+\epsilon$ and $\text{Var}(y)=\Sigma$, show that: $$\text{Cov}(\hat{\beta}_{LS},\hat{\beta}_{GLS})=\text{Var}(\hat{\beta}_{GLS})$$ and compute also $\text{Cov}(\hat{\beta}_{GLS},\hat{\beta}_{GLS}-\hat{\beta}_{LS})$. I'm so lost I do not know wh...
I'm struggling on getting a good explanation for the unexpected signs of Principal Component for months. I tried to replicate a result and I got exactly the opposite signs for all components. While I searched through forums for an answer, I found this website I'm getting "jumpy" loadings in rollapply PCA in R. Can I fi...
Objective: To find the minimum number of buses required, number of chargers, total cost, and schedule of each bus. Problem Statement: Distance between two locations A and B is 14kms and it takes 40mins for one side journey(i.e only A to B). Bus service starts at 6:00 AM till midnight and every 10 mins a bus leaves from...
The data that I have is conversion X,and t, time for conversion. Which means, t is the time from start up until the event X=1 (a conversion) I have the following kernel function, which I'm trying to fit. $$ g(t) = \beta \omega e^{( -\omega t)} $$ However, how should I fit the two parameters $\beta $ and $\omega$? Fo...
Can someone please clarify whether I need to include a quadratic term in interactions instead of just using the linear term? I have a mixed model with a logarithmized response variable and three predictors. One of the predictors (=time) has a curved relationship with the response. I also have two important interactions...
Can you use logistic regression if you have more than two options for the dependent variable. Instead of just a yes/no option I could have more than 2 options. I have 20+ predictor variables.
really stuck in here. Suppose i want to calculate this probability: $P(S|B)$ can i use the total probability law to write: $P(S|B) = P(S\cap H |B) + P(S\cap H^{c}|B)$ ? and suppose i know for a fact that $S\cap H^{c} = \emptyset$ so i get the expresion: $P(S|B) = P(S\cap H |B)$ and again, can i write $P(S|B) = P(S|B,H)...
As part of solving a bigger problem (for the multi-variate case), I am focusing first on the bi-variate case: Given two dependent normal variables $P_1$ and $P_2$, I have two questions: Does the conditional probability $f_{x|P_2 \leq t}(x)$, with fixed (constant) $t$ follow a uni-variate normal distribution? If yes, h...
I am trying to train the gaussian Hidden Markov Model (HMM) for my thesis problem. I am exteding hmm code from the guyz implementaion Here is the code to reestimate mean and co-variance. def _reestimateMixtures(self,observations,gamma_mix): ''' Helper method that performs the Baum-Welch 'M' step for the mi...
Here is the formula of standardized regression coefficients. I have two questions: 1)How do we derive this formula? 2)How can we understand intuitively this formula(I cannot understand why do we multiply old coefficient by ratio 'standard deviation of predictor/standard deviation of dependent vatiable'.
I am trying to clusters points in a high-dimensional space (5000 features for each data point). Each feature can take 0 or 1 value. Also for each point only a small subset of the features will be 1 (sparse data). I don't know ground (truth) labels for these points. I am trying various clustering algorithms (Agglomerati...
I am using the xgboost package in python to do predictive modelling problems. I encounter the following two questions: First, I've specified a set of values for those hyper parameters and run cross validation params1 = { 'max_depth':5, 'min_child_weight':1, 'learning_rate':0.1, 'gamma': 0, 'subsample':0.8, 'colsample_b...
When $U$ and $U'$ are two i.i.d. uniformly distributed random variables on $[0, 1]$, show that $$\mbox{Var} \left( (U-U')^2 \right) = 0.04 $$ I tried plugging in the formula $\mbox{Var}(U^2)=E(U^4)-E(U^2)^2$ but unable to get a solution. I guess this formula cannot be used here, but I have no idea why.
When people say that outliers ($\neq$ experimental error) shouldn't be removed, but that analysis should be done both with and without them, do they mean that I should use the same model for both cases, and then report on potential differences? Even if the model with outliers is not satisfying the assumptions of e.g. n...
Question: Is it incorrect to think there is a "sweet spot" where more samples slightly decreases the likelihood of a "Best pick" in the Secretary Problem? Details: The "Secretary Problem" from "optimal stopping" is a classic in decision theory. It also relates to the game "deal or no deal", and selection of candidat...
I have a 1D data which represents order values. Sometimes a client creates a test order which they don't remove from the system. What would be the best way of detecting and removing values that seem to be abnormal in comparison to the rest of population? Example (but actual) data: 275.13 397.42 444.86 567.29 698.36 70...
I am interested in suggestions concerning possible applications/problems within applied statistics with respect to estimates of least-squares for non-stationary designs. In particular, I would like to know if there are current problems in statistics in which it is important to approach the best average response $Y$ fro...
The following example borrow from forecastxgb author's blog, the tree-based model can't extrapolate in it's nature, but there are definitely some method to combine the benefit of tree model (interaction factors) and linear model's trend extrapolate ability. Could anyone give some ideas? I have seen some kaggle solutio...
Suppose that we want to sample from a posterior distribution $p(\theta|y)$ but we do not know how to directly sample. Suppose instead that we have a working set of values $\{\theta^{(1)}, \ldots, \theta^{(S)}\}$ and that we have a new draw $\theta^{*}$ that we want to know if we want to set equal to $\theta^{(S+1)}$, t...
How to generalize the logit transform to more than one dimensions? That is, how to add noise to an arbitrary element of an $n$-dimensional probability simplex. (1) In one dimension, we have $L:[0,1]\rightarrow[0,1]$ defined by $L(p)=\frac{exp(ln\frac{p}{1-p}+\sigma\varepsilon)}{1+exp(ln\frac{p}{1-p}+\sigma\varepsilon...
I am analyzing language data (nouns, verbs, etc) of people with and without autism and all of them have different number of words. Option 1: Would it be best to count each result as a ratio of the number of words: P1: Nouns= (20 nouns/100 words) P2: Nouns = (50 nouns/250 words) P3: Nouns = (10 nouns/105 words) Option...
Let $X_1, X_2 \dots X_N$ be the indicators of $n$ Bernoulli trials with probability of success $p$. What is the method of moments estimate of $p$? Exhibit method of moments estimates for $p \cdot (1 - p) / n$ using only the first moment and then using only the second moment of the population. How do we show that these ...
In the second edition of the Robert & Casella book (Monte Carlo Statistical Methods), the authors have a result, Theorem 7.8, on the independent Metropolis-Hastings sampler: Letting $f$ be the density of the target measure an $g$ the density of the proposal, if a minimization condition is satisfied $f(x)\leq M g(x)$ f...
I have some pre post data for an extremely small sample (n=5). Outcome is continuous and no control. What statistics would be more appropriate to report? Accordingly, is a paired t-test or a wilcoxon signed rank test more appropriate? I feel 5 data points are insufficient to assess normality. Should i report both?
I am performing a meta-regression of nine studies that look at cancer risk vs level of substance in the drinking water. Each study has a reference strata and one to five higher strata. The studies have quite different ranges of exposure. I have run the glst program in STATA which is a random slope model, and I have r...
I have some pre-post intervention data with a continuous outcome measurement and a very small sample size. The measurements at pre and post were taken across varying levels of a certain trigger. So at pre intervention, each patient was exposed to greater and greater levels of an energy drink and heart beat was measured...
I am trying to build a perception in R. I have generated some test data that is clearly linearly separable. I have tried a variety of learning rates, but the classification rate just seems to bounce back and forth between around .2 and .8. I think the problem must be in the updateWeights function, but when I test the f...
I have a table which has data CO2 emission of the world from 1960 to 2011. After going through some tutorial i performed ARIMA method on my dataset,but the prediction of CO2 emission for the next 10 years remains the same.I have already gone through some post,but I am unable to understand it.Below is the Table. If ARI...
What are the equations that describe a multiplicative error multiplicative damped trend multiplicative seasonal $(M, M_d, M)$ model? Where can I find all ets models and their equations?
In my data set I have only 6 observations & independent variables are 9. Can I use Lasso regression or multiple regression in this situation? when independent variables are > observations? Data : y x1 x2 x3 x4 x5 x6 x7 x8 x9 6142.8 90.25 164.19 15 0.91 0.88 2.99 0.5 ...
I am looking to derive moments for several distributions. For example, I've used moment generating functions for the standard normal distribution to get: mean =0, variance = 1, skewness = 0, kurtosis = 3 I'm looking for a similar method to do the same for the student-t distribution. Moment generating functions are too ...
I'm currently working on an unbalanced panel data which contains 10000 + individuals and at most (at least) ten (five) years observations. A type of treatment happens to some of the individuals but at different time (multiple treatment periods), except the treatment effect, I also want to test if consequence happen bef...
I try to understand how the multi digit classification in this paper with the Google Street View data works. They try to detect multiple digits within a picture without localization (5 digits and the length of the sequence). They state that they use 6 classifiers on top of convolution layers: Each of the variables ab...
I am tuning the lambda parameter of an elastic net with the glmnet package. For this purpose the package provides a cross validation based on the function cv.glmnet. With the function I am able to print the MSE of each tested lambda. I am also able to select a set of variables according to the tuned lambda parameter. T...
I have two independent variables X and Y, with known SDs. I want to calculate SD(kYX^3), where k is a constant. How? Best, J
The probability to have $k$ white balls in a sample of size $n$ taken from an urn of $N$ balls with $K$ of them being white is equal to: $$ P(k|n,N,K) = \frac{{{n}\choose{k}}{{N-n}\choose{K-k}}}{{{N}\choose{n}}} $$ How to infer a probability when $K$ is not determined a priori. In other words the question would be: Wha...
. Prawns are known to lose weight after fished out of water. I want to check claim of a firm that its product (weight gaining additive) gains weight of prawn by better water retention and absorption. Following are characteristics of prawns to be used for experiment. These are culture prawns. All prawns used for exper...
Context: I am currently doing my undergraduate research and I am stuck on my analysis part. The study is a quantitative experiment, I had 17 participants performing a maitlands mobilization Grade 3 for 3 times at a time. What I was looking for is if all individuals could exert the same force consistently across the 3 t...
We are analyzing cancer patient mutation data. We defined set of region on the human genome as binding events, (for the ones who is interested in to the subject, it is a transcription factor binding regions obtained by ChIP-seq) and would like to prove that some of the region have significantly higher number of mutatio...
I've been calculating receiver operating characteristic (ROC) curves on very large datasets for my thesis. I tried to run these in the pROC R package but the compute time was very long with large datasets. I resolved this issue by using the ROCR R package instead. These packages appear to calculate the AUROC differentl...
I try to tune alpha and lambda.1se (the largest value of lambda such that the error is within 1 standard error of the minimum) for an elastic net. In the glmnet package it is possible to tune lambda.1se, but it is not possible to tune alpha and lambda at the same time. Such a tuning of both parameters is possible with ...
Background: We know from this article that ending an A/B test early due to "significant" results is a mistake. Question: But what about when a test runs for the desired time period and shows insignificant results – is it fine to prolong it? What are the risks? Note: It would be great with a simple mathematical example ...
Context: To clarify, I'm looking at stigma in mental health. My hypothesis is that people will admit to more mental health symptoms on an online platform rather than on a telephone interview. Participants complete the online questionnaire and then the telephone interview a few months afterwards. So I've computed a vari...
If one summarizes a data set with an inter-quartile (iqm) mean, rather than the mean calculated using the complete data set, is a standard deviation (sd) calculated using the complete data set then inconsistent with presenting the iqm? Put another way, for consistency, should the sd be computed using the exact same dat...
How do you perform the Kruskal Wallis test with 2 repetitions for the same patients? I have applied it on the difference of scores but what happened if there are more than two repetitions?
I fitted a coxph model and below is the concordance details from my object named cx. I can see that Concordance is calculated as 4282/(4283+1697) = 0.716 but I'd like to know: (1) How is se=0.048 calculated? (2) What does std(c-d) represent and how is it calculated? > summary(cx) Concordance= 0.716 (se = 0.048 ) Rsqu...
Background: I'm studying chapter 6 of Deep Learning by Ian Goodfellow and Yoshua Bengio and Aaron Courville. In section 6.2.2.2 (pages 182 of 183 which can be viewed here) the use of sigmoid to output $P(y=1|x)$ is motivated. To summarize some of the material they let $$z = w^Th+b$$ be an output neuron before an activa...
So for a project I am using SPSS and creating a mean test score of three different tests. Since the tests use different scales, before creating the mean, I am saving them as standardised residuals, after controlling for confounders such as 'time taken' to do the test. Now my confusion is this: Two of the tests have a '...
In this paper, the authors state (pg. 70): The corresponding distribution for the local wavelet power spectrum is $$\frac{|W_n(s)|^2}{\sigma^2} \implies \frac{1}{2}P_k\chi_2^2 \tag{18} $$ ...After finding an appropriate background spectrum and choosing a particular confidence for $\chi^2$ such as 95%, one can then ...
Background: I am working on a project involving fitting a linear regression from EEG data to image features. The nature of the experiments I run to gather data mean I have to work with very few samples (360) and the raw EEG has 7680 features. I have been using the SKLearn Ridge, and I tried to measure the level of fit ...
In reliability theory we have $h(x)=\frac{p(x)}{s(x)}$ where $p(x)$ and $s(x)$ are the probability mass function and the survival function, respectively. Again $$SRF(x)=\log\left(\frac{s(x)}{s(x+1)}\right)$$ gives the same failure rate function. Why do we use second one if we have already $h(x)=\frac{p(x)}{s(x)}$? W...
Following the Rasmussen&Williams Gpml Machine Learning book i'm trying to implement my gaussian process in matlab, avoiding to use other existing toolbox or complex pre-assembled functions, but now i'm stuck with the minimization of the negative log marginal likelihood in order to estimate the hyperparameters of my noi...
I have a dataset of dutch municipalities (rows) and a lot of variables (cols, variables). Given one municipality or the average of some, with what technique can I find municipalities that resemble this municipality on the variables, and how can I find municipalities that differ as much as possible on these variables. I...
I'm trying to understand the last comment under the answer in this question: Just to present another approach, we can instead choose to define a transformed multivariate normal variable $v:=A′Y$ and it will still follow the same distribution $\mathcal{N}\left(0, \sigma^{2}I\right)$ if we use the affine property. Then ...
I am trying to understand the stats problem that I encountered. Use reproducible R code below. All libraries enlisted are needed. What I do is: - create two tables $101 \times 1000$, where there are $100$ inputs (a vector of delayed timeseries points), and $1$ output (a one step ahead series point). The tables are ind...
I would appreciate some methodology and R implementation help for a thing I'm working on. I have daily observations of $Y$ for several countries over several years, I will use quite a few independent variables $X$. My hypothesis is that there was a break at a specific time that has affected the determination process o...
$$C_p = \frac{SS_E(p)}{\hat{\sigma}^2} - 2 + 2p $$ Here is the formula of Mallows's $C_p$ statistic, wher $SSe_p$ is residuals sum of square, $\hat\sigma^2$ is estimated variance of residuals, $n$ - number of observations and $p$ - number of predictors in model. Questions: How can we intuitively understand and explain ...
I want to tune lambda of an elastic net. It is possible to optimize lambda based on a cross validation with the glmnet package. However, I recognized that the estimated lambda varies a lot, if I run the cross validation several times. See code below, for a reproducible illustration of this situation: library("glmnet") ...
The problem is from [ISLR][1] Problem 5.R.R2. The data is here. Consider the linear regression model of $y$ on $X_1$ and $X_2$. Next, plot the data using matplot(Xy,type="l"). Which of the following do you think is most likely given what you see? The answer is: Our estimate of $s.e.(\beta^1$) is too low. The expl...
My data look like this: The dependent variable is score on a language task (numerical). I have $2$ between subject variables: age (young vs old: categorical) language (monolingual vs. bilingual: categorical) Then, I have $3$ within-subject variables (task conditions): verb type (2 values: categorical) focus (2 val...
The frisch-waugh-lovell theorem uses the following line in the proof: $\hat\beta_2 = (X_2' M_{1}X_2)^{-1}X_2'M_{1}y$ How do we know $(X_2' M_{1}X_2)^{-1}$ is invertible?
I have a set of outcomes $\{A, 2A, B, C\}$, which on a roll appear with probabilities $\{0.10, 0.15, 0.40, 0.35\}$ respectively. How many rolls do I need to get 30 $A$ elements?
for example, 30 events during 10000 person-years, the cumulative incidence rate is 3 per 1000 person-years, how to calculate its 95% CI?
I am going to compare means of two groups (Male, Female) from my complex stratified sample. I have scores of 3 subjects of more then 3000 respondent for each subject. I checked for normality and get the following picture: i.e data for groups isn't normal in all three cases. Therefore I can not use the tests of hypot...
I am looking to correctly name something. Often when I have my data, I calculate a "value". For instance a moment like the mean value, or a quantile. Or I aggregate a continuous variable into say 5 categories. For instance, for a time series I would calculate the mean value or some wavelet coefficients. Then I use all ...
I find this paragraph in "Intelligent Systems and Applications: Extended and Selected Results from the ..." book that discarded some data from dataset because they were not acceptable by the MATLAB ANFIS and sigma was zero. My question is which type of data is in this condition? Illegal parameters in fisGaussianMF() -...
PCA operates by the following principles/constraints Principal components are orthogonal basis vectors spanning the original feature/variable set Principal components maximize variance between observations Questions: 1. Is there an analysis or manipulation of PCA to achieve the following? Principal components are or...
In my view, it is almost impossible to successfully optimize both accurate prediction of previously unseen observations, and understanding of the phenomenon. Better to focus appropriately.---ljubomir ljumboir wrote this comment to explain an answer he wrote that compares Machine Learning to Statistics: I'll argue th...
I understand that response variables are dependent on predictor variables. For an easy case like Baking a cake, we know that Baking time, oven temperature are predictor variables while Moisture of the cake, thickness of the cake are dependent variables. However in the following example, I find it very tricky to distin...
Suppose I have an interval censored survival model in which each interval is a month long period, and there are twelve intervals (i.e. one year total). Also suppose that this model has been trained and tested with good results. Now I collect new data in real-time, meaning that I collect data for each month sequentially...
I have a dependent/response variable that is categorized into 7 different levels with 1 being least significant and 7 being most significant. I have 20 plus independent/predictor variables that are nominal, ordinal, interval and ratio data that I want to utilize. I know I cannot use regular logistic regression because ...
What are some names for the Markov Chain $$ X_{n+1} = X_n? $$ I have heard this called a "maximally uninteresting" Markov Chain. Are there any other names? Something cooler-sounding than "constant" Markov Chain.
I am currently writing my Master's Thesis and I have a question in regards to the Kolmogorov-Smirnov test (ks.test in R), Anderson-Darling test (ad.test in R), and Wilcox/Mann-Whitney U test (wilcox.test in R). With KS and AD I am testing whether two samples are drawn from the same distribution and with the MWU test I ...
I have plotted the boxplots of the distributions of certain groups and I was bewildered to see that the means appear outside the boxplots. How could this be explained? Since boxplots are a mainstream visualization technique of distributions, I felt that my question fit the scope of this Forum. My code is the followin...
I have a dataset of n = 55 samples with 300,000 - 600,000 features for each sample. I am trying to train a model (ksvm classification) to predict the class of each sample. N = 26 of the samples are class 1, N = 29 are class 2. Due to the large number of features, I planned to pre-filter the features to include only f...
In manifold learning such as Laplacian Eigenmap, a common method of obtaining the similarity matrix (that measures "affinity" or "connectivity") is to use Gaussian kernel in terms of the data points' Euclidean distances. Question = can I use distance covariance or distance correlation instead of Euclidean distances? ...
Let's say one has a univariate Gaussian distribution with mean $\mu = 0$ and standard deviation $\sigma$. It is easy to see that the distance from $\mu$ to +1$\sigma$ is...well...$\sigma$. Let's now say we have a bivariate Gaussian distribution with $\vec{\mu} = {[ 0 \space 0]^T}$ and covariance matrix $\Sigma = \beg...
One commonly given reason to use mixed-effects model rather than a fixed-effects model is “the assumption of independence of errors does not hold in a multilevel structure, this will cause the standard errors of regression coefficients to be wrongly estimated”. Is this what is also referred to as “non-sphericity”? But...
I tried to estimate parameters for the AR(1) and MA(1) models. I got 0.342 for theta and -0.343 for phi (coefficients of AR(1) and MA(1) respectively). The residual ACF for both the models was also the same. My question is if this is possible? Or that I have an issue with my Matlab code?
I am trying to do a one way ANOVA and having some difficulty proceeding it. Among all the assumptions, I am stuck with these two: normality and equal variance. My questions are, My independent variable has 4 categories. The normality assumption is satisfied for two of the 4 categories. I read that ANOVA is quite r...
In section 6.2.2.3 of http://www.deeplearningbook.org/contents/mlp.html, the author says "More rarely, softmax functions can be used inside the model itself, if we wish the model to choose between one of n different options for some internal variable" I'm trying to think of an example of when one would want to do...
Suppose we have a base set $[1;n] \subset \mathbb{N}$ of size $n$. From this set $m$ numbers $S = (i_1,i_2,...,i_m)$ are picked. The same number may be picked multiple times. $m$ may be greater than $n$ or not. It is conjectured that the selected numbers were chosen randomly, i.e. with evenly distributed probability an...
I have a series of classification tasks at hand and as a final step, I need to build a classifier for a particularly small dataset. This dataset has 9 features and the class is binary while having only 65 instances. This is the procedure I followed: Splitting the 64 instances into a train and test set using a 90% / 10...
I am looking through an example (found here https://answers.yahoo.com/question/index?qid=20080303223718AA2T5qI) on the central limit theorem. I understand most of the best answer and am able to follow how they derive most of the numbers. What I am confused on is where the numbers for this line (= 0.8286574 - 0.1713426)...
I have a one dimension weather temperature data and I need to split into 7 clusters(maybe less). Temperature data in the very low end and high end is not as common as middle range values. So using kmeans might violate its assumption that each cluster need to be relative equal sized. But hierarchy clustering dose n...
Basic regression model question. Suppose I treated 3 groups of mice, group 1 with water, group 2 with drug A, and group 3 with drug B. The water treatment thus serves as baseline. Now my question is what is a more appropriate linear model to use in order to assess the effect of each drug relative to the water treatment...
I'm training a random forest model to predict a categorical outcome. Is there any way I can make the model apply four methods of sampling without having to write four separate codes (one for each sampling method)? My code is as follows: set.seed(17) ctrl = trainControl(method = "repeatedcv", number=10, repeats=3, sampl...
Is it the same to estimate the time fixed effect by the within estimator and by simply adding time dummies in my regression equation? Why would that be the case mathematically? edit $$\text{Y}_{ist}=\gamma_s+TFE+\sum^m_{\tau=0}\delta_{-\tau}\text{D}_{s,t-\tau}+\sum^q_{\tau=1}\delta_{+\tau}\text{D}_{s,t+\tau}+\text{X}...
I have a dataset with colliding labels (class noise). It has only two (integer) features, one of which is fairly correlated with the output. I am trying to get TensorFlow to optimize the coefficients but it performs so poorly, I think the accuracy is wrong or this is somehow something that tf can't really do. I dumbed ...
I am trying to get a word2vec embedding of a given phrase using an LSTM RNN encoder. For example, "How are you?" => [some word2vec representation] I have pretrained model of word2vec(i already wrote an implementation for this) which gives me the word2vec of words but I am not sure how to get the word2vec given a phras...
I have an independent variable with the following distribution: Can I use this variable in linear regression? If not, can I transform it in any way?
What is $P(Z^2 < 1)$? I'm not sure what I'm doing. I am thinking that the way to do this is just apply algebra inside the probability operator and find $P(Z<1)$ by the complement rule. $(1-P(Z > 1))=(1 - .1587)=.8413$.
I am using the sjPlot package to estimate my multilevel model and I am loving it. However, I am a bit confused by the output of the random intercept. Background: My dependent variable is on a scale from 0-100. I fitted a model with lmer with some individual level variables that are all group-mean centered and a random ...
I've read through Hazan's paper on online convex optimization. I don't quite understand why the regularization term must be strongly convex instead of more relaxed condition such as strictly convex. https://ie.technion.ac.il/~ehazan/papers/shalom.pdf For instance, we want to compute $$x = \text{argmin}_{x \in X} {f^Tx ...
I’m doing my VAR regression with panel data on stata 12, but I face a problem with observations that are in negative value when generating logarithms. All the negative variables are missing after transformation in Logs. Is it normal or I have to correct this! Can I have a advice? Thank you!
I'm currently playing with auto-encoders, so the question is more about research than practical implementation. I know that if I reduce capacity of auto-encoder by making hidden layer smaller, I'll get some kind of factorization of the input (adding noise is more effective, but let's forget about that for a while). Ho...
For example, I got an address feature like '32, 5th Avenue', and I could map it to a new feature as '5th Avenue' by only considering about the street part. The latter one will have far less possible values than the origin one. My question is will it perform better in a classification model, especially the tree models [...
I'm trying to solve for confidence interval for the difference in means and i was given two sample sizes, one less than 30 and the other greater. i dont know if this requires a t test or z test. which is appropriate?