instruction
stringlengths
9
38.7k
Say I fit the model lm(y ~ factor + x) Now, what I used to do is, I would look at p-values to see whether some parameters were close to zero and/or insignificant. I would then say "hmmm .... maybe those parameters are equal to zero? Let us test this". Then I would fit another model where that parameter actually is ze...
im trying to use a neural network on an extremely simple custom dataset. from sklearn.neural_network import MLPClassifier import numpy as np import tflearn from sklearn import datasets X = np.array([[0, 0, 1], [0, 1, 1], [1, 0, 1], [1, 1, 1]]) Y = np.array([[0], ...
I am learning Statistics as a prerequisite for Data Science course. I would like to know the difference between Correlation and Regression with an example. Could someone help me please ?
I have 10 variables and some of them are highly correlated. So before I do k - means, I want to get lower number of variables that are not correlated, but retain as much information as possible. Thus, I decided to do PCA before k - means. However, one variable is far from normal, as it has many zeros and looks like to ...
What is the best way for privacy preserved record linkage in data mining. I am final year university student. My thesis topic is related to data mining. I am working with data and I need to privacy preserved record linkage. I used talend, pentaho software. But I don't know what is the best software or best way. ...
Let $X$ be a matrix of size $m \times n$. This link from another Cross Validated thread says if X is centred (column means are subtracted), then covariance matrix $C = \frac{1}{n-1} X^T X$. In the machine learning lecture notes from the class, I have $C = \frac{1}{n-1} X X^T$, if $X$ is centred. Since the results of...
I have a data set which has 7 continuous variables, r0 ... r6 and I need to predict 2 continuous variables, x and y. These variables are quite correlated but the pattern is nonlinear. To explain the relationship between each variable, the problem is a little bit as follows: r0 to r6 are the radii of different circles,...
I would like to research the influence of two independent variables, which together determine the curvilinear relationship with one dependent variable (meaning certain constellations of the two independent variables achieve a certain outcome). Which options do I have to approach this problem? The dependent variable is ...
I have a question as I am currently trying to analyse some data. I have 4 samples of runtime (for each sample n=158, 125, 134, 111 so is unpaired data), each of them giving a mean of 157, 235, 127, 120. I want to see if the highest number 235 is really greater than the rest (hypothesis test). I know I can't use t-test ...
I have read everywhere that the time complexity of hierarchical agglomerative clustering is $\mathcal{O}(n^3)$ and it can be brought down to $\mathcal{O}(n^2 \log n)$. How do we arrive at such conclusions? Could you please provide to me a detailed derivation of these time complexities? I think the space complexity sho...
I'm trying to work out if I can make predictions with the data I have. Both the explanatory and response variables are fairly non-normally distributed continual variables. I'm a bit new at this and am working with R Commander, my initial thoughts would be that I should use either Spearman's rho or Kendall's tau to see ...
I'm looking to accurately describe the density function of a multivariate posterior probability distribution based on samples from MCMC. As far as I know, in most cases this is done either with a simple parametric fit (e.g. fitting or updating a Gaussian distribution based on the posterior samples) or with kernel densi...
I need to apply NDCG over the results of a recommender algorithm, but was not able to find any proper example that suits my use case in order to find out if my implementation is correct. Here is my test set: id | p_name | relevance 1 | p3 | 1 2 | p4 | 1 3 | p7 | 0 4 | p9 | 1 And a result set: id ...
I hope I am asking in right forum, and forgive me, if I am wrong. I am trying to implement an algorithm based on an open paper Factorizing Personalized Markov Chains for Next-Basket Recommendation by Steffen Rendle. In this paper, they combine the morkov chain and matrix factorisation to improve accuracy of next basket...
We are applying EM to a problem where we have N items to classify (binary classification, 0 or 1 ) for which a correct classification exists but is unknown, and a set J of "judges" that performs the classification. For example, a classification could consist in saying if a given picture contains an orchid or not. Each...
I'm familiar with linear interpolation. I tried to search some details about piece-wise linear interpolation but failed to understand this method. Can someone explain the difference between these two interpolation methods or perhaps offer some references to learn?
I have a question regarding how concerned I should be regarding a potential violation from the normality of residuals assumption in a linear mixed model. I have a relatively small data set, and after fitting the model (using 'lmer' in R), a Shapiro-Wilks test reveals a significant deviation of the residuals from a norm...
I have been asked to evaluate the variation between movement rates of fish within different systems (rates are in km/day). I have between 25-100 samples in each system. I understand that when reporting the average rate for a given system, it is more appropriate to use the harmonic mean than the arithmetic mean. If t...
Sometime the distribution of a variable is not normal, either left or right skewed, and people tend to transform the distribution by doing x^2 or log(x), etc to make it look more normal. Question is why this would help model accuracy? Thanks,
I have a good dataset of hourly and daily temperature and would like to predict future temperature based on this data with R. I thought about fitting a time series model to it and use it afterwards for predicting. Any idea which would be suitable? As temperature has saisonality, I guess Holt-Winter would perform well. ...
Let $(X_1,...,X_n)$ be a random sample from a normal distribution $N(\mu,1)$. $T=\frac{1}{n}\sum_{i=1}^{n}X_{i}^2-1$ is an unbiased estimator for $\mu^2$ since : $$ E(T)=E(\frac{1}{n}\sum_{i=1}^{n}X_{i}^2-1)$$ $$= \frac{1}{n}\sum_{i=1}^{n}E(X_{i}^2)-1$$ $$=\frac{1}{n}\sum_{i=1}^{n}[Var(X_{i}+E(X_{i})^2]-1$$ $$=\frac{1}...
In 3 dimensional space, we have a very intuitive picture of the closeness of two vectors: we simply imagine a space with two points in it, and imagine how close they are to eachother. In this way we can imagine different degrees of closeness. Mathematically, we think of closeness simply as the euclidean metric: $$\sqrt...
I was considering various loss functions and optimization methods, for my neural network, and while watching a youtube video about them this illustration was shown: (You can find the animated version here.) I already know that a marble in a smooth hilly terrain is an often used analogy for gradient decent type of opti...
I have a complex measurement with many data and several parameters to measures, $\mu_i$ using maximum likelihood. The estimated parameters have very large errors estimated from the likelihood and large correlation. So, the idea is to merge some parameters, measuring sums or difference of some, for example if the are ve...
I'm having trouble reasoning this problem: There's a business that has 3 different offices, "A", "B" and "C". Each one has 50, 75 and 100 employees respectively and 50%, 60% and 70% of the employees of each office are women. The probability that a employee quits his job is the same for women and men. If you know that a...
I am trying to do sentiment analysis on a corpus of product reviews. My corpus contains 50,000 samples, of which I take 70% for training and 30% for testing. I discretized the 5-star rating to 3 categories as follows: [0, 2] = negative [3] = neutral [4, 5] = positive As a consequence of this discretization, I see tha...
When importing a CSV file that was exported from SAS, I forgot to put the na.strings = "." option in the read.table function. It took me a while to find the error, but what struck me was the radical change in the logistic regression results when I got it right. This was further complicated by the fact that only two v...
I was doing a meta-analysis of single proportion using the meta package in R. I performed a double arcsine transformation to my data. I also wanted to do a trim and fill procedure. However, when backtransf= in the trimfill function is TRUE, the result came back as NA. I was not able to get a transformed back proportion...
I have a set of measurements from hypothesized binomial distributions with the same p but with different n values. Given the data, I'd like to assess how confident I should be that the p value is indeed the same for all measurements. If it helps, the actual data is 314 successes out of 5334 trials 613 successes out of...
so here's my problem, I have to simulate a random walk without drift: $$ y_t = y_{t-1} + \epsilon_t $$ (with $\epsilon_t$ being a Gaussian white noise). Then I have to estimate this equation: $$ y_t = \alpha + \rho y_{t-1} + u_t $$ and finally test the null hypothesis (unit root test) $ \quad H_0 : \rho = 1 \quad $ vs...
I run a regression of $y$ on lagged $x$ and a constant from time t till time T: $y_t=\alpha+\beta x_{t-1}$ The $R^2$ is 1%. I then run the same regression over rolling window, from time 1 till time $t, t+1,...,T$. I store the coefficients and compute forecasts of $y_{t},...,y_T$ as fitted values. I then regress the act...
I have a pretty straightforward question. I have a database of user/item ratings from which I've built a latent factor model of the form: $$R_{u,i} = \alpha + \beta_i + \beta_u + \gamma_i * \gamma_u$$ Nothing too complicated yet. $\alpha$ is a global offset, $\beta_i$ is an item-specific bias, $\beta_u$ is a user-speci...
I am trying to understand some basic probability concepts, so I am writing up my understanding here and would appreciate feedback on anything wrong so I can learn from it. Classic Roulette example: guy witnesses black come up 5 times he bets on red thinking it is more likely he is wrong because of gambler's fallacy I...
"An urn contains 80 marbles, of which 60% are red and 40% are white. Out of 50 samples of 20 marbles, each selected with replacement from the urn, how many samples can be expected to consist of (a) equal numbers of red and white marbles?" I did it and got my answer = 9, but the correct answer is 6. My insight: Since ev...
For the level-log model $$y = \beta_0+ \beta_1\log(x),$$ I know the interpretation is If we increase $x$ by one percent, we expect $y$ to increase by $\beta_1/100$ units of $y$. So, my questions are If $y$ is a percentage variable, what is the correct interpretation of the resulting regression? Is it still the same ...
I want to design something. In the process of the design I face a variable that is random and unknown to me. Using machine learning methods (e.g. Bayesian learning) I managed to find the probability density function (pdf) of this variable. Now I have a general question. What can I do with this pdf and what usually peop...
We define Likelihood as follows: $$ \mathcal{L}(\theta | X) = \prod P(x_{i}|\theta) $$ Question: How to assume the probability function $P$, specially in case of complex dataset? I understand that if we are doing a Coin Toss, I can assume $P$ to be Bernoulli. But what if my dataset is complex (ex: financial data, flu c...
As you're likely aware, predicting survivors from the Titanic disaster has been turned into an educational data science challenge on Kaggle.com. A few "competitors" have perfect scores, presumably due to using actual historical records. Whatever. But then there is a tier of competitors with scores hovering around 88% a...
I am trying to understand impact of Global Liquidity using times series data (quarterly) for 20 years. Some of the variables in the data (such as GDP, Broad Money Supply M3, Net Capital Inflows as % of GDP) are not stationary or rather I(1). I checked for co-integration using johansen test and found that there exists ...
Suppose $(x_i,y_i)$ constitutes supervision data. Assume a collection of statistical methods which could be trained on one subset and ranked by their accuracy on another subset of this data (according to some loss function). But we are not going to train directly on $(x_i,y_i)$. Instead suppose $(x_k,y_k)$ is a differ...
I have a coarse and noisy image data taken from two different but geometrically similar samples (pixel size are all the same). I want to prove that there is a statistically significant differences between the images from the two samples. What I am thinking is calculating cross-correlation, and conducting t-test. Cross-...
Currently, I am modelling the results of game theory experiments where two parties negotiate to divide a fixed sum of money between themselves. Y is recorded as the percentage of the money which the first party takes (e.g. when Y = 40, the first party takes 40% and the second party is implied to take 60%). When applyin...
i am trying to translate this article into tflearn: http://iamtrask.github.io/2015/07/12/basic-python-network/ I have successfully created a linear neural network in tflearn: import numpy as np import tflearn X = [[0, 0, 1], [0, 1, 1], [1, 0, 1], [1, 1, 1]] Y = [[0, 1], [0, 1], [1, 0], [1, 0]]...
Are there any problems with using Item Response Theory models such as the Graded Response Model when the number of measures is small? I don't know if there are any asymptotic results that would make a Graded Response Model undesirable with such a small number of measures.
Apologies if this question has been asked before but I haven't come across any so far. I have been experimenting with Autoencoders using Keras and Theano as my back end based on the tutorial from this tutorial which has been going on well so far. So I have a high-dimensional (over 15K features) dataset as examples with...
Here is my understanding of scaling, "The main advantage of scaling is to avoid attributes in greater numeric ranges dominating those in smaller numeric ranges." Let's take k-nearest neighbours: If you are performing scaling to bring the measurements so the ranges are close, then I can see that there is an increase in ...
If the error term follows an exponential distribution, what would happen to our least square estimators? Are they still useful? Can you use exponential distribution and MLE to estimate the parameters? How would you compare the result from MLE with that from Least Square? UPDATE When we estimate parameters using MLE, we...
I've used scipy.odr to fit lines through each of the four scatter plots below. The function's Output includes the res_var attribute: the residual variance, which I've shown on each of the four panels. The fits look noisier for panels (b) and (d) than for (a) and (c). I am looking for some kind of significance test tha...
I am trying to run a binomial GLMM using the glmer command in R. It is not clear to me whether I need to first select the best model or if I should just report the p-values that I get with the summary(my.model) command. If I need to select the best model first, which is the best option in R to compare two binomial GLMM...
I want to find a stationary ARMA difference equation (i.e the ARMA coefficients) such that $\rho(1)=\frac23$, $\rho(2)=\frac16$ and $\rho(k)=0$ for all $k=3,4,...$, where $\rho$ is the auto correlation function. I would like to use Yule Walker equations, but I think they only apply to AR models. Any ideas?
I have fit a GLM poisson regression model. Then i detected overdispersion, which was the reason that I have decided to fit a Negative Binomial model: # oversidpersion check dispersiontest(poismodel, trafo = 0) dispersiontest(poismodel.t, trafo = 0) # there is evidence of overdispersion (c is estimated to be 18....
If there are 30 open seats on an airplane (12 aisle, ten window and eight middle), what is the probability that the next passenger will get an aisle seat? What is the probability that the next three passengers will get two aisle and one middle seat (in any order)?
Originally, my 42 participants were divided in two groups based on the language of the questionnaire they filled in. There are two dependent variables, Total number of option A and Total number of option B. I want to compare these two variables without making a distinction between language version. The paired sampl...
I was reading the book I came across the conditional probability. The statement is: Imagine a certain disease that affects 1 in every 10,000 people. And imagine that there is a test for this disease that gives the correct result (“diseased” if you have the disease, “nondiseased” if you don’t) 99% of the time. T...
I have two matrices $A_1$ of size $N\times K$ and $A_2$ of size $M\times K$ which contain data and every row has a corresponding label $y \in {1, 2, 3}$. I want to learn a mapping between those two matrices $A_1$ and $A_2$. Is it possible to do it using some machine learning technique? For example can I learn a Neural...
I just wanted to ask a simple question: what is the difference between certainty equivalent of a lottery F() and probability premium? They are both concepts in analyzing risk aversion, and I understand that the certainty equivalent c(F,u) is an amount of money x. But what about probability premium? The definition only ...
I have these variables in my data set: a categorical variables with 5 levels (Country) sex a continuous variable (grade) different continuous variables as dependent such as y1,y2,y3,...,y25 (I have 25 columns and each column is one dependent variable) Research question: I want to find the relationship between country...
I am working on Twitter dataset for emotion classification task. Often the tweets contain joined words. Some examples: #idontlikethis #worstdayever whatthehell Sometimes the words are intentionally joined where the user explicitly joins them in a hashtag (example 1 and 2 above). Sometimes they might be unintentional...
I'm beginning to study continuous random variable statistics and I'm having trouble to solve exercises, so I need help. I don't know how to apply definitions in this case. (Also, I'm not a native English speaker, so please correct or ignore grammatical mistakes if you see any of them). A disc of radius R has a dot som...
There is already an answer for that but it skips some mathematics, where I am getting stuck. I am reading Bishop's Pattern Recognition and Machine Learning. In Bishop's Pattern Recognition and Machine Learning (page 73, chapter 2.1.) there is a formula: $$p(x=1|\mathcal{D})=\int_0^1 p(x=1|\mu)p(\mu|\mathcal{D})\text{...
I'm trying to ascertain which portions of my social networking web app are driving user retention (so I can fine tune my site). Step 1 (in my view) is to do an inference on what predictors are correlated to user retention. I'm taking the linear regression route for this. Consider that my web app has 3 sections: A1, A2 ...
I am in the process of performing my first ever cross-validation. Yay. Anyways, I am starting off with hold-out cross validation: I split it 50/50, and then I fit on one half, test on the other. Question 1: Is 50/50 an appropiate split? Question 2: How many times should I repeat this? Question 3: If I do repeat it mo...
For a prospective study of parameters affecting student's success in graduate school I am looking at a population of about 1500 med students. I have performed a cluster analysis (using Gower's universal similarity index and average linking) showing that students fall into 3 main groups (at ~ 0.2), each with several sub...
I have the following problem and I would appreciate any help you could offer. The quantity I'm interested in ($p$) is a proportion and let's say that in my whole population it follows a mixture of beta distributions $$ p \sim \phi \mathrm{Beta}(\alpha_1 , \beta_1) + (1 - \phi) \mathrm{Beta}(\alpha_2, \beta_2)$$ Based ...
Background I have vehicle dynamics data collected over time. For example, my data set contains speed, steering angle, accelerator pedal position, etc. (more than 100 variables) for 50 different drivers who drove on the same road segment. I consider these as multivariate time series because of the sequential nature and ...
I have separate training and test tests normally. When I train my logistic regression model and use it to predict the target class in the test set, the AUC value is 0.75. Below is the python code: X_train = sklearn.preprocessing.StandardScaler().fit_transform(X_train) X_test = sklearn.preprocessing.StandardScaler()...
Edit: The question is whether or not this methodology is valid, assuming both underlying distributions are normal. Data: A time series of difference data (e.g. Distribution 1 value - Distribution 2 value), where higher values are better. Goal: To determine if a newly observed difference is significantly higher or lower...
I'm trying to check wheter my math is in order with my intuition: Let say i have a random variable $Z \sim Uniform(0,1)$: If i want to compute: $E[Z \mid Z < a]$ whereas "$E$" is expectation and $0<a<1$: My intuition tells me that this expectation would be $\frac{a}{2}$ and the math behind is: Using Bayes theorem i sho...
Currently I am reviewing first- and second-degree stochastic dominance. Suppose that we have two uniform distributions $$F^1(y) = \frac{y - a_1}{b_1 - a_1}$$ and $$F^2(y) = \frac{y - a_2}{b_2 - a_2}$$ and we only know that $a_1 < a_2$ and $b_2 < b_1$. Based on that information alone, can we retrieve some information c...
Consider two random variables. Consider that for each random variable, n observations are drawn from the population. That is, suppose x is a vector, and it contains randomly drawn observations $x_{1}$, $x_{2}$, ..., $x_{n}$. y is defined similarly. Here the bold type font (x) is used to denote that the random variable ...
I would like to find the pdf for the $n-1$ interarrival times $w$ of $n$ iid events from an exponential distribution of time constant $\tau$. Using the fact that the first event follows an exponential distribution of time constant $\tau/n$, and using memorylessness, I can show that the pdf for interarrival time $j$ is...
The challenge is finding the optimal state representation and setting the rewards. The game: there are n stacks of (playing) cards, which can each be filled up with at most h cards. There is a certain schedule of unique cards which are to stacked and retrieved in a predefined order. For example, card_a must be stacked...
I would be very grateful for any suggestions and help regarding the creation of a linear mixed model with lmer4 package and the lmer function. I have created an experiment which randomly assigned participants into 8 different conditions. Each condition presented a short video with an actor. The actors were varying in t...
I am a conducting a four group randomized survey-based study. In the first group, I explain a situation, and then ask respondents their willingness from 1-10 to take a medication. In the second group, I explain a situation, and then ask the respondents their willingness from 1-10 to take a medication. The same repeats ...
A GLM looks like $$g(\mu) = X\beta,\ \ \mu = EY_i$$ where $Y_i$ is an exponential family. It is commonly assumed for a decent sample size that $\beta$ is approximately normal with mean $\hat{\beta}$ and variance equal to the estimated covariance-matrix. Question: Is this similarly valid for the same model, except where...
It is inherently impossible to know the probability distributions of random variables we might encounter in the "wild" -- that is the reason why researchers have to take samples. However, since the underlying distribution is inherently a "black box", it seems like an ideal analysis would make as few assumptions about i...
I've got 3 trials, A, B, C. These test drug X vs placebo, giving an HR for benefit of survival vs. placebo. There is a dichotomous subgroup analysis, for clarity let's say patients > 50 years old, and patients < 50 years old. Trial A quoted that patients > 50 years old benefit, but < 50 years old do not. It lists a HR ...
I'm working on a computational biology project, and my professor has given me data for over 1,000 enzymes (represented by a numerical index), namely average solubility, count (number of enzymes of each type), and standard deviation. I'm having some trouble determining how to best graphically summarize this data. My pr...
using the dataset CO2 as an example. After I find the regression lines of uptake and Plant (a factor with 12 levels) lm(uptake ~ Plant, data = CO2) Call: lm(formula = uptake ~ Plant, data = CO2) Coefficients: (Intercept) Plant.L Plant.Q 27.21310 -22.94230 -4.61669 Plant.C Plant^4 ...
I am currently trying to forecast the delivery of cash to branches. The problem I face is that there are a few days, as well as most Sundays, in which there are no deliveries. Hence, in the time series for those dates I have zeroes. I am using a years worth of data for the training set and wish to apply the forecast to...
Consider the following density function: $$ f(x; a,b) = \frac{(1-a)b}{2a x^2}$$ where $a$ and $b$ cannot be separately identified. Now suppose that given my data, I can restrict $a$ to two possible values $a_1$ or $a_2$. Is it then permissible to do the following: Fix $a = a_1$, estimate $b(a_1)$ with ML and store $\l...
For a university project, we were required to code our own Parallel Tempering Algorithm and use it to solve an Inverse Problem with 4 Parameters. Unfortunately, I'm not sure if I'm too stupid or have something completely mixed up. The PT Algorithm should return an estimate of the Marginal Posterior Likelihood, which i...
I am solving a problem where the life expectancy of a microorganism can be modeled as having the PDF: $ f(x)= \left\{ \begin{array}{ll} kx^{-3} & x\geq 1 \\ 0 & x \lt 1 \\ \end{array} \right. $ Where $k=2$. I've calculated the average to be 2 hours, but when I try to calculate the variance as: $$\sigma^2=\...
This line returns the first 4 rows in the dataframe combined for feature_a combined.iloc[0:4]["feature_a"] As expected, this next line returns the 2nd, 4th, and 16th rows in the dataframe for column feature_a: combined.iloc[[1,3,15]]["feature_a"] This line sets the first 4 rows in the dataframe for feature_a to 77. c...
I have sampled 8 bags of a certain brand of candy to compare the color distributions of the candies. I have 4 bags for each size of bag, 8 oz and 1.9 lb. The bags were paired randomly. Here are my hypotheses: $\ \ \ \ H_0: The \ distribution \ of \ each \ color \ of \ candies \ is \ equal \ in \ all \ sizes \ of \ bags...
I could not seem to find a specific answer to my question through searching, so I thought I'd post it. I am doing an ANOVA and I have a significant three-way interaction, each factor has only 2 levels, though. Is the Tukey HSD command in R software appropriate to tell where the differences are-- or do I need to do a s...
I know that DPMM is a non-parametric Bayesian clustering model which can automatically determine the number of clusters based on data. However, which kind of clusters does the model find? For example, I have one dataset which contains 4 dimensions. I use the DPMM to cluster this dataset based on original values, then I...
I know the difference between Precision and Recall metrics in Machine Learning. One optimizes on False Positives and other on False Negative. In Statistics it is called as optimizing on Type I or Type II error. However, I am a but confused on under what circumstances one can get complete opposite Precision and Recall?...
I have fitted a model $$g(\mu) = X\beta, \ \mu = EY_i, \ Y \sim T(\nu, \mu, \sigma)$$ where $T$ is a scaled and shifted t-distribution. This model was fitted in R (I use gam from mgcv), and pearson residuals were obtained. The normal qqplot looks fantastic ..... ...... but is this what I should be doing? Should my mod...
Is a stationary process necessarily ARMA? Can anyone please explain why?
A car accident occurs and of the 5 witnesses, 4 of them saw a green car, and 1 of them saw a yellow car. In the universe, $85\%$ of cars are yellow and $15\%$ of cars are green. Witnesses report correctly $2/3$ time. What is the probability that the car is green? So I'm trying to figure out $P(G \mid D)$ where $G$ is...
I don't understand why my answer is wrong. My understand of likelihood is the P ( Data | model). For example, if the model is that a coin is fair, and the coin was flipped 10 times and came up heads 6 times, then the likelihood is (some binomial distribution math goes here... unsure what it is actually... I think it's...
I am doing multiple linear regression. I was directed to this question on how to solve MLR as a sequence of simple linear regressions, Question on how to normalize regression coefficient and I understand this result. However I have also been told that Moore-Penrose Pseudo Inverse can be used for MLR. In doing so I...
I'm trying to solve the following problem, I want to classify each row of a particular machine log to output only interesting information such as relevant/non-relevant.I have collected a dataset from such logs and I created a bag of words with ~11000 features.I'm trying to figure out what would be the best approach her...
I have series that shows that it requires differencing as the lag-1 value of ACF is almost equal to 1 and there is no significant spike in PACF. However, if I do not difference it for some reason and model it as ARMA (1, 1) process. I get the following result. Series: ret ARIMA(1,0,1) with non-zero mean Coefficie...
If we generated random number from Normal Distribution N(0,1) that is always positive by using Uniform Dist from 0.5 to 1, Is it still follow normal distribution the data that we are generated?
Consider the independent $n\times p$ dimensional matrices $\mathbf{X}_i, i=1,...,G$, from the matrix variate normal distribution, $N_{n,p}\left(0,\mathbf{I}_n, \mathbf{\Sigma}_i\right)$: $$P_i\left(\mathbf{X}_i\right)\propto \exp\left[\operatorname{tr}\mathbf{X}_i\mathbf{\Sigma}_i^{-1}\mathbf{X}_i^{T}\right],$$ where $...
I need to rank a set of things belonging to different kind (models) based on a list of performance metrics. For thing of each model, I have the aggregated value ( mean) of let's say 4 metrics and each metric of the same importance (weight). So I have the aggregated results for each model for each metric over many exper...
Assume $X_1$ .. $X_n$ ~ iid beta($\theta$,1) I'm supposed to construct a Maximum likelihood ratio test for: $H_0$: $\theta$ = $\theta_0$ $H_1$: $\theta$ != $\theta_0$ But I'm stuck at the last step of simplifying the rejection region. My steps are as follows: 1) Obtain the MLE (skipping derivation) $$\theta_{mle} = ...
I am in the machine learning business for a long time, but still, this fundamental fact gets me confused, since every paper, article and/or book describe different kind of usages for validation and test sets. I aim to set my mind at ease forever on this issue: Let's say I have a relatively small Convolutional Neural N...