instruction
stringlengths
9
38.7k
I am looking for an example of 2 random variables $X$, $Y$ such that $$\newcommand{\cor}{{\rm cor}}|\cor(X,Y)| \approx 0 $$ but when consider the tail part of the distributions, they are highly correlated. (I try to avoid 'correlated' / 'correlation' for the tail because it might not be linear). Probably use this: $$|...
This is the first time I'm posting a question here. I have regularly been using the questions and answers here as example solutions for my problems, and searching has always helped me figure things out. So thanks for that :) But this time I think I'm starting to understand, but I am still not 100% sure of what to do, s...
My question is inspired by R's built-in exponential random number generator, the function rexp(). When trying to generate exponentially distributed random numbers, many textbooks recommend the inverse transform method as outlined in this Wikipedia page. I am aware that there are other methods to accomplish thi...
This seems like a trivial question but somehow I have not been able to locate a source that will state that $$P(A\cap B) = P(A,B)$$. Of course it is implied when conditional probabilities are stated as $$P(A|B)=\frac{P(A,B)}{P(B)}$$ and $$P(A|B)=\frac{P(A\cap B)}{P(B)}$$ I am missing anything? Thanks for advice and apo...
Suppose independent random variables, $X\sim Binom(n,\theta_1)$ and $Y\sim Binom(n,\theta_2)$, with observed $x$ and $y$. I'd like to find the MLE of $\theta$ under the joint likelihood $Pr(X=x,Y=y,X+Y=z)=Pr(X=x)Pr(Y=y)\mathbb1\{x+y=z\}$ subject to $\theta\leq c\in(0,1)$. Any thoughts on obtaining an analytical sol...
I am currently using sklearn OnevsRest classifier on a dataset. The observations of my datasets are describing actual mammals and the columns of the datasets are some mammals features. All mammals that are not felines are in class '0'. Different kind of felines are in classes from 1 to 4. When I compute the AUC for the...
I've recently been having trouble with this question on calculating confidence levels and am just wondering if anyone had any ideas on how to solve it. "A market research company conducted a telephone survey of 255 Chicago households to determine the proportion of households seeking to purchase a new car in the next tw...
Typically when one takes random sample averages of a distribution (with sample size greater than 30) one obtains a normal distribution centering around the mean value. However, I heard that the Cauchy distribution has no mean value. What distribution does one obtain then when obtaining sample means of the Cauchy distri...
I've datas as folllow: DF=structure(list(exp_code = structure(c(1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 20L, 21L, 22L, 23L, 24L, 25L, 26L, 27L, 28L, 29L, 30L, 31L, 32L, 33L, 34L, 35L, 36L, 37L, 38L, 39L, 40L, 1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L,...
I am looking to perform a 2-stage least-squares estimation with sparse matrices in R, in the style of Bramoulle et al (J. Econometrics 2009). Specifically, let: G be a very sparse block-diagonal matrix, roughly 63,000 x 63,000 X be a design matrix, not sparse but full of dummy variables (with the relevant excluded vari...
I'm trying to analyze dicodon usage in species: human, yeast, mouse, rat, and e coli. I have the frequencies and relative frequencies that each codon and dicodon appear in the respective genomes. I want to test to see if the dicodon frequency is random or not random based on the frequency of the codon. The basic log...
I've an unlimited amount of unlabelled data and an oracle that is able to label portions of this data using only two labels "1" or "0". I want to ask a few number of questions to the oracle and after a while I want to start to predict values with a certain confidence. Ideally I want to minimize the number of user inter...
I am trying to replicate a test in the Hosmer - Applied Logistic regression text (pp 289, 3rd ed) that uses a Multivariable Wald test to test the equality of coefficients across the 2 logits of a 3 category response multinomial model. I’d like to see whether (from a statistical standpoint) it is acceptable to collapse...
My linear model is showing a clear trend in the errors (red line is what it should be). So my high samples are being underestimated and my low samples are being overestimated. There's a clear linear relationship in the errors. How can I properly create a function that calibrates each prediction so that it better match...
I was designing a hypothesis test, using the likelihood ratio test, and I found out that, under $H_{0}$, the test statistic $\Lambda$ equals the same constant $k$ no matter what the observations may be. Does that mean that the rejection region is of the following form? $$ C=\{ x, \Lambda(x)<k\}$$
What is the difference between prior and marginal probabilities in layman terms? Do these concepts refer to the same thing, but in the different contexts?
I struggle with probably a very simple question. Is it correct to add a trend and dummy variables together to an OLS model? For instance, J. Wooldridge in Introductory Econometrics adds trend variable to multiple regression, however, I was not able to find a model which includes multiple regressors, and both trend and...
I am given a population $P$ that is equally divided into subsets $A$ and $B$. I know that a property $H$ of the population $P$ is normally distributed with mean $\mu_1$ and variance $\sigma_1^2$ for subset $A$ and $\mu_2$ and variance $\sigma_2^2$ for subset $B$. The task at hand is to find the exact median value of $H...
I am trying do inference on a problem with a posterior distribution with two parameters (not in closed form). I have built a grid approximation and have been able to create a contour plot of this posterior distribution around reasonable values for the 2 parameters (computed with linear regression). I am also able to ge...
Problem Using R, how can I build a logistic regression model with serial correlation or a general linear mixed model with ARMA? I cannot use linear regression because I have serial correlation. I cannot use ARMA because I have binary predication target. I consulted with a statistician and they told me this is my situ...
Trying to solve a problem at work. We are creating parts and some are defective with an unknown defect rate. Each part is tested 10 times to see if it works. A defective part will fail an individual test only 5% of the time because the defect is intermittent. 800 parts were tested 10 times each and 29 (3.6% defect rate...
If $Y_i$ (i=1,...,n) are iid N($\mu$,$\sigma^2$), how would I calculate the marginal pdf of the SSE? On Wikipedia, I saw that $\sum$($Y_i$-$\bar{Y}$)$^2$ ~ $\sigma^2$$\chi$$^2$(n-1). Any help would be appreciated!
In much of machine learning literature, the systems being modelled are instantaneous. Inputs -> outputs, with no notion of impact from past values. In some systems, inputs from previous time-steps are relevant, e.g. because the system has internal states/storage. For example, in a hydrological model, you have inputs (r...
For the two sample t-test with unequal variances: $T=\frac{\bar{x}-\bar{y}}{s_x^2/n_1+s_y^2/n_2}$, we usually use welch approximation, thus $T\sim t(f)$, where $f=\frac{(\frac{\sigma_x^2}{n_1}+\frac{\sigma_y^2}{n_2})^2} {\frac{\sigma_x^4}{n_1^2(n_1-1)}+\frac{\sigma_x^4}{n_2^2(n_2-1)}}$ is the approximated degree freed...
I believe I understand how to calculate the test statistic of the (Lee et al. 2004, Journal of the Japan Statistical Society, doi:10.14490/jjss.34.173) CUSUM test (p. 175). $$ T_n := \frac{1}{\sqrt{n} \tau} \max_{1 \le k \le n} \left| \sum_{t = 1}^k \xi_t^2 - \left( \frac{k}{n} \right) \sum_{t = 1}^n \xi_t^2 \right|.$...
I am studying a project which someone did in Caffe where input image is 400 by 400 pixels and first layer is convolution with kernel_size: 11 and stride: 4. Then according to my calculations, output image size = ((400-11)/4) + 1 which is 398.25 which is not an integer. So in this case, what would the output size be? Th...
I'm having a hard time distinguishing the overflowing concepts: non-experimental design, observational research, correlational study. Question is simple: is there any difference between those three concepts? If there is any, what is that precisely?
I want to bound the difference between two variables sampled from two different populations. When it's just one population with paired measurements a.k.a. "paired samples" (e.g. before treatment vs after treatment), I simply subtract the paired measurements and use univariate statistical inference. Is there a reason I ...
I would like to know what model diagnostics I should be checking to ensure that a negative binomial (NB) regression for overdispersed data has meet all of the required assumptions. There is a very helpful post here, however this post does not clarify what I should be looking for in the various plots (for example the re...
It's hard to get a grasp on the intuition on the random effects model. As I understand, to summarize, we use random effects model when we wanna regard the variable as drawn from a population, rather than put it as a variable with independent value. If the variable has so many groups(or values if you will), putting so m...
Is the Cox proportional hazard model a generalized linear model and how is formulated?
I am going to build a recommender system. My projects determines a binary output. What are the advantages/disadvantages of using a Bayesian network instead of a Neural Network? My data set has around 10k observations with around 20-30 features within. It is a time series with a duration of a few months.
Working with Bayesian econometrics I am regularly faced to the (valid) question: How does your prior choice affect the results? Given my parameter space is of rather low-dimension I may come up with some pictures, however, is there a common procedure/methodology exist which is common sense in order to convince the a...
I am trying to evaluate the results of a prediction obtained with the R function VAR. I have reproduced an example with two time series so that others can also implement it (the data set is read from a url). After seeing the code, I have a question regarding how to plot the prediction and I would appreciate if someone ...
I've been noticing that statisticians might be using the term "linear" in a bit sloppy way. A linear model is a model of the form: $$Y = \beta_1X_1+\beta_2 X_2 + \cdot \cdot \cdot+ \beta_nX_n$$ Which in mathematical terms, is a linear combination (betas are scalars, $X$s are vectors). However, statisticians allow a lin...
I'm examining the internal validity of a developed model using SPSS CATREG with .632 resampling. I am struggling to interpret what the below results, particularly the expected prediction error from the .632 bootstrap, actually means. That is, in their entirety, do the below statistics indicate that the developed model ...
I have RNA-seq data for samples in 10 different groups and I would like to find differentially expressed genes. I have used Deseq2 package. The differentially expressed genes have FDR between 0.03 and 0.05. I checked log2(FC) and found it is low value in most differentially expressed genes. How I can explain this? Why ...
I'm fitting a logistic regression model in R. Following is the structure of my data set. I've used the glm function in R. lgM9 <- glm(V35~ ., family=binomial(link='logit'), data=traindata9,maxit=50) summary(lgM9) Then I'm getting following warning message. glm.fit: fitted probabilities numerically 0 or 1 occurr...
It is a simple regression, but I am wondering if I can interpret the absolute results or just say that they are different: I am interested in finding out if the change of footprint is different in two periods (post-regulation). footprintDiffPrev describes the change in size to the previous model. Call: lm(formula = foo...
After looking into many blogs, I am completely confused understanding the T-test and the interpretation of the value. These are my understanding and confusions: Student T test is used to compare the Means of two groups T test is a Signal to Noise Ratio T test validates the sample when the population variance is not kn...
In principle components regression, we mean center(or standardize) X and using this X we decompose it so that: X = T.P' + E And regression to Y becomes(with using a certain portion of T): Y = T.b where b is a vector without intercept term Similarly in PLS, after mean centering both X and Y the equations(shortly) are X...
I know that the sum of two normally distributed random variables is also normal. But what about the opposite? Can the sum (or substraction) of two non-normally distributed random variables be normal? X-Y=Z Can Z be normal if X and Y are not? Any example? I came to this question while thinking about the need of checking...
I analyzed four binary variables with a binary logistic regression. I used for the analysis of all four binary y-variables the same set of 9 x-variables (a-i). My problem deals with one of this four regressions. The results of the binary logistic regression shows that the x-variable "c" takes surprising high values reg...
I want to create some model of human behavior. Basically - it's expected to answer for question if some particular user will agree or not agree for some action. Feature list for it is: user_id interacting_user_id some_normalized_value some_enumerated_value .... Supposing usage of NN, how to standardize user_id and inte...
I know the mean and standard deviation of a population, and its minimum and maximum value. How can I generate each data value from those parameters (using R) with the assumption that the data is normally distributed? "rnorm" function in R can generate the data but it can not reflect the exact mean and standard deviatio...
How does one account/control for differences between study sites during the analysis? In my study 2/3 of all participants across the two age groups strata came from 1 of my 2 study sites. Moreover, there are some differences in the level of experience of the health providers between the sites. 2/3 of the study partici...
I have GLS regression coefficients of the 'best' model from four different islands in my study system. I would like to compare how the 'best' model from island 1 predicts the response variable on island 2, 3 and 4. What would be a suitable method to do this? I'm unsure as to whether I should compare the slopes of each ...
In my setting I have 21 numerical features (and ten thousands of rows) and I assume that they are noisy measurements of the real features. In order to learn the real features I think about applying an autoencoder. I thought about adding one hidden layer with 6 hidden layers. Then I would apply 21 output layers to recon...
I have a question regarding fitting mixture of normal distribution. I have the following data: I identified three peaks and using mixtools package, I fitted mixture of normal distributions to my data as follow: mixture <- mixtools::normalmixEM(data, k = 3) Consequently, I got 3 $\mu$ , 3 $\sigma$, and 3 $\lambda$ val...
I have a music recommender system with implicit ratings on Apache Spark with MLlib, CF and ALS. I have several ways of how I get preference matrix from raw events data. Now I just count how many times each user played each song. But I want rating to decrease with time after last song playing. I assumed two strategies...
I ran a Gamma GLM using 3 categorical predictors: Year - with 4 classes Organ - with 3 classes Site - with 3 classes My response variable is Biomass. My model is: GLM <- glm(biom ~ fyear + organ + site + year:organ + year:site + organ:site, data = data, family = Gamma(link = "log")) The summary(GLM) gives me...
Here's the code snippet: df = pd.DataFrame(data=[1,1,2,2,3,3,3], columns =list('A')) def m(x): if x == 1: return 2 if x == 2: return 3 if x == 3: return 1 return -1 df['B'] = df['A'].map(m) print df.head(n=10) A B 0 1 2 1 1 2 2 2 3 3 2 3 4 3 1 5 3 1 6 3 1 As ...
The Chow test evaluates if the coefficients in two linear regressions on different data sets are equal. If two independent variables of the data sets are highly correlated, is the chow test still applicable/reliable? If not, how much tolerance is acceptable?
I have been thinking of this case as i was reading other questions and answers about SVM. A question was raised about an SVM model having 1000 data points and 800 support vectors. The OP used a linear kernel. However, this is something that confuses me. If an SVM is supposed to maximise the margin between the 2 classes...
I am working on a complicated data fitting algorithm in Matlab. I have a problem with properly estimating the confidence intervals of my fit. I will describe my procedure in some detail, give some of my thoughts on the problem and subsequently formulate my question more precisely. Disclaimer: I am a physicist, not a st...
I searched on Google, Wikipedia, Google scholar, and more, but I could not find the origin of Autoencoders. Perhaps it's one of those concepts that evolved very gradually, and it's impossible to trace back a clear starting point, but still I would like to find some kind of summary of the main steps of their development...
If I generate a topic model (LDA, PLSA) for a group of documents, is there then a way that I could label each document with a one-to-two word label that describes the document content? For example, if I was modeling local business listings/reviews on yelp, is there a reliable way to generate labels such as "Coffee," "C...
In Bagging (the grouping of predictive variables), I can set a decision tree, a neural network, and so forth as the base learner, since I can get m datasets randomly, and in each dataset, I can train a base learner, and in the end, I have m base learners. questions Given m base learners, say $h_t(x),t=1,2,...,m$, to e...
I am trying to implement a SVM on a distributed computing paltform. More generally, I am asking how to solve a minimax problem distributively. I can not find a way to tackle the X'X because computing an entry in this matrix will require two training examples. And this leads to the problem of dividing the input into c...
I am having problems to understand, and therefore to interpret, why the coefficient of one of my independent variables sign change when I add an interaction. My dependent variable is presence/absence of a bird species and my independent variables are the proportion coverage of an specific plant species ("plant", contin...
I'm currently building a prediction model in R. My output variable is the market price of an item, so the value should be greater than 0. I am using a GLM and started with family = gaussian, but I realized that I predicted values smaller than 0. That does not make sense. I read that family = Gamma(link = log) fits bes...
Is there any proof for the CLT not using characteristic functions, a simpler method? Maybe Tikhomirov or Stein's methods? Something self-contained you can explain to a university student (first year of mathematics or physics) and takes less than one page?
Given a number of points (i.e. [1.1,3.0,0.3,9.9,2.4]), which are random samples of a parameter. I want to give an estimate about the range, in which the parameter varies. The min/max-range is [0.3,9.9]. However the range could be greater, since i only have samples and not the whole population. I want to calculate some...
So I understand that on the normal histogram and scatter plot, we estimate the standard deviation by looking at the portion which contains $\frac23$ of the data. In terms of a residual plot from a regression, however, it is a randomly sized region around (x or y)= 0. How do we estimate the standard deviation of the re...
I have some code that does the analysis and creates figures and tables for a publication. It is integrated into my LaTeX build process. Part of the analysis includes a bootstrap comparing the difference in the means of two groups. Apparently, the difference is right around the $p=0.05$ level and every time I run the co...
I have a within-subject dataset with 3 two-level factors and 1 numeric predictor. I was using LMER with a random-intercept model (a full random-effect model yield the same results though throws convergence warnings) Crucially, one of the hypothesized interactions comp*corr is far from being significant with t = 0.6. Th...
I am trying to fit a exponential curve to a vector of a data that presents a minimum value different from 0; i want to check the shape of the curve, so i do the following: ex<-rexp(n=100,rate=0.6) qqplot(mydata,ex) Doing like that the points don't lie on the line y=x, since the values of "mydata" are never less than...
I have a set of data points where each point corresponds to the realization of a stochastic process like the stock market data of a particular company over some period of time. Now consider that the set of points are generated from more than one stochastic processes. Is it possible to cluster data points generated from...
I have a train station where trains arrive at certain intervals called headways. I know the distribution of headways for a "regular" situation and a "disrupted" situation. Standard deviations of headways indicate reliability and I want to compute how "less" reliable the disrupted situation is compared to the regular o...
I've got a question about an LSTM neural net fitting a random walk. I've made the LSTM [network shape: 1, 50, 100, 200, 50, 1] and out of interest made a completely random walk (by using a normal distribution in Excel to create the walk). I've chosen to feed the network sequences of 50 prior timesteps in an overlapping...
I have a dataset where the input and output are both $2500$ dimensional binary vectors. The input and output feature components have a 1-to-1 mapping, i.e. component $n$ ($1 \leq n \leq 2500)$ of the feature vector has the same interpretation for input and output. Also, each component indicates presence or absence of a...
Question: $X_1 , X_2 , ... X_n$ are unif(0, 1) random variables and $Y_n = {\sqrt n} \min \{{\sqrt X_1}, {\sqrt X_2}, ... {\sqrt X_n}\} $ Consider the sequence $Y_1 , Y_2 , ... Y_n$ and give the pdf or pmf of the limiting distribution, if it exists My attempt: The Support of $Y_n$ is $(0, {\sqrt n})$ , so for $ y \l...
I'm a newbie to ML trying to understand if its feasible to train a network to detect inadvertent inclusion of passwords in code repositories. One way to do this is to tokenize the code within a repo and then use heuristics for an "entropy estimate" for each token through a Shannon entropy variant known as "N-gram entro...
I thought it might be a good exercise to try my hand at making a simple, one hidden layer neural net from scratch. But, for whatever reason, I can't get my in-sample error to go down. I think it has something to do with my backpropagation algorithm being wrong, because the outputs, after many iterations of stochastic g...
I have a neural network model with 20 layers. There are 30 input nodes and 5 output nodes. I am using backpropagation algorithm to train the model. I can see that in the first 5 layers, the weights are not changing. I don't understand why that is happening. Can someone point me in the direction of how to fix it?
I conducted a 2 x 4 within-subjects design experiment. I presented participants with unpleasant and neutral pictures and asked them to cope with their emotions in four different ways. Therefore, the first independent variable refers to picture valence (unpleasant vs. neutral pictures) and has two levels while the other...
I have a 29% response rate from a survey asking respondents to identify which of 11 age groups their family members represented. In general family size can range fro 1 to 6 members. In summing up all responses I have a sample size representing the distribution across 11 age groups of the entire population. Based on S...
I was searching on this forum to calculate the p value from a t.test score. So I found this topic. The answer giving: > 2*pt(ttestscore, lower=FALSE) However it makes no sense to me using the lower = FALSE. When using the lower = F argument you will calculate the probability of the black shaded area in the second...
I was offered a confusion matrix, which is called Parametrised 5x5 confusion matrix by authors where I extracted the values and where the diagonal has the correct results (0 in all); the results are bad, which can be seen in the confusion matrix; they do not understand why; in ideal situation, all values should be zero...
Reading Guo and Fraser's textbook, Propensity Score Analysis: Statistical Methods and Applications (2nd ed.), I came across the formula for the average treatment effect on the treated (ATT) on page 49: $ATT=E[(Y_1-Y_0)|X,W=1].$ I interpret the ATT formula as the expected treatment outcome for the treated members ($Y_1$...
I am doing grid based parameter search using CV for my XGBoost model in R. Code is for reference but question below is lot generic: opt1 <- as.integer(3/(sum(base_data$NON_CLR_SLS_Q > 0)/nrow(base_data))) opt2 <- as.integer(1/sqrt(sum(base_data$NON_CLR_SLS_Q > 0)/nrow(base_data))) searchGridSubCol <- as.data.table(expa...
Is anyone aware of research on neural networks tuning the existence of paths through their layers as part of their learning algorithm? Traditionally a neural net trains its weights and biases in order to improve performance on the cost function. I'm curious if there exist nets that train the existence of paths or conne...
I'm using a Cox survival analysis model in Stata. My covariates include a series of mutually-exclusive dummies. As in other regression models, I leave one out as a reference. If I change the reference dummy, the significance and hazard ratios are changing where I wouldn't expect it. A fictional example: 6 race/ethnicit...
I was recently doing some reading on feature selection and had a little doubt on this topic . The article on which my question is based on reading this article : http://machinelearningmastery.com/an-introduction-to-feature-selection/ . Say I have my dataset splitted into 3 parts namely : Training , Validation and Test...
I am trying to run an adjusted poisson regression in SAS using our existing data. The model is: # of cases of disease= years + screening of disease rate. I am using an offset = log(total population). My issues lie in the fact that when using YEAR as my primary independent variable and adjusting for another variable ...
I have the following questions. They are not homework problems, but they are things that the professor said that I should wonder about. I suspect that I will have to deal with this on an exam in the future. So my questions are: Is a limiting Bayes estimator always admissible? Is a generalized Bayes estimator with con...
*I apologize for the length of this post and I have almost no statistics experience, please keep that in mind :) In competitive diving, a diver will perform 5 different dives and will receive scores from a panel of judges. I have a theory that a diver is more likely to either perform the dive well and get a good score ...
I need some help with calculating a OLS regression model. The model is $sales = b_{0} + quantity^{b_{1}}$, and the objective is to find the own-price elasticity calculated at the means, $\frac{\delta \, quantity}{\delta \, price} \times \frac{price}{quantity}$. Where $sales = price \times quantity$. So, as far as I und...
I understand the procedure and what it controls. So what's the formula for the adjusted p-value in the BH procedure for multiple comparisons? Just now I realized the original BH didn't produce adjusted p-values, only adjusted the (non) rejection condition: https://www.jstor.org/stable/2346101. Gordon Smyth introduced ...
Definition of Probability Distribution: A probability distribution is a table or an equation that links each outcome of a statistical experiment with its probability of occurrence. And, Definition of Binomial Probability Distribution: A binomial distribution is a specific probability distribution which is used...
Say you have a single time series of a financial instrument. You want to classify when we are in a bull vs bear market (this is just an example). When splitting your data into a train and test set, if you split based on time period - i.e. everything before year 2000 as a train, and after 2000 as test, won't there be si...
I assume HMM will be the most robust to noisy data since it derives a generative model compared to Decision Tree and K-Mean? Between decision tree and K-mean, which methods is robust to noisy data? I found K-mean may not work well with outliers. However, with my data (prior knowledge of number of clusters and expected...
Problem setting Let $X_1,X_2,\cdots,X_n$ be tosses of coins (heads = 1, tails = 0) with mean $\mu_1, \mu_2, \cdots,\mu_n$. Let $S(\vec{X})=\sum_{i=1}^n X_i$ and denote variance of the random variable $X_i$ by $\operatorname{Var}(X_i)$. Question Can we upperbound $ \sum_{i=1}^n \operatorname{Var}(X_i )- \sum_{i=1}^n\m...
I've searched through several questions trying to get the answer to this but been unable to find the answer I need. Most questions deal with consecutive results, but I am looking for non-consecutive results. Basically, what is the formula needed to calculate the expected number of rolls needed to roll the number 6 n ti...
Cosine distance is a term often used for the complement in positive space, that is: ${\displaystyle D_{C}(A,B)=1-S_{C}(A,B)} D_{C}(A,B)=1-S_{C}(A,B)$. It is important to note, however, that this is not a proper distance metric as it does not have the triangle inequality property and it violates the coincidence axiom; ...
I'd like to ask a question I came upon at work. I will substitute the proprietary names with variables for the sake of prudence. Suppose I am working in a plant and have many (i.e., 10) moisture values for each of three mixtures. The mixtures are denoted as $Z_1, Z_2,$ and $Z_3$. Each mixture is comprised evenly of two...
Helloo ! I want to analyse some data in order to program a pricing algorithm. Following dates are available: I need a function/correlationfactor of the three variables/dimension which show the change of the Median (price) while the three dimensions (pers_capacity, amount of bedrooms, amount of bathrooms) grow. e.g. Y(...
I am trying to build a model to predict the length of time people live in a house. I have a good set of historical data (15k rows) but only about 4k of these are complete in so far as the person has moved out of the house and I have an actual length of stay. Therefore for 4k rows I know exactly how long they have staye...
I have a list of full path of about 10,000 excel macro files. The task is to train a machine to classify which file path is Important or Not Important. The training set is labelled. For example: Important c:\Somefolder\ProcessA.xlsm Not Important c:\Somefolder\backup\ProcessA.xlsm Not Important c:\S...
For most genomic questions, we have ~20k genes as variables and relatively small sample size ~100 samples. We also have two variables which are extremely relevant to our Y. How should I build the model in this situation? One suggestion I got is changing the Random Forest model to select those two important variables wi...