instruction
stringlengths
9
38.7k
I've used R's "chisq.test()" function to calculate the chi square statistic between two time series, the first is a stock market series of a bank with a length 4262, and the second is a simulation of the first using some model with the same length. I used chisq.test as a measure of independence of the two series. Using...
I often read the guideline that a random factor should at least have 5-6 levels. However, it is not yet really clear to me if there is (i) a minimum number of levels for a nested factor within a block and (ii) whether there is a minimum of measurements per individual. For instance, I have a BACI (Before After Control I...
I have run a logit model such that $Y$ ~ $X$, where $X$ is a categorical variable with 4 alternatives. I have dummy coded $X$ so I can perform regression, this means that category 1 is the base category. I would like to compare the probability of each alternative $X$ including the base category. The point of my resea...
I have been trying to achieve a system which can scale a number down and in between two ranges. I have been stuck with the mathematical part of it. What im thinking is lets say number 200 to be normalized so it falls between a range lets say 0 to 0.66 or 0.66 to 1 or 1 to 1.66. The range being variable as well. Any he...
I have three dichotomous nominal independent variables and one four-level nominal dependent variable. The dependent variable is measured multiple times (either 3 or 4, randomly determined) per configuration of IV conditions. All data is within-subjects; that is, every subject experiences each configuration of IV condit...
I am using K-Fold cross validation to test my trained model.But i was amazed that for every K-fold the accuracy is different.For instance if use 5-K fold ,every fold has different accuracy.So which fold should i select?Does averaging of 5 fold results is ultimate choice?.Secondly,why the data-set split ratio(70:30) is ...
I was reading this morning the paper on the architecture of Alexnet and there is one thing I cannot understand. On the convolution first layer, after the ReLu activation and the response normalisation across kernels to induce competition the second convolution layer input has the size 55x55x48. My doubt is on the depth...
I have some linguistics categorical data to analyse. There are 5 speakers (M1-M5), and they read out certain words. The words are 200 in number, but speakers only read out the words if they understand its meaning. They are shown in random order with other filler words. The speakers produce sounds which are categorized ...
I am not sure I am articulating this question properly, and my unfamiliarity with the proper terminology has hindered my ability to research this question. I am looking for a metric that captures differences in the length (in time) of departures from the mean. i have a 2 groups of time series data (below are representa...
I am using a multiple linear regression model to calibrate 2 sensors set, my current regression model is based in a set of 2048 samples per sensor. Based on those samples, I get my multiple linear model. I am wondering whether or not for these kind of regressions there is a theoretical expression which tells you the ma...
I was wondering, if I perform linear OLS regression with stationary (verified) time series $y_t$ on $x_{1t}$,$x_{2t}$: can the residuals be non-stationary? it is not part of a list of Gauss-Markov assumption that the residuals of the OLS linear regression must be stationary so we usually don't need to perform station...
When using a neural network for supervised learning, say recognition of hand written digits, there are several ways to use the output layer to code for the expected output. I was wondering if there are any crucial differences in performance or what the overall tendencies are. Basically, as a specific example with numbe...
Question: How to calculate and add weights to each predictive variable (so that these weights represent the importance of the predictive variable in measuring the regression score)? For example, we have scorings of documents (Response variable), obtained through functional expertise opinion, given categorical variabl...
How can somebody apply PCA on a set of graphs? Is it possible to define a meaningful graph kernel for my problem, and then follow the typical procedure on the derived matrix of pairwise distances (kernel PCA) ?
I'm trying to perform Weighted Linear Regression in R but I'm not sure how to assign the weights. I know from historical data that the standard deviation for the dependent variable is proportional to its (i.e. a constant %CV) How do I use this information to create the weights for lm() in R?
My project study the association between coinfection by hepatitis virus and survival among HIV-infected patients. Two opposite data exist: some studies show significant worse survival for patients with coinfection by hepatitis virus than those without coinfection; other studies show non-significant of survival between ...
Under the Potential Outcome framework for causal analysis. Let $Y_i(W_i)$ be the potential outcome of subject $i$ if the treatment he received is $W_i\in\{0,1\}$. In reality, we only observe at most one potential outcome of each subject, i.e., if you observe $Y_{i}(1)$, then you cannot observe $Y_i(0)$. The Fisher Sha...
Does anyone knows how sklearn.naive_bayes.MultinomialNB estimates the model ? http://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.MultinomialNB.html And how can i know the importance of each features (like the P-Value in a linear regression) ? I'm running this example of text classification : http://s...
So, we know the shape of confidence intervals for vanilla linear regression estimated through OLS (ordinary least squares): Shape of confidence interval for predicted values in linear regression. In a univariate scenario I'm working right now uncertainty in both dependent and independent variables makes TLS (total leas...
I want to obtain random variates from a random variable whose probability density function is $$q(log(\sigma_t)|a_1, b_1, a_2, b_2, \sigma_{t-1},\lambda) = \frac{1}{C}\frac{\mathcal{B}(a_1; \sigma_ta_1, \sigma_tb_1)}{\mathcal{B}(a_1; \sigma_{t-1}a_2, \sigma_{t-1}b_2))}\mathcal{N}(log(\sigma_t); log(\sigma_{t-1}),\lambd...
Suppose we have a generalized linear model with a binomial response $y_i\sim \mathrm{bin}(n_i,p_i)$ where $p_i$ is determined by the linear predictor in the usual way via some link function. Is there some way to do multiple imputation when $n_i$ is sometimes missing (MCAR or MAR) (in addition to sometimes some of the ...
Lets assume there is a company called "XY", which is listed in the NASDAQ. Lets further assume that newspapers are frequently reporting about company XY, either in a positive, neutral or a negative way. I am trying to figure out whether there is an influence of positive themed newspaper articles about company XY on the...
I am running a logistic regression with multiple variables. When I add variables to my model the odds ratio estimates decrease. When looking at colinearlity there are some variables that have .3 or .2. All independent variables are binary so this seems like it is bound to happen. Since some odds ratios on their own...
at the moment i'm examining the effect of an intervention on health (GHQ) scores among carers of people with dissabilities, but i'm stuck with the tests I should run.. Its a 2 x 3 (quasi experimental) design with repeated measures. Between subjects Group (experimental and control) and Within Time (T1: 1 week before, T2...
Recently, I want to apply the permutation test to find out if the difference of median for sample1 and sample2 has difference. Sample1 variance is 3.225248, and Sample2 variance is 0.1451835. In my R script (shown below), there are two ways to compute the two tailed test p-value, one is sum(abs(c(ts, reps)) >= ts)/100...
My Background I am a graduate student in Transportation Engineering. I know basic Statistics but have never done any time-series/ spatio-temporal data analysis. Data Format I conducted an experiment on a driving simulator which produced vehicle trajectory data on a test road network. These data (for each driver) contai...
I am fitting a logistic regression model with 6 continuous response variables (6 coefficients + intercept) and a binary response variable $y$ in rstan for $N$ observations. After setting my actual model and defining the priors for the vector of coefficients $\beta$, I also use a generated quantities block to calculate ...
I want to study a time series using ARIMA. To understand what is the best ARIMA model, I use the function Arima (dataset, order, seasonal) from the package forecast in R. You can see dataset I am trying to analyse below. TEST <- c(0, 0, 0, 8.718396e-04, 6.345178e-04, 4.752852e-04, 7.390983e-04, 2.973536e-04, 0, 0, 0, 0...
I work for a software company that is building its first data science application, a program which forecasts sales based on previous sales. We have certain groups within the organization who are asking for assurances that the forecasts are "correct": in the past they have run into data models that were poorly explaine...
I need to validate if two independent samples give significantly different results. The sample has a non-normal distribution, so I will use Mann-Whitney U Test The dependent variable is a five-point Likert scale, with four items. My understanding is that I need to do the next steps: 1-Create a variable that is the medi...
There is a similar thread here (Cost function of neural network is non-convex?) but I was not able to understand the points in the answers there and my reason for asking again hoping this will clarify some issues: If I am using sum of squared difference cost function, I am ultimately optimizing something of the form $ ...
I am trying to hand calculate the standard error for the a path in a moderated mediation model where the moderator modifies the a path. For example: Mediator = X + Moderator + X*M I gather that the a path would be calculated like so (with coefficients from the above model): X + (X*M * Moderator) How would I calculate ...
I have a nonlinear model $$N_{t+1} = r N_t \exp (-N_t)$$ with some simulated values $$N^*_{t+1} = r N_t \exp (-N_t+ \varepsilon_{t+1}) $$ $N^*_t$ (having independent errors $\varepsilon_t$ following a normal $N(0,1)$ distribution). I have the simulated values, but I want to check the trajectory of future values, wh...
I've read posts mentioning that after selecting your model with the validation set you train with the full set (training + validation set) and test the model on the test set. However, what if the validation set was used for early stopping during training? The training part might early stop at 12 epochs but that doesn't...
Say I have a really weird die, with numbers 1 to 200. The die is not biased. The random variable X is defined as the number of times in which the number 200 is rolled. Say the number of trials is 500. Therefore, X is binomially distributed with parameters (500, 0.005). How can one change this problem such that we would...
Suppose we are building an "early warning system", that will output a risk score every month over 1 year, say Jan. to Dec.. The tricky part is that number of available variables/columns will be different (increase over time). For example, at beginning (Jan.), we only have $5$ features/columns for each instance, every m...
I have a few multiple sequence alignments and a few groups (let's say N) of unaligned sequences. I would like to learn the emission and transition probabilities from the multiple sequence alignments, to build with these distributions a profile HMM and then to produce with the Viterbi algorithm N multiple sequence align...
I would like to use cross validation both to tune the hyperparameters for my supervised learning model, and to perform feature selection. Is it a bad practice to use cross-validation more than once on the same data? Is there any risk of overfitting the cross-validation datasets or anything else that I may be missing? T...
I only know of the following power iteration. But it needs to create a huge matrix A'*A when both of rows and columns are pretty large. And A is a dense matrix as well. Is there any alternative to power iteration method below? I have heard of krylov subspace method, but I am not familiar with it. In anycase I am lookin...
I have a study where I'm looking at post-surgical limitations after shoulder surgery between two groups of baseball players. Patients were told to select all that apply among: Pain, Stiffness, Weakness, Decreased athletic performance, or other. Patients are divided as pitchers or non-pitchers. What is the proper way to...
Logistic regression is a convex optimization problem and adding elastic net penalties is adding convex elements. So am I right if I conclude that logistic regression with elastic net penalties is also convex, and does this only hold in the special cases of the L1 and L2 penalties?
I want to estimate a GARCH(1,1) proces manually using maximum likelihood function which is also related to my previous post. I wrote the below code: library(fGarch) #generate returns set.seed(1) garch11<-garchSpec(model = list()) y<-garchSim(garch11, n = 1000) n<-length(y) sigma2<- vector(length = n) #estimating t...
I am going to perform an action, $A$, on a system. The state of the system after the action can be $a_1$, with probability $p_1$, or $a_2$, with probability $p_2$. If the state of the system is $a_1$ ($a_2$), the reliability of the system is $x_1$ ($x_2$), both of which are normally distributed. I want to know the rel...
A Fisher LSD test is basically a series of pairwise t-test except that the pooled variance is computed on all groups (and therefore does not vary from one comparison to another) while the normal t-tests calculate the pooled variance on only the two groups considered in the comparison. On wikipedia, I read In each t-t...
Let $(X_1,X_2,...,X_n)$ be a random sample from a population distribution with $E(X_i)=\mu $ and $Var(X_i) =\sigma^2$ for all $i$ find the asymptotic distribution of $T= \frac{1}{n+k}\sum_{i=1}^{n}X_i$ ? . In order to define the asymptotic distribution of $T$ I have used two ways but I got different results .There is s...
Could it be from the data itself? Or is it because the model can't detect efficiently the similarities between data, or are there other reasons for misclassification?
I have a time series data of populations, e.g. for each time point, I have the blood pressure of 1 million of rats. How can I monitor that the distribution of this population drift over time? For instance, if it is normal distribution, then the mean and variance might drift over time. But I do not know the distribution...
Least Squares Approximation (LSA) for Unifed Lasso (Wang, Leng 2007) mentions Least Angle Regression (LAR) several times. Here's a direct link to the paper. Specifically, in Section 4 they say: All studies were conducted in R with the lars package (Efron et al. 2004). This package (and many others used here) can be d...
This might be a stupid question but I cannot find definitive answer. Is there any way to prove that learned function has some kind of "linearity" with respect to input data and human perception? What I mean by "linearity" here is that small change in input data as detected by human, results in small change in output. O...
TL;DR: based on the chart below, would forecasting via X-11-ARIMA be appropriate? I'm hoping this question (and any subsequent answers) could provide valuable insight into any other analyst considering using time-series forecasting in their work. Long version: I have data regarding the units of my company's product vs...
I need to calculate Cronbach's alpha for a test planned to be administered for two different samples. The test is planned to measure knowledge of these two samples, and these two samples vary on the level of knowledge on the topic which test measures. My question is: When finding cronbach alpha for such a test, do I ne...
I am curious about a normal distribution with no probability mass in certain regions, sort of like the complement of the truncated normal. In particular, it will have zero mass in a circular region. Here is its pdf: $$P(X | \mu, \Sigma) \propto I_{\{X \in C\}} exp\{-\frac{1}{2}(X - \mu)'\Sigma^{-1}(X - \mu)\}$$ Where $...
In order to estimate predictive power of the model, we: 1)split the data on the training set(80%) and test set(20%). 2)Then we build the model based on training set 3)We use, for example, k-fold cross-validation in order to determine how good our model is. Question 1 : I cannot understand why do we need to do first ste...
I was reading the book Deep Learning by Goodfellow, Bengio & Courville and it seemed to imply that samples are only useful to: approximate sum/integrals (why is this sooo important?) when the goal is to generate samples itself (which is trivial since of course its important to sample if that is the goal) However, I ...
I have a data set in which each subject answered a subset of questions in response to visual stimuli (picture rating). At the beginning of the experiment, every subject got assigned 2 out of 16 questions, on which a large set of images was rated. I do not have measures of all 16 variables from all subjects. My questio...
Assume you had an alien year with an unknown length N. If you have a random sample of said aliens and some of them share birthdays, can you use this data to estimate the length of the year? For example, in a sample of 100, you could have two triplets (ie. two birthdays each shared by three aliens) and five pairs and ei...
I' am giving a toy example here for clarity, but I wish to apply this to a real problem I've encountered. Say for every block in a city I measure the population and the average building height. Now, I notice that with increasing average building height the variance in population also increases. See below for simulation...
I wish to generate three uniformly-distributions with specified correlations. How do I go about doing that? For example, over here, a comment provides a quick method to generate pairs of random numbers which are uniformly distributed with specified correlation. I want to extend that to three uniform distributions. I ...
When verifying whether a potential instrumental variable is valid, how should I check if it meets the exclusion restriction? To reject that it meets the exclusion restriction, do I simply have to come up with a excluded variable that affects the dependent variable? Or does the excluded variable have to be an omitted va...
I have a simple linear model describing a set of straight lines and would like to estimate confidence intervals for the parameters and the covariance matrix describing the hidden parameters. First attempts using linear mixed effects models as implemented in R using default options failed. The confidence intervals co...
I am performing semantic similarity on a number of texts. Using PCA, the similarity can be visualized as below Is there a way to quantify the density of each cluster, as well as the overall size? I would like a way to show that TD is more dense than FXSA, as well as smaller in total size.
I'm looking to explore some data with particular requirements and I came up with this technique. Since I'm not an specialist in machine learning, I would like to know if there is any technique which resembles this I describe. (Boldness denotes vectors) Data comes in the form of $k$ real vectors with p variables $\mathb...
In R, the function chisq.test has an option simulate.p.value. In the help page little explanation is provided but it reports to Hope (1968). Could you please help me out by offering me a for dummy explanation of how p.values are being estimated when simulate.p.value is set to TRUE? I have basic understanding of Monte ...
I have 20 variants (numeric) and 3 factors. Factor 1: 2 treatments. Factor 2: 2 treatments. Factor 3: 4 treatments. 3 replicates. Can anyone suggest a suitable data analysis? The hypothesis is to analyze the differences of metabolites (I analyzed 20 metabolites) in plants. There are four cultivars of the plants and the...
For a movie rating, we can have its distribution like this: Each rating would have a percentage. Consequently, we can obtain the mean, std from this distribution. The question is what is the value range for the mean - std for the movie ratings? Obivously, its bounded, and the std would be 0 for mean rating at 10. Fo...
Ridge regression's objective function: $$ L(w) = \underbrace{\|y - Xw\|^2}_\text{data term} + \underbrace{\lambda\|w\|^2}_\text{smoothness term} $$ I am trying to understand the regularization term, $\lambda\|w\|^2$. My questions are: What does smoothness mean here? I checked the definition of smooth in Wolfram, but...
Suppose $z_n=\min\{x_1,\dots,x_n\}$ where $x_i$'s are i.i.d. according to CDF $F$ over $[0,1]$. Is it true that $Var(z_n)>Var(z_{n+1})$? What conditions would I need to ensure this monotonic relationship?
I'm interested to learn how I can use a trained LDA (Latent Dirichlet Allocation) model to make predictions on the topic proportion of a new, unseen document using Naive Bayes. Let $z \in \{1, 2, ..., Z\}$ denote a particular topic (there's $Z$ topics in total) and $w_1, w_2, ..., w_n$ denote the $n$ words in the new ...
Do we allow multiple members of the household to respond to the survey if weighting will be done only at the person level and not on the household level? That is, our unit of measurement is the individual.
In various literature i have seen both being claimed and now i am confused which one is true ? The one that says linear in terms of weights claims that one can simply add higher order terms for the inputs and still learn non linear models while optimization problem remains linear in terms of weights. There are other th...
(1) If I conducted Exploratory Structural Equation Modeling (ESEM), and specify the model as follow: f1-f2 measured by v1 v2 v3 v4 v5 v6; Can I also allow regression path between f1 and f2, i.e.: f1 -> f2? (2) If the answer in Question 1 is no (I cannot specify regression path between latent variables while doing ESEM)...
I want to fit a polynomial model for the dataset which respondent variable is the length and the predictor variable is the Age. The dataset was recorded for 12 moths for the two years 1984 and 2010, and each month has its own value for different items recorded in that month which using their ID's. Different items are r...
I see that if I repeatedly try following 2 commands, the biplots remain the same: pc <- prcomp(iris[-5], scale=TRUE) biplot(pc) and: pc <- princomp(iris[-5], cor=TRUE) biplot(pc) However, if I try following code of robust PCA (taken from help text of ?princomp in R), the output biplot keeps varying: pc.rob <- princ...
I'm training a classification SVM for a binary classification model with 20 features (LIBSVM). These are some reports of my model (with different combination of features). Why all nBSVs are zero? Otherwise, based on *.* and .* outputs, the SVM trains real fast. Is this a problem? .* optimization finished, #iter = 1194 ...
In short: I am using k-means clustering with correlation distance. How to check, how many clusters should be used, if any? There are many indices and answers on how to establish a number of clusters when grouping data: example 1, example 2, etc. For now, I am using Dunn's index, but it is not sufficient due to one of t...
Currently I have data (true population size is unknown). There are n data points in descending order, and we know the values of 25% and 50% percentile, say x1 and x2. How can I estimate if the sample size is sufficient such that x1, x2 are within 5% of margin of errors of x1 and x2? For example, suppose n=1000 and data...
I was given the results of a factor analysis performed on categorical variables. The factor analysis used consisted in a WLSMV method of estimation with the model fit applied to a tetrachoric matrix (with probit link function). The number of factors was determined with parallel analysis and the resulting factor loading...
Data looks like this: time longitude latitude obs 1 xx yy zz 2 xx yy zz 3 zz 4 xx yy zz and so on. There are sometimes missing values for the longitude and latitude covariates. Since these are somewhat dependent on the longitudes and latitudes f...
I want to use SVM-scale for both training and testing on Matlab using libsvm. In libsvm document implement this but using Python and I need for Matlab. how can I do it?
Background My friend did an observational experiment. She observed several colonies of animals for six months (one time per month) in the year 2014 and 2015. Some treatment to the environments of those animals were made in the year 2014 and in the year 2015, the environment was kept as natural as possible. She wants t...
I’m performing an exploratory factor analysis with 28 items, n = 300. I’m confused whether I have a multicollinearity problem or not, and if so whether/how I go about choosing items to remove from the model. SPSS tells me that the Determinant = 2.395E-10, which is much smaller than 0.00001, suggesting multicollinearity...
I have two variables speed and vibration and you can see that speed causes vibration. I am trying to fit this using auto.arima. But when i plot the fitted model, it gives bad result > head(datax.ts) Time Series: Start = 1 End = 6 Frequency = 1 vibration_x Speed 1 -0.252 12.47183 2 -0.668 1204.8903...
I have a data.frame with a column Material that has 7 different codes for 7 different materials: 'AC', 'GGIJ', 'HPE', 'ONB', 'PE', 'PVC', 'ST' Is there a way to stratify my data considering two or more of these as equivalent (i.e. generating 6 levels instead of 7 because for example 'PVC' is considered in the same leve...
I am doing an MSc dissertation in psychology at the moment. I have collected data from 307 groups, and I am trying to run a 2x2 ANOVA. The DV is 'number of conversations'. One IV has 2 levels (yes or no) and the other IV is group size (3 levels: 3-5, 6-7 & 8+). The data has violated the assumptions of normality and hom...
When modeling count data I often have varying waiting times or varying surfaces (differing protocols of count between two studies that need to be merged). How can I use a Poisson count model while accounting for the different "search effort"? I can apply that to R Example (random) data: flowers <- data.frame(n=rpois...
I already search the net with regards to the significance of the baseline variable. One of the sources that I've read is you will not know whether a baseline variable is significant to the regression model.However, people would ask whether the response in the baseline variable is significant or not. Let say I have a da...
I have a regression model which looks like this: Y+1 = 0 + 1X1 + 2X2t + 3X3t + 4X4 + εt Where I first run the model with X1 “as it is” and then I want to change the variable X1 to see what effect a potential another way of accounting might have. Then I want to compare the differences in 1 and r-squared between the mod...
I have two data sets with transaction history of customers by date and product (de-identified). These are from two different sources and have different capture rate (e.g.: One might have 5 transactions for a customer and the other may report 7). I also have information like ZIP, age, gender for these customers. What ma...
When a certain transformation is applied to a variable and the aim of that transformation is not met (e.g. normality, variance stabilization), can one apply several layers and/or types of transformations to the same variable to reach the aim? E.g. a log transformation of an already log transformed variable, or a log tr...
When I plot my data-set on a scatter plot I see a complex correlation that I don't know well how to quantify: the points present a kind of upper limit, a "cap". Note that the X marginal distributions have similar mean value (around Y=0.05 ), as evident in the colored 2D histogram. But I want to quantify numerically the...
I have been given some data that has date of admission, date of disposition, disposition (death or live discharge), and some biomarker levels. I would like to model this, but here is the rub: The longest-staying patient died. All other patients left the study (were discharged from hospital) before that time period. Is ...
I have a dataset with x and y values which are both calculated averages from three values and consequently they also have an associated error. I have about 100 x,y points which I want to plot. Adding both horizontal and vertical error bars is a good method, only there are too many points and it doesn't look nice. In th...
Can someone tell me the actual differences between the Survival copula and Normal copula model in terms of the programming aspects in R. Am working on bivariate dataset with censored observations and am having hard time differentiating in the code as well as the their behaviors with regards to different copula classes ...
I'm writing a paper for computer networks and came across the problem of calculating the probability that a certain event happens: Problem: I have two wires, each transmitting one bit of information at a time. Each wire can malfunction and send the wrong bit with the probability of p. if the two wires transmit 32 times...
I write my questions in brief here upon requests from IWS (thanks for your reply): 1) Has anyone ever given a proof that Marginal Odds Ratio$=1->$ Conditional Odds Ratio$=1$ (let's call them $MOR$ and $COR)$? Because, in this case, we could consider the test on $COR=1$ and $MOR=1$ equivalent. 2) Has anyone ever studie...
I want to do a 3-degree polynomial regression like $$y_i=a_0+\sum_{u=1}^{k} a_{u}x_{i,u}+\sum_{1\leq u \leq v \leq k} a_{u,v} x_{i,u}x_{i,v}+\sum_{1\leq u \leq v\leq w \leq k}a_{u,v,w}x_{i,u}x_{i,v}x_{i,w} +\varepsilon_i,$$ thus that in vector form I have $$ y_i=\hat{\mathbf{x}}_i^T\mathbf{\beta}+\varepsilon_i. $$ With...
I am trying different methods for propensity score matching, and I have an issue on matching with replacement. I use standardized difference to measure the "quality" of my match, and for this specific case where I can have the same control for different pairs I do not get how to compute the mean of any variable for my ...
I need to interpolate simple linear equation to the set of points. Equation has the following form: $$ log10(y)=A+B/(C-X) $$ where A,B,C - coefficients of equation. So far I was able to interpolate only the following: $$ log10(y)=A+B/(1-X) $$ which in R code looks like log10(y) ~ I(1/(1 - X^-1)) But I am interested in...
Many people (including me) is thinking or used to think that an overfitted model is the model in which the training error >> the validation error. But after reading this very interesting comment by @Firebug, I suddenly realized that it is not true. Random Forest is a perfect example of this, the training error is often...
Suppose $x$ and $y$ are independently distributed according to CDFs $F_x$ and $F_y$ respectively over compact support $[0,1]$. Under what condition is $\operatorname{Cov}(x, \min\{x,y\})\gt 0$?