instruction
stringlengths
9
38.7k
I am running a logistic regression and I have run a box Tidwell test which seems to suggest that two of the IVs that I have in my model are non-linear. I have attempted to fit restricted cubic splines to the terms using Frank Harrell's HMISC/RMS packages. However, for one of the terms I get the following error message:...
I have 183 percentages based on the accuracy of a price prediction. (If I predict something will sell at 100, and it sells at 100, then I have sold at 100% of the prediction.) 16 times, the percentage was < 85%. I would like to know how to determine the probability of 100% of the percentages from another similar pop...
The central limit theorems state roughly that under a certain set of properties of a sampling process, the distribution of a statistic from that sample will converge in distribution to the normal distribution. As the canonical example, let me take the basic central limit theorem: If we take i.i.d. samples $X_1,X_2...$ ...
I have a made up scenario that involves sampling from a factory that makes foot-long hot dogs. The 3 teams that make the hot dogs are graded on their ability to make foot-long hot dogs. A previous 100% quality control study found that the teams' accuracy is around 90%. The owner of the factory does not want to do 100...
Fitting neural nets with L2 penalization, I've noticed that I often attain lower in-sample mean-squared errors with higher rates of L2 "weight decay", then I do with lower rates of L2 weight decay. Say I train a network to convergence using a small $\lambda$ -- say $2^{-8}$ -- save the weights and then use them to i...
I'm going through some trouble to understand how to translate my experimental design into a mixed model. The idea is to compare the sources of variance in a method of measurement. The design is as follows: we took 3 samples, each sample went through 3 different treatments (not the same 3 for each sample - this is a bio...
I miss some very basic distinction between cross-validations used for parameter tuning and cross-validation used for calculating the performance of my algorithms (RMSE). I have two functions: one performs grid search and the other calculates cross-validated RMSE. def grid_search(clf, param_grid, x_train, y_train, kf): ...
I have been googling for a while to find an answer to this question. I am sure there is plenty of information somewhere but, I don't know why, I really can't find it. Suppose that you have two estimatesof a certain parameter from two independent studies. For instance, the slope of the regression of y (e.g. body mass of...
Given a space $\Omega $ with 2 sets $X\subseteq \Omega $ and $Y\subseteq \Omega $, how can I define a kernel $k(X,Y)=|X\cup Y|$? I know that I can define a kernel $k_1(X,Y)=|X\cap Y|$ by setting $k_1(X,Y)=\langle\Phi_1(X),\Phi_1(Y)\rangle$ with $\Phi_1(X)$ as an indicator vector over the space $\mathbb{R}^{|\Omega|}$. ...
I don't seem to understand how to estimate the unbiased covariance of a big dataset, $X_{n,p}$. Suppose this dataset is to large to fit in memory: I have a billion samples in a moderate number of dimensions, say p=8. My intuition says that the following naive strategy might be used to solve the problem: 1) Partition t...
I have two datasets, each dataset is a pool of samples, and each sample contains multiple observations. Data-wise, we can represent one sample as a vector of floats, and a dataset as a matrix where each row is a sample. I would like to find a transform to project the first dataset into the "space" of the second dataset...
I'm newbie in machine learning and trying to understand neural network. I know how logistic regression works and on this basis I try to understand how the neural network works. I'm trying to grasp intuitively how NN works. Could you check, please, if I understand correctly: neural network it's roughly saying just ext...
I have a dataset with 20 rows and 480 columns. When I run plsr command with validation="LOO" my output shows RMSEP or CV is increasing with number of components and stabilizing after 6 components. My impression is that RMSEP should decrease. Confused! Help!
In Keras there is an option to set the validation set batch_size to one: valid_batches = ImageDataGenerator().flow_from_directory(valid_path, ... batch_size=1) Is it correct that the model then just uses one object from the validation data to validate the model after each training data epoch? If that is the case my mo...
I'm reading Mostly Harmless Econometrics (Available here), and on page 100 they say that 2SLS with dummy instruments is the same as GLS on a set of group means. I don't understand why. From the previous chapters, I got how instrumental variables work in general, but im struggling to differentiate between the Wald Estim...
I am new to linear programming and I am currently trying to convert a general LP problem to standard form. The general form the problem is as follows: I have the following objective function, in which I am supposed to minimize for $x\in\mathbb{R}^2$: $z=2x_1 +5x_2$ such that $x_1 \geq 5$ $x_1 + x_2\leq 9$ $-2x_1 + x_2 ...
We have a data where the cumulative incidence is around $10\%$ (i.e. $P(Y=1)=0.1$). But when we use a logistic regression (in fact, LASSO), find the predicted probabilities and plot a histogram of the predicted probabilities, it centers around $50\%-60\%$. Is the distribution of the predicted probabilities not going t...
For each batch I update the discriminator first, and then the combined generator/discriminator together. I noticed that if I make two updates to the discriminator, one for the generated data and one for the training data the system works fine. d_loss_real = discriminator.train_on_batch(real_images, real_labe...
I'm testing the effect of soil treatments on root and shoot length of seeds of a species. However the seeds had different sizes, which may affect root and shoot development. I have a measure of the area (in cm²) occupied by the nut in the seed that could be considered as a proxy for seed size. I'm thinking about using ...
I'm self-studying a textbook (Larsen and Marx) (not for course credit) and wanted to post my solution to a problem related to conditional probability. Given: $$ \begin{align} &P((A \cup B)^C) = 0.6 \\ &P(A \cap B) = 0.1 \\ &E = A\ xor\ B\ \text{(A or B but not both)} \end{align} $$ Find $P(E\ |\ A \cup B)$ Below is my...
Question: Estimate the error rate of the one-nearest-neighbor (1-NN) classifier for this problem using leave-one-out cross validation. (That is, using S-fold cross validation with S equal to the number of training cases, in which each training case is predicted using all the other training cases.) Could someone walk m...
Reading about bayesian graphical models, I have come up with an example that I don't really know how to best adress. Let me start with some prose on what I am thinking about, and then get to the problem of how to infer. Suppose you have meeting room in an office building. There is a sign at the door, that users of this...
I've done some experiments to understand the influence of the dimension of the latent space in a VAE, and it seems that the higher the space, the harder it is to generate realistic images. I might have an intuition of the reason, and I wanted to have your opinion or any other theoretical insight about it. First, what I...
If I have a sample of size n and the sample mean Xbar, sample covariance matrix S and inverse of covariance matrix, S^-1. How do I update the formula for each to add a new observation, say, X(n+1)? Sample mean and S should be easy. But I'm wondering how to update the formula for S^-1 using just these...
Let us say i have salary information of 100 male employees and 100 female employees. I compute the averages and the average male salary is higher than the average female salary. Based on this, can we say that males earn more than females? Or do i need to form a null and alternative hypothesis and carry out hypothesis t...
Suppose you have data that you know to be well-fit by a GLM with a specified link and variance function. You would like to estimate that model. However, you do not have access to the data; instead, you have the results from a quantile regression on the same data using the same independent variables. An alternative fra...
If I have a sparse dataset with very few points, which regularization scheme should I use? That is, I have a dataset with only 10 points. Are there regularizers that would help me in this situation?
I have some data for a Gyms usage over the last 5 years. The data consists of datetime stamp, the number of people in the gym at that time and date, and the weather (e.g. temperature and if it was precipitating). I'm tasked with determining if rain discourages people from coming to the gym. It isn't so clear to me ho...
To get: $E[X|X\leq q]$. Why it is in the following form? assuming X's pdf is $f(x)$. $\frac{\int_{x\leq q}xf(x)dx}{\int_{x\leq q}f(x)dx}$
I am very new to using the quantile regression (since I deal with heteroskedasticity). In my case, I estimate a quantile regression on three quantiles namely 0.10, 0.50 and 0.90 to model the effect of some explanatory variables (years of schooling, job experiences, education types, etc.) on worker's earnings. I have t...
I am looking for a library, script or program that can normalize the transcribed and gold texts when computing the word error rate (WER) of an automated speech recognition system. For example, if: the gold transcript is Without the dataset the article is useless the predicted transcript is Without the data set the ar...
I've been introduced to the Caret package for performing analysis and I'm a little confused about one of the operations performed by preProcess. Say I have a dataset df which consists of two columns a & b. a is a continuous column and b is a binary 1,0. Now, using carets pre-process function, I can choose to center & ...
I'm solving the following homework task: There are 2 bins: A and B, and the probability for a ball to be placed in the bin A is 30% higher than in the bin B. 15 balls are being independently distributed among the bins. What is the probability that exactly 10 balls are put in the same bin? Here is my solution: P(A) + P(...
Its a competitive exam question I know the Poisson pdf and how to find its expectation. and also know that E[(X+1)(X)(X-1)..(2)(1)]=E[(X+1)!] But then I really cannot proceed any further..I am stuck with this factorial part.. cant understand what to do with it! Please help.
In principal component analysis there is no prior restriction on which variables are included in a component. I wonder if there is a method which has such a restriction. That is, if the original variables are $X_1,...,X_p$, I want to use only $X_1,...,X_i$ for the first component, $X_j,...X_m$ for the second, etc. Th...
To my understading what a 1x1 convolution does is gives an embedding of the (i,j)th entry of the feature map along its depth. Besides here some dimensionality reduction is also done. How will the scenario change when we have 5x5 or 3x3 convolution done followed by a 1x1 convolution. I know that the number of computati...
I have run Friedmans Tests on Likert Scale data sets. This has allowed me to report on the mean ranks of 8 attributes that are important to individuals when deciding to adopt specialist teaching practices. 1 is not important at all to 5 being highly important. Friedman's says it is significant, and the mean rankings ...
I am currently analysing a small dataset (see sample data below) using lmertree. My code: a <-lmertree(Percent ~ 1 | AREA | A + B, data=sample_data) plot(a, which = "tree") The lmertree result (plot) I have 3 questions: I tried getting the confidence intervals of the split values (39.494 & 0.397) with the package "...
Assume we have an Hidden Markov Model: h1 -> h2 -> h3 -> h4 | | | | v v v v x1 x2 x3 x4 with Markov Property (can be read from the graph), e.g. $p(h_3 | h_1, h_2, x_{1:4}) = p(h_3 | h_2, x_{1:4})$ In the literature (e.g. K. Murphy) you find that an HMM must have local features (on...
This is a purely explorative question. I asked a question here about a "central limit theorem" for random variables with infinite variance. I did not expect it, but it turns out that even some random variables with infinite variance nevertheless converge in distribution to a "stable distribution" (although not the norm...
I am inverting a sparse, symmetric, ill-conditioned matrix. I have used both SVD and the LDL decomposition. I find that my results are better with the latter. Why? I understand that LDL decomposition works only on symmetric matrices. But that doesn't necessarily say why it works better than a "more general" algorithm....
I came across with this r package 'sbfc'. It appears very interesting as they talk about Bayesian Forest and it competes with random forest performance. If someone can walk me through this package with examples and explanation that would be very helpful to the community including me.
According to wiki, covariance is a measure of the joint variability of two random variables. Isnt Xt+h one particular value and Xt another value.. So what does it mean when you say covariance between these two values?
I apply L1-norm as a group sparsity constraint [1,2] into non-negative matrix factorization $V \approx WH$ for source separation. Objective functions: Standard NMF (Kullback-Leibler divergence): $D_{kl}(W,H,\pi)$ $= \sum_{ij} (-V_{ij} \sum_{k} \pi_{ijk} log \frac{W_{ik}H_{kj}}{\pi_{ijk}} + \sum_{k}W_{ik}H_{kj})$ L1-re...
I have abundance data for a species of bird and data on land use type in the areas where the bird data was collected. I want to test whether land use type affects bird abundance but I don't know what type of statistical analyses I should use for this. I know the question is very general, but any starting pointers would...
Specifically I have to determine to what extend the prices of some houses in one year can be predicted from the prices of some houses in a previous year. The data set is split up into houses of various types. I have made numerical summaries of each set of data in each year and have made normal quantile plots for each t...
I know that bigger batch size gives more accurate results, but I'm not sure which batch size is ideal given the following cases: Training on 65000 examples and validating on 13000 examples Training on 50000 examples and validating on 25000 examples Training on 71000 examples and validating on 4200 examples Training on...
I'm reading articles in high dimensional data. I didn't saw the definition of ratio-consistent estimator in any other field. But as in Chen an Qin's article to showing a estimator is consistent we should show: $$ E[\hat{\theta}] = \theta\Big(1+o(1)\Big)\quad \text{and}\quad \mathrm{var}\Big(\hat{(\theta)}\Big)= o(\the...
In the frame of linear regression, how do I get the variance estimation using least squares as tool of building an estimator. I mean: in the case I want to get the LS estimation of the beta's I know I have to minimize the sum of squares of the residuals. But what about the way to get to the variance which I know is: $\...
I have a time series that is quite erratic, having lots of small increases and then large drops. I want to see if the mean is statistically significantly different to zero. Using a t-test, I get a p-value of around 0.6, but using a wilcoxon ranksum test I get a p value of 0.0001. How is this possible? I think the p-v...
ggridges does a nice job of visualizing the change in a distribution over time. df <- read.csv('https://raw.githubusercontent.com/bdetweiler/bdetweiler.github.io/master/data/sample.csv') df %>% ggplot(aes(x = age, y = year, group = year)) + geom_density_ridges() Clearly the data is becoming less concentrated a...
Suppose I have a set of predictors for a regression problem. I know some of them maybe useless, but I am not sure. So, I build multiple versions of predictor set, that each version contains/not contains some of the predictors that I am not sure about. Then, for each version, I use cross-validation (CV) to tune a same l...
I have created composite variables after a factor analysis. The original variables were categorical (levels 1-7) and the composites were created by averaging the items loading into each factor. I decided to round the new variables resulting from the averages to the nearest units. It seemed logical, as the original vari...
Why is it that interval scales allow for addition/subtraction, but not multiplication/division? If multiplication is just repeated addition (ditto for subtraction/division), why is it that interval scales only allow for the former pair of operations? I'd appreciate it if anyone could help me wrap my head around this. T...
I trained some CNN model for license plate recognition using stacked LSTM and convolutional layers, but I got stuck in %88 accuracy. (This accuracy is on the whole license plate not one character). For training my model I used categorical cross entropy. After some search I have found that a good loss function for imag...
I am trying to fit a gamma distribution to the failure time of a kind of bulb. I have 40 data. However only half of them are actually the failure time. The result 20 are times those bulbs being used (but they haven't failed yet). How can I fit a gamma distribution to all the data I have?
im reading a stats-book (ftp://nozdr.ru/biblio/kolxo3/G/GL/Angrist%20J.D.,%20Pischke%20J.-S.%20Mostly%20Harmless%20Econometrics%20(PUP,%202008)(ISBN%20069112034X)(O)(290s)GL.pdf), where on page 146 they tackle the question if peer effects can be investigated by regressing individual properties (high school graduation) ...
I am reading some Mahchine learning lecture notes, and the writer is introducing Maximum Likelihood (ML) method of parameter estimation of $\theta$ as $\text{argmax}_{\theta}Pr_{\theta}(x|H)$ where $H$ is a hypothesis and $Pr(x|H)$ is the likelihood of the observation. Now later on, when he introduced the mixture of ...
What are the real and practical differences between the student t distribution and the Cauchy distribution? The results I get when I use them as priors in Bayesian linear models appear to be interchangeable.
Previous to starting a deep learning project, is it meaningful to do statistical power analysis for the resulting evaluation metrics to test, given a model and sample size? I have not seen this in any publication in the field, as most machine learning classification publications just spit out a result (accuracy, or s...
We know that if X1 and X2 are normally distributed random variables, then a linear combination Z = aX1 + bX2 will be normally distributed. IS there a proof for the converse, i.e. if Z = aX1 + bX2 is normally distributed, then X1 and X2 have a bivariate normal distribution (in this case, X1 and X2 are just two random v...
This is probably a weird question for this forum, but you may have some insight or an answer. My question is simply this: Is it possible to have a three-way correlation? And is it possible to have a meaningless three-way correlation where meaningful two-way correlations exist for all combinations? What I mean by a t...
The requirements of the project is to cluster the dataset (using k-means) and then remove the outliers (using MAD) from each of the cluster. However, I don't feel that it make sense to do that. I think outliers should be removed from the dataset first and then do the clustering. I'm really new to k-means and machine le...
I would like some help proving the following result. If $\hat{y_{i}} = \hat{\beta_{0}} + \hat{\beta_{1}} X_{1i} + \hat{\beta_{2}} X_{1i}^{2}$, then $\sum_{i=1}^{n} y_{i}(y_{i} - \hat{\beta_{0}} - \hat{\beta_{1}} X_{1i} - \hat{\beta_{2}} X_{1i}^{2})/n$ $\geq 0$. The only route that I can think to go down is to obtain th...
The Current Population Survey’s Annual Social and Economic Supplement (abbreviated, oddly, as ASEC) is the USA’s longest running and most detailed annual survey of income and employment. Along with its microdata, it includes 160 replicate weights. Instructions for use on the Census website say to estimate the statistic...
In Linear Regression models, given observed variables $x_1, x_2, x_3, ..., x_k$, unobserved (or predicted) variable $y$, and model parameters $\beta_0, \beta_1, \beta_2, \beta_3, ..., \beta_k$, it can be written as $$ y = \beta_0 + \beta_1x_1 + \beta_2x_2 + ... + \beta_kx_k + \epsilon $$ where, $\epsilon$ is the noise ...
I'm studying Statistical Estimation and Detection, so it's important for me to understand this. I've been going through this paper which claims to relate an image pixel intensity y to the row and column positions of the pixel, and by analyzing the variances and having a null hypothesis with no noise and an alternate ...
Like in contamination models, some distributions have discrete component. e.g. $p(x) := (1 - \epsilon) q(x) + \epsilon \delta_{x_0}(x)$ In these distributions, is there a way to justify a definition of KL divergence? e.g. $D(p_1 || p_2) = D((1 - \epsilon_1) q_1(x) || (1 - \epsilon_2) q_2(x)) + \epsilon_1 \log \frac{\ep...
In red wine dataset, there are 11 features such as acid, pH and one target(quality). Using those features to predict the quality score of the red wine. I want to choose the most important features to compose my design matrix. So I calculate the correlation between every feature and target, choosing 6 features which has...
I found data that indicate the vaccination coverage of a given vaccine in Italy in year 2014. These data are calculated per 100 inhabitants and in %. What does "per 100 inhabitants" mean? If I wanted to compare this data with other data that are instead calculated for 1000 inhabitants, should I first process them? If ...
Books wrote a lot about invariance definition and method to obtain invariance estimators, tests, and etc. However I couldn't find exactly the definition of principle of invariance. Is there any good source of clear definition of this principle?
I know that the mean would increase by 3 points. I just want a statistical(mathematical) approach.
Regression to the mean is a statistical phenomenon where in the long run, the results of an experiment average out. Taking the example of one's results on a test, if we've had a string of good outcomes, then the next result is likely to be less satisfactory because things even out, right? If so, how can the probability...
I am wondering if I can use Chauvenet's criterion for a dataset of 240 measurements of one y variables in order to detect outliers. I assume that the ys have a nonlinear relationship in parameters with about 12 x-variables. In general I did not quite understand on which y data the criterion is performed. Would you per...
This is an exercise I am stuck on. Given an IID sample $X_1, \dots, X_n \sim N(\mu, \sigma^2)$ with $\mu \ne 0$ let $$S_n^2 = \frac{1}{n} \sum_{i = 1}^n ( X_i - \overline{X_n})^2$$ be the sample variance and $\overline{X_n}$ the sample mean. I am tasked in finding the asymptotic distribution of $S_n^2$ using the second...
I have a data-set where customers reported their numeric preference for a sized product, comprised of ~600 samples with 15 different products. The data-set also includes 10 other numeric features, used to predict the size for each product. Sample size per product isn't huge, and ranges between 25-50. Each product behav...
In my understanding, each hidden layer in neural network extract the implicit information of the features. So, can we know what kind of information does hidden layers process and how to understand them?
Suppose I have a text like below which usually have 2/3 sentences and 100-200 characters. Johny bought milk of 50 dollars from walmart. Now he has left only 20 dollars. I want to extract Person Name: Johny Spent: 50 dollars Money left: 20 dollars. Spent where: Walmart. I have gone through lots of material on Recurrent...
I'm trying to answer a question about expectations. Let's say I have a random variable, $X$, which is distributed $Expo(\lambda)$. Now assume that $\lambda$ is also an R.V. and is distributed $Expo(5)$. How do I find $E(X)$? Assume that I don't need to do this analytically, I can use the integrate command in R, for ins...
Let's say $x$ is a random variable drawn from a normally distributed population with mean $\mu$ and variance $\sigma^2$. Then we can write $x$ in terms of $\mu$ and a random error component $\epsilon$ as: $$ x = \mu + \epsilon $$ Can someone explain (or point me to some resources) which proves this. More specifically, ...
Apologies if this question has been asked before, but I could not find very relevant topics. I am working with proteomic data (40 proteins, 800 instances) where the outcome variable is binary (presence or absence of a disease). The question is very simple: build the best classification model and find the subset of the ...
for the parametrization of a model from experimental data I want to estimate the variance of samples to weight them correctly. Because of restrictions of the underlying process (a chemical reaction), some of these samples may only contain only one data point. Even though these values are quite uncertain, they may conta...
I'm testing whether sugar consumption is making my stomach upset, with an unknown lag. My basic plan is: Get 7 sugarfree and 7 regular, or 'sugarfull' Grape Powerades Label 14 paper bags with consecutive dates, and have someone else secretly put them into the bags in consecutive pairs So day 1 and day 2 will be the s...
I'm doing mediation analysis using hierarchical regression, using Baron and Kenny's 4 steps. I have one IV (mental health stereotype activation), one mediator (rejection expectation), and one DV (comfort with disclosure). Path c (IV -> DV) is significant, Path a (IV -> M) is significant, and Path b (M -> DV) is signi...
What % is the best train/test split for Time Series Data? Do you think it is still 70/30 ? I am talking about leaving a whole continuous period (in the beginning or in the end) for TEST. I have two intuitive assumptions: For Time Series Data it is better that the split is more weighted towards the train data because...
Length – Weight Relationships (LWR) are widely used in fisheries studies; weight and length are recorded, log transformed (e or 10), then the linear regression equation of log weight ~ log length derived. This equation can be used in future studies to estimate weight when only length is known. I've an abundant fish spe...
During chemical analysis in our labs the analysts found a variation between the measured standardization lines. This variation led to doubts concerning the quality of the measured standardization lines. These lines were fit to data using ordinary linear regression. How can I statistically prove that there is or isn't a...
I would like some suggestions to tackle the following problem. Given a system $y = X\beta$ where $y \in \mathcal{R}^m$, $X \in \mathcal{R}^{m \times n}$, $m\geq n$, and $\beta \in \mathcal{R}^n$, I want to estimate $\beta$. However, I have perturbations in both $y$ and $X$, i.e. I am given $y+\delta y = (X+\delta X)\ha...
I have to two datasets $X$ and $Y$ with binary observations on a regular grid. A regular contingency test for independence would be flawed by the presence of spatial autocorrelation. Cerioli (1997) proposed a correction of the test statistic $W$ as $$W = \frac{W}{1 + \hat{\lambda}}_n$$ where $\hat{\lambda}_n$ is deriv...
I am reading this paper on variational inference and this website. One thing I am confused about is how they get to decompose ELBO, where $ELBO(q) = E_q[log~p(z,x)] - E_q[log~q(z)]$, when focusing on one latent variable's variational distribution $q_j$ like this: $$ ELBO(q_j) = E_j[E_{-j}[log~p(z_j, z_{-j}, x)]] - E_j...
I asked a question here but I did a rather poor job of explaining my problem the question was poorly formed. If I have some histogram with $N_{total}$ number of total data points, and $N_{bins}$ number of bins. If I integrate across the maximum bin and the minimum bin, then I just get back $N_{total}$, likewise if I in...
I have access to aggregated data of a population for a 1,5 year period. I am interested in conducting an events study to check whether the implementation of a certain treatment will affect the behavior of my subjects. Since i do not have individual level data can i conduct a Diff in Diff analysis? If yes, could I set a...
Question summary This question pertains to analyzing dissimilarities between discrete state sequences (e.g., using TraMineR), more specifically to classifying new, previously unseen sequences based on the cluster solution from earlier analytical steps. What we have The analytical situation at hand is as follows: We ...
I have a problem with a time series. In short: How do I detrend a time series with a break and some big outliers? Long version: I want to detrend a time series into a trend and some cyclical components. The time series looks like this: and the values can be found here Using the augmented Dickey-Fuller-Test I get the f...
In the practice, there is a problem where the input can be a continuous line, like waveform, the output is also a continuous line, i.e., another waveform. In the sampling space, I can get 100 samples from waveform in the original continuous space. In other words, the problem can be transformed into finding the mapping ...
Is it possible to use a dataset with mixed variables such as continuous, ordered, and categorical variables and cluster the data using the Gaussian Mixed Model with EM algorithm. I cannot find anywhere if this is possible. Apologies if this seems like a obvious question but I cannot seem to find the answer online? Than...
If the dataset is too large to be entirely loaded into memory, how can we do linear regression with the dataset?
I wonder what is an intrinsic value of using harmonic mean (for instance to calculate F-measures), as opposed to weighted arithmetic mean in combining precision and recall? I am thinking that weighted arithmetic average could play the role of harmonic mean, or am I missing something?
Let $\varphi: \mathcal{X} \to \mathcal{H}$ a mapping with corresponding kernel $K:\mathcal{X}\times\mathcal{X}\to \mathbb{R}$ (that is, $K\left(x,x'\right) = \left<\varphi\left(x\right), \varphi\left(x'\right)\right>$), and consider the soft-SVM problem over the dataset $\left\lbrace x_i, y_i\right\rbrace_{i=1}^m$ $$ \...
In a classic DID model, the policy (or the treatment status) stay, once switched on, the same across the observation periods. That is, you have some units that are all untreated before the observation window. Then during the observation window, some received a treatment (the treatment status is 'on'), others stayed unt...