instruction
stringlengths
9
38.7k
If yes, can you give me some insights/links about it please.
Im planning to implement Bayes weighted average formula (which imdb uses) for my new reviews and ratings website for mobile phones. The formula is under S=wR+(1−w)C where S= score of the product R= average of user ratings for the product. C= average of user ratings for all products. W= weight assigned to R and computed...
Let $y_a$ be an observed value and $\hat{y}_a$ be predicted value. Then I've read that $$var(y_a- \hat{y}_a)=\sigma^(1+ x_a'(X'X)^{-1}x_a)$$ but what's the proof for this? Additional info: $X_1=x_{a1}, ..., X_p = x_{ap}$ $x_a' = (1, x_{a1}, ..., x_{ap})$ $x_a' \hat{\beta} = \hat{y}_a$ $y_a \text{~} N(x_a' \beta, \sigm...
I am trying to find out expectation of a function of a uniform random variable. I am given a random variable $x$ that is uniformly distributed over the interval $[0, a]$. I want to find out the expectation $E[e^{-i2\pi (m-n)\frac{x}{a}}]$, where $m$, $n$ are integers and $i=\sqrt{-1}$. I saw derivation at a few places,...
I have conducted a study in which I am trying to assess how fast participants recognize familiar objects shown within white noise. Given my results, I suspect that for a given level of coherence(more or less white noise), the reaction time of participants is generally about 5ms faster to faces than it is to cars. The s...
In general terms my estimator is $\sum_{i=1}^n {\omega_i * x_i \over \sum _{i=1}^n {\omega_i}}$ where $x_i$ are realizations of the instrumental r.v., $w_i$ its corresponding importance weighs and $n$ the sample size. What is the variance of this estimator?
In general, the process of hypothesis testing can be divided in 4 steps: Formulate the practical problem in terms of hypotheses. Calculate a statistic $T$, a function purely of the data. All good test statistics should have two properties: (a) they should tend to behave differently when $H_0$ is true from when $H_1$ i...
I read about two versions of the loss function for logistic regression, which of them is correct and why? From Machine Learning, Zhou Z.H (in Chinese), with $\beta = (w, b)\text{ and }\beta^Tx=w^Tx +b$: $$l(\beta) = \sum\limits_{i=1}^{m}\Big(-y_i\beta^Tx_i+\ln(1+e^{\beta^Tx_i})\Big) \tag 1$$ From my college course, ...
An exponential distribution describes the time between events in a Poisson process. Suppose that the average waiting time for an action is 5 minutes. The time waited each time measured in hours is an exponential random variable, $t$. Therefore $t$ has the CDF distribution:$$P(t) = 1-e^{-\lambda t}$$ where $\lambda = 1/...
This question is highly correlated with my previous one (I was asking about quadratic approximation of the cost function with Hessian matrix and didn't get any answer), but I think that I have the idea about the answer to it. The problem I'm getting now is that we need to take the second derivatives of the cost functi...
I am trying to understand the famous paper "Playing Atari with Deep Reinforcement Learning" (pdf). I am unclear about the difference between an epoch and episode. In algorithm $1$, the outer loop is over episodes, while in figure $2$ the x-axis is labeled epoch. In the context of reinforcement learning, I'm not clear w...
I am needing to learn how to create and sample from a baseline category logit random effects model in R. I have 5 categories, not fully ordered.. I need to generate about 600 simulated response vectors. Each vector needs to contain 16 multinomial trials, with teh possible responses being one of the five categories ...
Are there any techniques for determining a good state space to use for a dynamic linear model? I'm trying to model ad-clicks with observed values being whether a user clicked on an ad and I'm curious if there's any literature on this. I currently have about 50 or so features that I could use but I don't see how to go f...
I'm fitting a mixed model to explore effects of weather conditions (A,B, C; all factors) and their interactions on response Y (continuous). Study included several subjects and measures have been taken (for every subject) on many days. I'm not interested in the effect of time (or day). I'm selecting fixed explanatory v...
I have 2-D samples of two continuous, correlated random variables where one of them is right-censored. I would like to estimate their joint distribution function using some non-parametric estimator. Any pointers to the literature or code/packages would be highly appreciated.
I am having a hard time figuring out the Cramer Rao lower bound for a random sample of size $n$ from a population with $\Gamma(p, \theta)$ with $p, \theta$ unknown. The problem doesn't say what formulation to use for the gamma function, but I have used $$ f(x|p, \theta) = \frac{\theta^p}{\Gamma(p)} x^{p-1} e^{-\theta x...
What is the difference between time series data and panel data? I think that they are both multi-dimensional data, and both of them involve measurements over time. Is it that the covariance is constant in time series data, but not in panel data?
I have data containing 40,000 observations, coming from around 30,000 subjects. Most subjects contribute one observation, some contribute two. The dependent variable is binary (1/0), and let's say, for the sake of the discussion, that I only have one independent variable, also binary. I want to model the effect of X on...
Bayesian Nework and Makov random field are instances of general probabilistic graphical model. Is it possible to express Bayesian Network or Markov Random Field using deep learning? or in general to express factor graph using deep learning tools like tensorflow/caffee?
I am getting some odd results and I feel like I have been banging my head against the wall for a while, so here I am. I am running a negative binomial regression analysis using MASS:glm.nb: summary(m1 <- glm.nb(NumberOfAppUses ~ MainCountryIncome + offset(log(SpanD...
The question is as follows: In a sample of shall we say 1000 items, 65 come from source A and the rest 935 from source B. If a random sample is drawn from this population of 100 how do I work out the probability of NO samples from source A being drawn? The formula for how to work this out would be appreciated
I'm doing some studying for finals and I'm wondering what would happen in a case like this. With the following model $y_t = x_t * \beta + \epsilon_t$ Say you had two IV's, $a_t$ and $b_t$. In reality, $a_t$ = $x_t$ but you do not know this. So you estimate $y_t$ using $b_t$ as an IV, where $b_t$ ~ iid. $N(0,\sigma^2)$....
Suppose I have 100 objects. I have some "detection criteria" such that I can tell you that 25/100 objects have been "detected." Therefore, my detection fraction is 25%. Now, I want to derive an error bar for my detection experiment. I can do this easily if I assume a binomial distribution: $df = \sqrt{f(1-f)/N} = \sqrt...
I've been reading up on multilevel modeling, and have noticed that many sources seem to frame it as an "alternative" to using cluster-robust standard errors. My question: Are they really alternatives? In particular, let's say you have panel data (e.g., output for every farm in every California county -- measured once p...
I got a question when I tried to prove the distribution of the Maximum likelihood test statistics. The test is $H_0:\theta=\theta_0$ $H_1:\theta\neq\theta_0$ The statistics is $MLR=\frac{\sum f(x_i|\hat{\theta})}{\sum f(x_i|\theta_0)}$ So I want to show $2 \times log(MLR)$, which is $2 \times (l(\hat{\theta})-l(\theta...
In my econometrics class, my teacher defined a stationary time series thus: "Loosely speaking, a time series is stationary if its stochasitc properties and its temporal dependence structure do not change over time." I am confused as to what some examples would be. Would temperature throughout the years be stationary, a...
I've been trying for hours to figure this out on my own. Unfortunately, it's not working very well, so I decided to come here for help. Other responses to similar questions didn't quite answer my question. I'm supposed to interpret data from a Johansen test in R. Here is the output: x = cbind(rt3,rt6) y=data.frame(x) c...
I have an hourly time series of temperature: (can be downloaded here: http://workupload.com/file/eFFPWvL) plot(my_data$time, my_data$temperature, type = "l") for which I would like to calculate a sine cosine function of the form: As I understand the sine cosine are able to capture any complex form of seasonality/cy...
RE: Model selection using misclassification rate in forward selection of logistic regression equation A small misclassification error is good. Keep that factor in the model when doing logistic regression forward selection?
When doing imputation, I can understand why mean substitution can result in regression dilution. However, in the same article about imputation, I don't understand why this is not a concern for univariate analysis? As more of the y-values (dependent variables) get replaced with their means, I know that the sample mean w...
I'm wanting to calculate the level of power achieved in a logistic regression analysis in G*Power using alpha of .05 and two-tailed test. My research question was looking at whether scores on an IAT (IV1 - normal distribution) could predict insufficient or sufficient levels of exercise engagement (binary DV), over and ...
The question is as follows: The MGF of $X$ is given by $M_X(t) = e^{4e^t -4}$ and that of $Y$ is given by $M_Y(t) = (\frac{3e^t+1}{4})^{20}$. Assume also that $X \perp Y$. Compute $P(|XY|\leq 1)$. My attempt at solving was as follows. I would like to see if my answer is correct or needs revision: Clearly, $X\sim P...
Say I have an XOR classification. At point (-2,1) I have a circle, at point (2,1) I have a square, at point (-2,-1) I have a square, and at point (2,-1) I have a circle. The circles belong to one class say +1 and the squares belong to a separate class say -1. I am looking for a kernel function which can lead to zero tr...
Let the multiple linear regression model : $\mathbf Y=\mathbf X\mathbf \beta+\mathbf \epsilon,$ where $\epsilon\sim N(\mathbf 0, \sigma^2\mathbf I)$. Least squares estimates, $ \hat{\mathbf\beta}=(\mathbf X'\mathbf X)^{-1}\mathbf X'\mathbf Y$. The population variance of the estimator is $$Var(\hat{\mathbf\beta})=\sigma...
I need to do seasonality analysis on a daily time series by which I mean the following: Understand the relation between day of the week and data. Use deseasonalized series as an input to the forecasting model. I am comparing 2 methods for this: Usual dummy variable Do a regression yt= b1D1+b2D2...b5D5 + ut where b...
I was working on Unobserved Components Model in R but found that the content in the help section of R is not very elaborate.Maybe it's not completely updated yet. The Nile dataset example online also does not get a lot into how the model works. I want to know how UCM is different to ARIMA and other time series models....
If $I_1, \ldots, I_n$ are iid Bernoulli random variables with probability $p$, and I define $N_1 = \sum_{\{i:I_i=1\}} I_i$, i.e., the number of successes, then by what we know about the Binomial distribution, we should have that: $$ E\left(N_1\right) = E\left(\sum_{\{i:I_i=1\}} I_i\right) = np $$ However, what bothers ...
Excuse my language, I am not a statistician so I will try to explain my question as a layman. If we rank items into groups, let's say best={a,b,c}, good={d,e,f,g}, average={h,i,j} and we have a measurement showing that a>h>b>c>d>i>j>e>f>g, how can we measure the correlation between the two rankings? And how to measure ...
I know that the gamma family of distributions are a two-parameter family, but Chi-square only has one parameter. How is a Chi-square distribution a gamma distribution if it only has one parameter?
The documentation of binomial functions everywhere is very unclear. Can someone please answer with examples?
my git-hub file, demonstrating the problem I am trying to run a binomial regression on a dataset of groups that have taken a pass/fail test. I am working in Python, with statsmodels. My dependent variable is a 2x array of the number of successes and failures for each group. There are eight features, all of which are...
I am trying to make a classifier that effectively distinguishes between control group and patient group, and then I want to use that classifier to distinguish high-risk patients who convert to patient group versus high-risk patients that do not (highrisk-c vs highrisk-nc). Thus, I have a control-patient dataset as the ...
I am new with MatLab and NN. I used the Neural Network Time Series Tool (https://nl.mathworks.com/help/nnet/gs/neural-network-time-series-prediction-and-modeling.html) in order to a make prediction and at the end it offers the possibility to test the NN against new data (for example the actual observations to predict)....
I created land-use rasters for the city of Montreal for 2012, 2014, and 2016; all of which I converted from vectors to rasters in QGIS. I want to create a logit model to predict land-use changes. I was suggested to split up the data into a series of reclassified rasters with values 1 and 0 ... 1 representing a specific...
Let's assume we have two linear regression models $m_1$ and $m_2$, where $m_2$ is nested in $m_1$, and two data sets $d_1$ and $d_2$ which are of different size. Calculating the AIC for each pair shows that the following equation is true: $$ AIC_{m_2,d_1} - AIC_{m_1,d_1} > AIC_{m_2,d_2} - AIC_{m_1,d_2} $$ Can we concl...
I've ~150,000 genomic position that seems to be clustered in specific genomic regions (hotspot). However these "hotspots" may have different sizes (from very small ~ 10,000bp to very large ~500,000bp - bp = base pair). Could someone give me some advice to detect such peaks ? My idea was to use a small window-based appr...
I have 20 predictor variables and 1 response variable. The predictor variables are non-stationary and hence I differenced them to get a stationary series for 20 predictors. When I check the correlations between 20 predictors and 1 response (all stationary) the correlations are less than 0.01. Does that mean I cannot ...
A bunch of N particles are moving in a 2D plane. We are able to get their positions, speeds, and directions of moving at any given time. Another bunch of M particles, somewhere 'beside' the N particles, also have their positions, speeds, and directions recorded. If the first N particles move, the M particles somewhat...
I have designed an experiment to find out the best width of a smartphone keyboard in terms of typing accuracy (# of mistyped letters / total # of letters typed). Two factors were chosen for my DOE: Factor A: People participating the experiment (4 people; small to large thumb size) Factor B: Area of a smartphone keyb...
Is there a recommended way to illustrate a heavily skewed distribution using a boxplot? For example, my boxplot looks like so: It's very difficult to know what the median value is for the green boxplot. If I specify the range using ylim(0, 1), as far as I can tell ggplot2 removes points outside of the range in the bo...
I am confused while trying to find a general expression for the mean and variance of a stationary VAR model. I am trying to do it for VAR(1). I also can't find it in the literature. Can anyone help me?
In CS229, Prof.Andrew Ng says( but doesn't prove ) the relation between Gaussian Discriminant Analysis and Logistic Regression (hypothesis function is sigmoid in both models). Is this (similarity of hypothesis function) because of y being distributed Bernoulli?
More specifically, I would like to know the main advantages and disadvantages in using one or the other method please and in which situation I should use them. Thanks!
I'am analyzing an artcle , it said that split plot anova was conducted to asses the impact of two different interventions on student scores on achievement test, across two time period (pre intervention, post intervention) Please help me to interpret the tabel result
I wonder if anyone would like to give me some guidance (I am a beginner in R). My data comes from a forest, where they performed a conservation fire. We measured the volume of trees before the fire (2007) and after (2013 and 2016) in eight plots. I want to analyze if there is any difference in tree volume between the y...
I have a stack of $n$ distinct cards. I randomly draw $N$ cards from the stack with replacement. Assume that $N \ge n$. What is the probability that I observe all cards at least once? I got this far: The probability that the multiplicities of the states in the sample are $m_1, \dots, m_n$ is: $$\frac{1}{n^{N}}\frac{N!}...
I have some proportion data looking like this: This data is bounded between 0 and 1, with most values being either 0 or 1. I would like to find an appropriate distribution to model this data. I thought i would use a beta distribution (with parameters below 1 to get the right shape), but it is not defined at 0 and 1 w...
Say that $Y$ is a continuous random variable, and $X$ is a discrete one. $$ \Pr(X=x|Y=y) = \frac{\Pr(X=x)\Pr(Y=y|X=x)}{\Pr(Y=y)} $$ As we know, $\Pr(Y=y) = 0$ because $Y$ is a continuous random variable. And based on this, I am tempted to conclude that the probability $\Pr(X=x|Y=y)$ is undefined. However, Wikipedia cla...
Question: Can the correlation coefficient (r or r²) or the covariance (Cov(X,Y)) be somehow translated into a probability distribution for the dependent variable? Example: If r²=0.8 for two random variables X and Y in a data set, in which X is the independent variable and Y is the dependent variable, how can I obtain t...
I have data of around 100 companies/ 500 observations for 5 years. however, some of the companies in the data have unavailable observations for the whole 5 years. Some companies have only 3, 4 or 2 years. Is it ok to delete companies with no available data for two years and more? if yes, is there any reference that can...
I have a question about how to estimate the uncertainty of a value calculated from a non linear model. My non-linear model is the following: $$ y=A+\frac{B}{1+e^{k(x-x_0)}+e^{c(x-x_1)}} $$ where $ A, B, k, c, x_0, x_1$ are fitting parameters that I find using a Levenberg–Marquardt algorithm (non linear least square fit...
I've been working on understanding how R calculates the standard error it reports in the summary() of a regression generated using lm() like: x <- c(1:20) y1 <- 3 * x + rnorm(length(x), sd = 0.5) r1 <- lm(y1 ~ x) s1 <- summary(r1) s1$coefficients and came across the s1$cov.unscaled matrix, which is calculated from th...
I'm an experienced data analyst who is unfortunately ignorant about statistical techniques and clustering. I'm looking for help in identifying the best technique to solve the problem below. A cross tabulation sample of my data is pasted below: in short I have 6,500 survey plots with tree species records (% polygon cove...
The Gompertz distribution has a mean that's difficult to calculate, a variance that is very difficult to calculate (has a hypergeometric function in it), and a skewness that I can't find anyone even talking about trying to calculate. So I can't use the berry-esseen theorem to quantify the error of the CLT approximation...
I have a dataset and I intend to use multiple linear regression analysis with excel since the dataset isn't that massive in volume, just about 500 rows. I have continuous numerical data and I already checked the scatterplots for linearity. Here are my questions: I applied the model I came up with to the dataset to com...
The data is from real time digital marketing campaigns. We setup two paths A and B at the impression level. When a user sees an add, it is counted as an impression. Now we had 1 lac impression at both the paths. However finally 29 players got converted. The data for the same is below: Path A Revenue Data: 5084, 200, 54...
Is there a way to find out which percentiles are being bounded by the interval? Say I calculate a 2-sided tolerance interval for 95% of the population with 95% confidence interval. How do I find out whether this interval is using 0-95%, 1-96%, 2-97%, and so on percentiles? The end game is that I want to calculate a (so...
I want to calculate a bootstrap confidence interval for a mean difference between two groups. Apparently, there are two ways to do it, depending on whether the null hypothesis of a zero difference between the groups is accepted or not. Here are my approaches: If the null hypothesis is assumed to be true, the bootstrap ...
I'm thinking of cases where generalisation can be improved if the parameter space was discretised instead of continuous during the fitting stage. It is easy to think of contrived examples where this is true (see the below example), but I'm wondering if there's been any research into the theory behind this and the pract...
I have a dataset with a non-binary target class $c$. I want to compute the AUC of my classifier and can do this easily using the one-vs-rest approach. I train $\binom{n}{2}$ classifiers where n is the number of different values that $c$ can take and compute the AUC for each of those classifiers then just take the mean ...
I want to quantify correlation between rankings. Rankings in this case have got ties. Also rankings don't rank all the same entries, the rankings might be of different sizes and rank different sets, of course, with non-empty intersection (there are elements that are ranked on both rankings). I have read through wikiped...
I would like to make a simple estimate of regional GDP. Predicted values of GDP on country level are available, so I was thinking about using these values and create a simple model. Simple linear regression would assume that the reliationship between regional and national GDP will be the same all the time. So I tried E...
**1) i would like to do diagnostics test on the standardized residuals but i'm not sure how to use them, neither how to get them for example in R: 2 ) After the fitting i would like also to compare my garch-models using the AIC and BIC criterion, how can i do that ? I'm using R and i'm stuck with these doubts; i also...
I got urinary concentrations from numerous rats with up to four repeated measurements per rat. I want to compute the intraclass correlation (ICC) in order to assess the high or Low reproductibility of rat urination concentration over time. I decided to compute ICC (1,1) following Shrout and Fleiss (1979; "Intraclass Co...
So I'm doing a research for this company for my thesis and I was told I should use ANOVA for this. I have 5 dependent variables and 3 independent variables. These variables are from the same company with 3 branches. To better visualize this, here is my Operational Framework. Basically, I want to know the effects of th...
Suppose I have two random processes $X_t$ and $Y_t$, which are both $I(1)$ in levels and logs, ie, $\text{log}(X_t), \text{log}(Y_t)$ are $I(1)$ as well. Suppose the variables are not cointegrated in levels but they are in logs, ie there does not exist $\mathbf{\beta} \in \mathbb{R}$ such that $X_t - \beta Y_t$ is an $...
I have been researching how to do a repeated measures ANOVA in R for a few days, and the problem is there are so many different ways of doing it, that I do not know what the correct or best method is. The data I want to analyze has one dependent variable (Prosomal Width), and one independent variable (Location) that co...
(NB: I don't have a very strong background in statistics, so I would not be surprised if this question is naive or the answer is apparent from some rather basic principle.) I'm wondering how I might analyze the following situation using principles of statistics: A Manufacturing Process Consider a manufacturing process ...
We have 9 cages of mice, 5 (genetically identical, age- and sex-matched) mice per cage. They receive 3 treatments, so 3 cages per treatment. Among the ways to evaluate treatments is to monitor weight change (i.e. repeatedly weigh the individual animals). However, individual mice are not marked in the cages, so we don't...
I am trying to do a regression analysis in which one of the predictors is a categorical variable that has three categories, say, A, B and C. These categories CANNOT be put in a specific order as e.g. A > B > C. But instead they just fall into different categories, as e.g. race = hispanic, race = asian or race = white e...
This is a follow up question to my previous question Let $A,B,C$ be independent normally distribution variables $\mathcal{N}(0,\sigma^2)$ with unknown variance $\sigma^2$. Let $D = A + B + C$. Given $n$ samples of $A$ and $D$ suggest an estimator $\hat{\sigma}_D^2$ the variance of $D$. Obviously a simple approach is to...
Take the model $y=\beta X + \rho Wy +\epsilon$ where X contains the dependent variables and W is the weighting matrix. We have that: $y = (I-\rho W)^{-1}I\beta X = aX$ We can compute the average indirect effect as the average total effect minus the average direct effect. The average direct effect would be the average o...
I have some simple model with 2 independent input variables A,B . I want to calculate some probability. $$ P(X|a,b) = P(a,b|X) P(X) / P(a,b) \\ P(X|a,b) = P(a|X) P(b|X) * P(X) / ( P(a) * P(b) ) \\ ... \\\ P(X|a,b) = P(X|a) P(X|b) / P(X) $$ all probabilities from the right side can be estimated ,...
My question is: Is there a set of data which allow the median to be larger than the mode, the mode to be larger than the mean and the mean to be larger than the range? If so, is there a pattern, or a specific characteristic of a dataset to allow this situation (skewness of some kind maybe...)? P.S I have corrected my t...
I have a dataset where each data point is characterized by two variables: X(time) and Y(volts). When I plot my data it would be something like this: The plot shows some data points created a cluster (I demonstrated those with the red boundary). The other data points are noise points which are not important for me. I ...
I have a webpage with a "purchase" button. Users must be logged in to see the page. I would like to A/B test two versions of the button. Each user will consistently see one version of the button for the duration of the experiment. That is, the unit of diversion is the user. Should I measure the click-through probabili...
Suppose I cluster a set of records. I now wish to know which records in the set would maximise the disruption to the clusters if they were removed and the data reclustered. I also require the same with decision trees. If I build a decision tree from a set of records, how can I establish the records to leave out to maxi...
From some machine learning notes talking about some discriminative classification methods, in particular logistic regression, where y is the class label (0 or 1) and x is the data, it is said that: if $x|y = 0 \sim \mathrm{Poisson}(λ_0)$, and $x|y = 1 \sim \mathrm{Poisson}(λ_1)$, then $p(y|x)$ will be logistic. Why i...
I'm attempting the final problem in Chapter 2 of Michael Nielsen's Neural Networks and Deep Learning book. The network in question is a simple 3-layer feedforward neural network with sigmoid activation functions for the neurons in the hidden and output layers. When calculating the gradient, it appears I need to manage ...
I conducted an experiment with 80 subjects, each of them performing 50 trials. I measured the time (in seconds) needed to accomplish each trial. Trial-after-trial, every subject has the tendency to get faster in accomplishing his task. I can clearly see that there is a kind of "learning effect". By watching at some plo...
I have two time series S = s[1], s[2], s[3],..., s[t-1], s[t] R = r[1], r[2], r[3],..., r[t-1], r[t] Such that: r[t] = p[t,1]*s[1] + p[t,2]*s[2] + p[t,3]*s[3] ... + p[t,t-1]*s[t-1] r[t-1] = p[t-1,1]*s[1] + p[t-1,2]*s[2] + p[t-1,3]*s[3] ... + p[t-1,t-2]*s[t-2] etc... Where p[i,j] are unknown percentages. My goal ...
I have to calculate the inter-agreement rate using cohen's kappa. However, I only know how to do it with two observers and two categories of my variable. My task now is this: I have a set of tweets. Each tweet should be rated as positive/negative/neutral by two observers, thus I have two observers yet 3 categories. Ho...
In some places they speak of "factorial models". For instance: Symbolic Description of Factorial Models for Analysis of Variance. My question is what is a factorial model? Is it just a model where the explanatory variables are categorical variables?
I have some 2d points data and I generated a convex hull mesh. Looking by eye, it seems that the points are not uniformly distributed inside the convex. I wonder what is the best way to characterize this asymmetry? An example is like this: data: {{1.70411, -0.82218}, {1.47802, 0.85122}, {3.19453, 2.18674}, {0.583261, -...
I'm trying to understand precision recall curve, I understand what precision and recall are but the thing I don't understand is the "baseline" value. I was reading this link https://classeval.wordpress.com/introduction/introduction-to-the-precision-recall-plot/ and I don't understand the baseline part as shown in "A P...
I understand that random forest regression has a numeric response variable, and random forest classification has a categorical response variable. The response for my data is always an integer representing a rate per hour. It is fairly constant over time. I have one year of hourly data and only 31 different possible ra...
Suppose a rank $k$ matrix $Z$ with orthonormal columns $z_1,..., z_k$ satisfies Frobenius Norm Error: $$\|A − ZZ^TA_k\|_F ≤ (1 + \epsilon)\|A − A_k\|_F -- (1)$$ It is said that Frobenius norm error is often hopelessly insufficient, especially for data analysis and learning applications. When A has a “heavy-tail” of si...
I am confused. There is a question / claim, which says this: Original Claim: the percentage of Blue M & M's is greater than 5%. The hypothesis test results in a P-value of 0.0010, given alpha = 0.05 So everything is fine so far. I have the P-value and compare it with alpha. Obviously, P-Value < Alpha, so I am rejec...
I've been reading the book Statistical Learning with Sparsity and I just came across the Group Lasso section. I can follow the maths to the final derivation of the Group Lasso solutions when the ${\bf Z}_j$ are not orthonormal. Nonetheless, when this is the case, the solutions are said to be easier and have the form $$...
Suppose that $X^n := \{x_1, x_2, \ldots, x_n\}$ is a sample of $n$ i.i.d $p$-dimensional points, where $X \sim N(\mu, \Sigma)$. What is known about the distribution of $\min_{x_i \in X^n} \|x_i\|^2_2$? I know that $\|x_i\|^2_2$ has a non-central $\chi^2_p$ distribution but does the distribution of the sample minimum ha...