instruction
stringlengths
9
38.7k
I am performing a physical experiment where the unavoidably inaccurate setup likely creates errors in the inversion of the data for the model. Let's assume a linear relationship between data $\mathbf d$ and model $\mathbf m$ as follows: $$\mathbf d = \mathbf W \mathbf m,$$ where $\mathbf W$ is the operator (encoding th...
I'm researching a method for sampling uniformly from an $n$-dimensional shape, for which conventional rejection sampling may be too slow. I am generating 1,000 points using each method, and wish to compare the quality of their randomness. The points generated using the new method should be identically distributed to th...
I am trying to run a logistic regression analysis in R using the speedglm package. CNVs are a type of genetic variant. We measure whether CNVs occur in cases or controls and whether genes in a pathway are "hit" by the CNV or not (Pathway.hit), and how many genes were hit by the CNV that were not in the pathway (Pathwa...
I have to compare the survival proportion between two treatments. Because of some limitations, I can only take a sample of $n_{1}=5$ animals from treatment 1, and $n_{2}=50$ animals from treatment 2. Both samples come from the same batch so that these two samples can be considered as paired. The survival proportion of ...
I have fit a non-linear model with 3 parameters to a data set. I have a preconceived notion that one of the parameters will be one of 2 values. So I would like to compare 2 fits of the same model using the two theoretical values for the fixed parameter. Because the 2 fits are not nested and hence DF is same in both fi...
I would like a meaningful and concise explanation for what it means exactly, when someone says, "We built a statistical model of all our images". I overheard this, (and keep overhearing that phrase), but I am not sure how/what that entails exactly. EDIT: Context: The problem set here is as follows. From a UAV, video...
I attempted to run lasso on a 12 X 52 matrix (11 predictors) using this MATLAB function http://www.mathworks.com.au/help/stats/lasso.html. I found that the results converged to zero. How should I interpret this? In the interests of full disclosure, I'd like to state that this isn't what happens when I include my full s...
I'm trying to figure out how to price items on a market that appears to move randomly but within certain bounds. For example, here is a brief look at the time series data: DateTime Price Volume 2013-08-27 00:00:00 1.9299999476 4 2013-08-27 01:00:00 1.6849999428 2 2013-08-27 02:00:00 1.70242977...
I have a question regarding to time series forecasting. In particular I've been working with a Bayesian approach, but I think the question is independent from that. I have several time series which are very stable in time, except on specific dates that they have sudden changes. The problem is that if I use a forecastin...
I am fairly new to R and data mining concepts and am trying to understand the rpart package in R. I am a bit confused about the role of priors and loss in the making of a decision tree. I am referring to the http://cran.r-project.org/web/packages/rpart/vignettes/longintro.pdf document and would appreciate any explanat...
Consider the data below. (Dependent Variable: Human Development Index (HDI)) Coefficient Std. Error t-ratio p-value const -0.260523 0.129316 2.0146 0.05693 * LITRATE 0.0031374 0.000965695 3.2488 0.00384 *** LIFEXP 0.0051052 0.00268771 1.8995 0.07133 *...
Why Hierarchical? : I've tried researching this problem, and from what I understand, this is a "hierarchical" problem, because you are making observations about observations from a population, rather than making direct observations from that population. Reference: http://www.econ.umn.edu/~bajari/iosp07/rossi1.pdf Why ...
Consider the simple linear regression model: \begin{align*} y = \beta_0 + \beta_1 x + \epsilon \end{align*} Let $b_1$ be the least squares estimate of $\beta_1$, assuming the variance of error $\sigma ^2$ is known, then we have: \begin{align*} \sigma ^2(b_1) &= \frac{\sigma ^2}{S_{xx}} \\ \sigma(b_1) &= \f...
It's my understanding that the sum of squared errors (SSE) serves as a maximum likelihood estimator when a model's errors are normally distributed. (That is, if you find model parameters that minimize the SSE, they also maximize the likelihood.) However, the error distribution of my model looks much more like a Cauchy ...
I have two discrete random variables with PMF of the form \begin{align*} P(X) = \begin{cases} p_0, & \mbox{if } X=0 \\ p_1, & \mbox{if } X=1 \\ p_2, & \mbox{if } X=2 \end{cases} \end{align*} \begin{align*} P(Y) = \begin{cases} q_0, & \mbox{if } Y=0 \\ q_1, & \...
The Short question: Where can I find a book for the theory of probability and statistics that teaches from scratch in a rigorous (very important condition) way? The book must not be elementary, but it has to start from scratch. (For example, I think the Lang/Hungerford algebra texts begin by defining what a group is: i...
In an online game the chance of succeeding at an action starts at 5% and goes up 5% every time the action fails. Upon success the chance resets back to 5%. (So you know how they say a die has no memory of prior rolls? Here it does.) The question: How many attempts do I need to have a 50/50 chance of success? Alternate ...
I would like to run a plain-vanilla time-series regression, to estimate the sensitivity of my dependent variable to a set of explanatory variables. However, instead of running the regression on the entire time-series, I would like to running it only over specific time periods, all stacked together as one continuous dat...
I'm designing an experiment where subjects are asked to choose their favorite object among 3 different objects. Each subject gets the same 3 objects to choose from. How can I determine if one of the objects is favorited over the other objects in this experiment? The data looks like this: Subject Object 1 Object 2 O...
I'm in the process of building a prediction system, and one of its requirements is to be able to give the confidence of a prediction. That is, given a set of independent variables, it should be able to not only give the predicted dependent variable, but also some indication of "confidence". Classifiers are typically ab...
I have a question related to the use of chi square test for paired data. I have read that McNemar tests would be an option but in some software like R it works only for 2x2 data (may be I do not know the correct way to do it) and my data is more than a 2 x 2. These are counts for individuals before and after applying ...
I would like to sample a uniformly random point in a polygon... If sample a large number they'd be equally likely to fall into two regions if they have the same area. This would be quite simple if it were a square since I would take two random numbers in [0,1] as my coordinates. The shape I have is a regular polygon, ...
Can I apply the Poisson distribution on the following type of data set? I have two types of processes, each generating events. The actual data that I posses are sets of these timestamps. The occurrences are independent and random. Unfortunately, events are clustered because the process generating them pauses for random...
Central Limit Theorem says, "given certain conditions, the arithmetic mean of a sufficiently large number of iterates of independent random variables, each with a well-defined expected value and well-defined variance, will be approximately normally distributed". So this can be used in Hypothesis Testing, that even a di...
I've tried to find an answer to this to no avail. It is similar to this question, but not quite identical. I have a continuous dependent variable that occurs between zero and one (with some data points landing precisely on zero and one). I want to fit a $S$-shaped regression. My data is on coral reefs and the $Y$ varia...
I need to derive analytic expressions for the autocovariance function $\gamma\left(k\right)$ of an ARMA(2,1) process denoted by: $y_t=\phi_1y_{t-1}+\phi_2y_{t-2}+\theta_1\epsilon_{t-1}+\epsilon_t$ So, I know that: $\gamma\left(k\right) = \mathrm{E}\left[y_t,y_{t-k}\right]$ so I can write: $\gamma\left(k\right) = \phi_1...
I'm new in area of deep learning and for me first step was to read interesting articles from deeplearning.net site. In papers about deep learning, Hinton and others mostly talk about applying it to image problems. Can someone try to answer me can it be applied to problem of predicting time series values (financial, int...
Consider the linear regression model $${\bf y} = {\bf X}\beta + {\bf e},$$ where ${\bf y}$ is an $n\times 1$ vector, $\beta$ is a $p\times 1$ vector, ${\bf e}$ is an $n\times 1$ vector. Assume also that $e_j\stackrel{ind.}{\sim} N(0,\sigma)$. What is the Jeffreys prior of the parameters $(\beta,\sigma)$? I am basicall...
I work with data containing SNP genotypes for thousands of individuals. One of the task I had was to perform IBD between the individuals to find out the individual relatedness. I perform the IBD analysis with PLINK (http://pngu.mgh.harvard.edu/~purcell/plink/ibdibs.shtml). However, I always wondered how it works mathem...
The essence of LDA is word co-occurrence. I want to know why? and does word co-occurrence mean two words appear together in a certain document or just appear in the documents collection together? Thank you all in advance.
Suppose we have the following classical normal linear regression model: $$y_i = \beta_1 x_{1i} + \beta_2x_{2i} + \beta_3x_{3i} + e_i$$ where $e_{i} \sim iid.N(0, \sigma^2)$ for all $i = 1, 2, \cdots, n$ and $x_{1i} = 1$ for all $i = 1, 2, \cdots, n$. I artificially generate data values for both $x_{2i}$ and $x_{3i}$ su...
I have categorical survey data on people's attitudes towards a certain policy area from 13 countries. The response variable is categorical, and includes 4 distinct answers that cannot be ordered. I would like to build a multi-level random-intercept and random-slope multinomial model. The problem is, that the number of...
I'm trying to project a point into an existing PCOA (Principal Coordinates Analysis) space (in R). I am under the impression this must be possible, but I can't figure out how to go about it. Here's how far I've gotten (a toy example): x <- c(1:10) y <- c(10:1) z <- c(rnorm(10,mean=0,sd=2),rnorm(10,mean=10,sd=2)) m <- c...
I have recently seen a couple of Principal Coordinates Analysis (PCoA) projection plots which show "percentage variation explained" by the respective principal coordinates. Given that the analysis is not done on a co-variance matrix (it is usually done on some ecological metric) it seems wrong to imply that the magnitu...
I am currently analyzing transport volume time series (private consumption goods) on a daily basis. I am trying to fit an auto regressive model an than also include exogenous factors (as weather, web search activity etc.). There are two obvious seasonal patterns. During the week and during the year. However, all value...
I have a dataset with mostly financial variables (120 features, 4k examples) which are mostly highly correlated and very noisy (technical indicators, for example) so I would like to select about max 20-30 for later use with model training (binary classification - increase / decrease). I was thinking about using random ...
What is the difference between training, test, and holdout sets? I know these concepts, just want to ensure that I have understood correctly. Training set is something that we have as of now. We will remove subset from it and removed subset will be called holdout set. We will build models using remaining data (what re...
In case of caret package test function metric option, one can use either accuracy or ROC as a metric that will be used to finalize values of tuning parameters. I felt that accuracy and ROC are the same Accuracy = total correct predictions/total samples ROC= looks at various probability cutoffs and gives probability cut...
I'm in the initial stages of brainstorming a way to provide simplified, at-a-glance summaries of scientific papers encapsulated in a few statistics, and possibly a value on a scale based on weighted versions of those statistics in order to provide a quick, approximate visual for the relative likelihood that the data wi...
I have some doubts related to my neural network implementation. I have 750 features and 98 outputs. I have number of samples = 5000. Now I used cross validation to select the number of neurons in the hidden layer(1 hidden layer). I used 10 fold cross validation. I got that number of neurons = 30 performed the best whic...
Suppose we have two independent variables and one response variable, we can fit three different models: \begin{align*} Y &= \beta_{00} + \beta_{10} X_1 + \epsilon \\ Y &= \beta_{01} + \beta_{20} X_2 + \epsilon \\ Y &= \beta_{02} + \beta_{11} X_1 + \beta_{21} X_2 + \epsilon \end{align*} When $X_1$ and $X_2...
I am plotting a residual plot to test for heteroskedasticity. The Breusch-Pagan test is significant and therefore I am suspecting there is evidence on heteroskedasticity. The question is: (a) How can I interpret such graph? I know some points seem to be on top of each other etc. is it as simple as that? (b) Also the d...
If nonparametric tests are assumed to have less power than their parametric alternatives, does this imply that if any parametric test does not reject null, then its nonparametric alternative does not reject null too? How can this change if assumptions of parametric test are not met and the test is used anyway?
As far as I know, item response theory is mainly used within psychology to analyse survey data, personality questionaires or in educational setting. Are there other areas (possibly outside of psychology) where IRT is used? And if so, what are they?
I have performed a number of tests to detect any presence of autocorrelation in my monthly return series. The test results confirm that the standard errors are not independent. A Durbin-Watson test result shows an upper bound violation with a d-statistics of 2.16, which implicates (first order) negative autocorrelation...
How can I construct an asymptotic confidence interval for a real parameter, starting from the MLE for that parameter?
I have a large table of attributes of different real-world movie theaters. I have classified them by the "true" physical entity to which they belong, so that there may be multiple records for a given movie theater entity. In this table, I have information such as names, how many screens they have, etc. Given some ident...
I need to estimate baseline hazard function $\lambda_0(t)$ in a time dependent Cox model $\lambda(t) = \lambda_0(t) \exp(Z(t)'\beta)$ While I took Survival course, I remember that the direct derivative of cumulative hazard function ($\lambda_0(t) dt = d\Lambda_0(t)$) would not be a good estimator because Breslow estima...
I have a set of 1200 time series for which I need to build a forecasting model. Since it is too time consuming to build a model for each series, I separated the series into clusters and what I want to do now is to build a forecasting model for each cluster (using time series techniques). However, I don't know which is ...
I am implementing a Random Forest classifier as a side-project, and I am a bit unclear on what the correct approach is to compute, say, the OOB estimate for the classifier error rate. My understanding is that typically, for each tree in the forest, one creates a training sample from the original sample by taking Exam...
How can I measure separability between different number of instance of one feature vector? For example the main vector is V=[1 1 2 3 4 5 7 8 10 100 1000 99 999 54] and three sub-vector with different sample lengths are t1=[1 1 2 3 99 1000] or t2=[1 10 1000] or t3=[2 3 4 10 100 99 999 54]. Which one is more separable an...
I am developing a search engine system based on the vector space model, and I am confused on what approach I should take to evaluate the system. My case is this: I have a set of indexed documents in pairs (di,ti) stored in a database. And I can calculate the similarities between a query and the set of indexed documen...
From what I have come to understand, the events A and B are considered independent for purposes of probability theory when $$ p(A \cap B) = p(A) \cdot p(B) $$ Now, supposing I flip two coins. I write down the probabilities for the joint outcomes as $\left(\frac{1}{4}, \frac{1}{4}, \frac{1}{4}, \frac{1}{4}\right)$ and s...
Using the predict() command in R, I have been able to calculate estimates (av2) and se-intervals (upper, lower)for my data below. The calculated proportion (av2) is different from the observed proportion (av1) - so 1. I'm not sure why this is? When writing up the experiment which should I quote and graph? Data and work...
I have collected data that represent stimulation levels in three different time points ($T_0$, $T_1$ and $T_2$) using three different stimulants ($S_1$, $S_2$ and $S_3$) and a control ($C$). I have tested all three stimulants with three different subjects ($J_1$, $J_2$ and $J_3$) and for each subject and stimulant/ con...
Generally speaking I want to find out if the regression models I built are significantly different from each other. I have monthly energy consumption data (the independent variable) from a couple of houses and Heating Degree Days (HDD) covering a period of about 3 years. The data has been divided into groups with Heati...
I'm reading web pages for goodness of fit tests, when I came to the Anderson–Darling test and the Cramér–von Mises criterion. So far I got the point; it seems the Anderson–Darling test and the Cramér–von Mises criterion are similar, just based on a different weighting function $w$. Also there's a variant of the Cramér–...
How to derive the following formula: where $\sigma(y)$ is the standard deviation of $y$ (dependent variable), and $\rho(x,y)^2$ is correlation between $x$ and $y$ squared, $\sigma(\epsilon)$ the standard deviation of the error. $$ \sigma(\epsilon) = \sigma(y) \sqrt{1-\rho(x,y)^2} $$ if $y = a +bx + \epsilon$.
I have a question regarding Monte Carlo simulation (direct simulation), applied to propagation of uncertainties. From what I understand Monte Carlo accepts random numbers of each input variable of the model. These random numbers are generated with the mean, standard deviation and type of PDF (normal, triangular, unifor...
I performed an ANOVA analysis using the population genetic software Arlequin. I obtained, from some data set, a weird result: ---------------------------------------------------------------------- Source of Sum of Variance Percentage variation d.f. squares components ...
I want to apply a multilevel model (random intercept random slope model) comparing Maximum Likelihood and Bayesian estimation. I am used to Maximum Likelihood estimation, however, the Bayesian estimation part is not perfectly clear to me. 1) Do I necessarily have to use Hierarchical Bayes estimation when I want to ap...
Below is a print screen of a summary(lm(..)). I called the response variable response explained by a continuous variable X and a factor Y. I'm trying to understand (not to the point of understanding the algorithms used to compute these results) the meaning of this output. My questions might be duplicates, but I haven'...
I have recently been into machine learning. So far, I learned that in supervised learning, the result of regression is often a real number, for example, in linear regression, outcome y is a real number. My question is that is it possible for y to be a vector?
What can be said about the convergence rate of stratified sample means to a normal distribution, given different allocation schemes? Obviously, under very poor allocation, this convergence can fail (for instance, keeping the sample size in one stratum fixed); but for any reasonable scheme, and under reasonable hypothes...
I measured a binary response for each subject in 5 different conditions. For each subject and condition, I replicated the experiment 36 times. I thus have 36 binary values per condition per subject. I am trying to build a model for those data. I suppose a logistic regression is what I'm looking for, and I am working wi...
I have a set of samples from a random variable, is there any method so that I can confirm/check to know whether they follow a laplace distribution in an statistically rigorous way? I am very new to statistics and would really be grateful if you could at least point me towards some litrature. Thanks
I'm trying to put together a self-directed math curriculum to prepare for learning data mining and machine learning. This is motivated by starting Andrew Ng's machine learning class on Coursera and feeling that before proceeding I needed to improve my math skills. I graduated from college a while ago so my algebra and ...
I'm familiar with the bag of words/Naive bayes sentiment analysis for text (e.g. http://streamhacker.com/2010/05/10/text-classification-sentiment-analysis-naive-bayes-classifier/) I was curious to see if anyone here knows anything about computing sentiment of a sentence with respect to a subject. For example, with resp...
I have a multinomial logit model with three outcome categories and a variety of (primarily binary) independent variables. How would I go about bootstrapping the average treatment effect and its confidence interval of a binary variable? Right now my procedure is as follows: After running the full model as a multinomia...
Since the population variance can never be estimated, will we always have a t-distribution instead of normal?
I am interested in modeling the following experiment: A binomial trial with $n$ Bernoulli experiments is run. For the k positive outcomes a second (independent) binomial trial with $k$ runs with a different success probability is run. For example: I throw $n$ darts with probability $p_1$ of hitting the bull's eye. The ...
Let's say I give you a 10-sided die and tell you that it is biased in some way. I then let you roll the die 5 times and you observe, let's say, 8, 8, 8, 2, and 8. Lastly, I ask you what your belief is regarding how the die is biased. How would you use Bayes' Theorem in this situation to go from complete ignorance to a...
I've been asked by a reviewer on a manuscript to provide plots of a model fit for a binomial lme which is specified as follows: EVENT_OCCURRED ~ (IV1*IV2) + IV3 + (1|PPT) + (1|RANDOM1) + (1|RANDOM2) + (1|RANDOM3) Where EVENT_OCCURRED is a binary value (0/1), IV1, IV2 and IV3 are independent variables, PPT is the parti...
I'm having trouble understanding the calculation of conditional versus unconditional expectations in this case: \begin{array}{c c c c} & \quad &X=1\quad &X=-1\quad &X=2 \\ &Y=1\quad &0.25\quad &0.25\quad &0 \\ &Y=2\quad &0\quad &0\quad &0.5 \end{array} \begin{align} ~ \\ ~ \\ ~ \\ E(Y)&=\sum_Y ...
I'm really new to ARIMA methods and am trying to forecast electricity load. I've integrated: electricity load, temperature, weekday (dummy), public holidays, and school holidays. My model tries to perform a non seasonal ARIMA with linear regression for each hour of the day. Here is my code for an example of one of the ...
Suppose you ask 100 people, would you purchase this item for $1000? You get responses that fall into one of three categories, Yes, No or Maybe. Assuming you get a non-trivial number of each replies, can it be estimated what price would give an equal number of Yes's and No's (with the rest being Maybe's). How would o...
I have AMOS and Stata, and I have a colleague who has Mplus (and I'd rather not ask the colleague to run my data for me). I recently discovered that Stata has SEM capabilities. I looked online, but I can't find any comparison of Stata vs AMOS vs Mplus... What are your thoughts on comparing the 3? I'm particularly inte...
I have a collection of Poisson processes each with an unknown $\lambda$. I would like to estimate $\lambda$ for each process. for each process I could take either the total number of event over the total time or the inverse of the mean of the waiting times. Given that the dataset is quite small, with many of the proces...
I am not very familiar with mixed models --- I have been reviewing the various tutorials on the web but still am not sure how to specify my model, even as a starting point for comparison. I have a relatively simple design: two non-random groups (normal/obese) -- randomized within each group to two conditions (control/...
I'm wondering what the value is in taking a continuous predictor variable and breaking it up (e.g., into quintiles), before using it in a model. It seems to me that by binning the variable we lose information. Is this just so we can model non-linear effects? If we kept the variable continuous and it wasn't really a ...
The query I have relates to calculating the variance of AR(1) processes that are smoothed with a simple moving average. So: In an AR(1) process of the form: $$ X_t=c+\varphi X_{t-1}+\varepsilon_t, $$ the variance can be calculated as: $$ \text{var}(X_t)=E(X^2_t)-\mu^2=\frac{\sigma^2_{\varepsilon}}{1-\varphi^2}, $$ wher...
I am given regression equations, one showing linear regression of x on y, and the other y on x. Both refer to the same set of data-points. 4X - 5Y + 33 = 0 20X - 9Y - 107 = 0 Taking the first to be X (dependent) on Y (independent) => of the form X = a + bY. I end up with slope value of 1.25 Taking the second to be Y...
I work for a company that ships material (a couple of thousand shipments per day) around the world. In order to ship anything a customer has to declare the weight of a shipment and declare the contents To circumvent customs they under declare material for example T-Shirts might be the declared contents but the actual c...
I really need help with an analysis I am doing. The study involves a comparison of two different treatments for bulimia (weight concern treatment and perfectionism treatment) and a combination of the 2 treatments, as well as a control group over time. In other words, participants were randomly allocated to one of four ...
Hi and thanks for any help re the below This is a fairly complex question so I will attempt to ask it in a fairly basic manor. I have data on the abundance of 99 different species of estuarine macroinvertebrate species and the sediment mud content (0 - 100 %) in which each observation was obtained. I have a total of 1...
I am controlling for education-level (two dummy variables) and another covariate in my regression model. I'm conducting a hierarchical regression analysis. I was confused about how I should be entering all the predictors. Do I enter the dummy variables and other covariate in the first block and then the main predictors...
In the case of count data where my variance is 6.34 and mean is 5.44, which would be a better fit to the data - Poisson or negative binomial? And what will be the assumptions ?
This has been originally asked at math.stackexchange where it was suggested that I try Cross Validated. My background is not mathematics. This is an IT problem that may have a mathematical solution: I have a large amount of sets of variables. The variables belong to a distinct set of data (for example, each variable ma...
What are the differences between planning, prediction and forecasting in relation to data mining and business intelligence? It would be great if you could provide some concrete examples of these three concepts. I don't have enough experience to understand it.
I'm interested in a good reference for results concerning asymptotic properties of maximum likelihood estimators. Consider a model $\{f_n(\cdot \mid \theta): \theta \in \Theta, n \in \mathbb N\}$ where $f_n(\mathbf x \mid \theta)$ is an $n$-dimensional density, and $\hat \theta_n$ is the MLE based on a sample $X_1, \ld...
I have an RNA_Seq dataset (FPKM values) obtained from the ENCODE Caltech datasets for K562 cells; I also have 6 different lists of genes and I want to show that the expression values of my panel of genes is not random. Therefore, I decided to use R and perform bootstrapping. Bootstrapping, as far as I know, requires no...
I am about to develop a new questionnaire with 142 questions I have performed exploratory factor analysis and 30 latent factors were extracted. I was wondering if it is necessary to perform confirmatory factor analysis for my newly constructed questionnaire too.
I know the question sounds weird or perhaps, silly. And my limited knowledge in statistics might have caused ambiguity in presenting the problem. But still, here's the case: Suppose there's a population of bernoulli experiments and the probability of success of these bernoulli experiments follow a normal distribution ...
I have a group of items S, say there are 100 items in S, and I know some features of these items, i.e., color, size, ...Now, I have another group of items P, say there are 10000 items in P. What can I do to find a sub group of items in P that are similar to items in S? I know the corresponding features of all items in ...
I have a very limited understanding of statistics, and am having trouble translating an answer to this question from quant.SE, "Separating the wheat from the chaff", the answer being: Larry Harris has a chapter on performance evaluation in Trading and Exchanges. He states that over a long period of time, a skilled ...
I fitted ARIMA and NAR models to 10 different univariate time series. These time series are water characteristics at a water treatment plant (CO$_2$, TDS, TH, pH, ...). After fitting suitable models I forecasted seven lags ahead with models for each series. I have seven observed at the end of each series that should b...
Does it make sense to compute confidence intervals and to test hypotheses when data from the whole population is available? In my opinion, the answer is no, since we can accurately compute the true values of the parameters. But then, what is the maximal proportion of data from the original population that allows us to ...
I am a little bit confused about the Area Under Curve (AUC) of ROC and the overall accuracy. Will the AUC be proportional to the overall accuracy? In other words, when we have a larger overall accuracy will we definitely a get larger AUC? Or are they by definition positively correlated? If they are positively correla...
I have to use IsotonicRegression class from scikit-learn with non-uniform point weights: in method IsotonicRegression.fit parameter sample_weight!=None. I roughly know how the weighted PAV algorithm works, but I don't want to insert the rough description into my article. I just want to give some reference. But I could ...
I always thought I understood the concept of variance, but this one confuses me. $ \begin{eqnarray} X & := & (1, 2, 3)\\ E(X) & = & (1 + 2 + 3) / 3 = 2\\ Var(X) & = & Cov(X, X) = E((X - E(X))^2)\\ & = & E((-1, 0, 1)^2)\\ & = & E(1,0,1)\\ & = & 2/3 \end{eqnarray} $ But R tells me that > var(c(1,2,3)) [1] 1 Which part o...