instruction
stringlengths
9
38.7k
Consider the model $ y = \beta_0 + \beta_1 x_1 + \beta_2 x_2 + \epsilon$. What is the relationship between the correlation coefficients $r_{y,x_1}$, $r_{y,x_2}$ and the regression coefficients $\beta_1$ and $\beta_2$? In particular, how to interpret a situation where a particular correlation coefficient is statistic...
I was reading this book related to Kalman filters and I didn't understand a couple of things. I have also attached the screenshot of the pages from the book where I had confusion. The book is Shumway, R.H. and Stoffer, D.S. Time Series Analysis and Its Applications: With R Examples From the first page, I didn't underst...
I have some data that measures how a substance decays over time. At each time point I have 4 measurements. At time points where there is a lot of substance I use the standard error for error bars and this seems standard practice. However, when the amount of substance nears zero and I have a lot of variability in the me...
I am reading a paper in which a statistical difference has been found between two treatment groups for a variable A (p=.05), but not for variables B (p=.06) and C(p=.06), even though A=B-C. Is this possible, and if so, how? The paper states that "All data were statistically analyzed using the Student's independent t-te...
I just stumbled upon a wiki article: http://en.wikipedia.org/wiki/Endogeneity_(economics)#Omitted_Variable In the section "simultaneity" theres a description of a model which says that both variables are codetermined ,i.e. each affecting the other, and it's a static SEM The model is $y_i = \beta_1 x_i + \gamma_1 z_i +...
I have two ordinal variables which are set on different scales. The variables were extracted from a questionnaire. The first variable ranges from -12 to +12 with a step of 1 width, ( -12, -11,...-2,-1 , 0, 1, 2,..., +11, +12) and the second one ranges only from -2 to +2 with the same step width(-2,-1,0,+1,+2). I would...
Assume we would fit this model with systemfit() from the systemfit R package. $y = \beta_1 x + \gamma_1 z + u$ $z = \beta_2 w + \gamma_2 y + v$ Now I can get an estimate of $Cor(u,v)$. I know that one cause of endogenity is that there is a significant correlation between $u$ and $v$. But does this mean that I should lo...
The Real World Problem One of my clients is preparing to send a direct mailer to their subscribed user list, and this statistical challenge came up. Their marketing team has 3 different brochures, and wants to know which brochure gets the highest response rate. They would also like to know if sending the mailer with a...
Is it possible to control the cost of misclassification in the R package randomForest? In my own work false negatives (e.g., missing in error that a person may have a disease) are far more costly than false positives. The package rpart allows the user to control misclassification costs by specifying a loss matrix to w...
I'm trying to calculate the mean survival time of a Weibull distribution, and am getting what feels like an errant estimate of the mean--and each source I look up for how to calculate the mean gives a slightly different formulation. Going from Klein and Moeschberger, the mean is: $$\frac{\Gamma(1+1/\alpha)}{\lambda^{1/...
I am trying to figure out how to simulate bootstrap samples from a dataset with unbalanced clusters. The approach I would like to adopt is non-parametric pairs bootstrap, which easily allows to maintain the dependence structure of the clusters. Suppose for a moment that data were balanced (e.g., 500 mothers, each with...
I am trying to reproduce a paper on two stage randomized clinical trials. In these clinical trials, a patient is randomized to either of the maintenance therapies $B_1$ or $B_2$ upon their remission after getting the induction therapy $A_1$. The remission probability is taken to be 0.80 and the 2nd stage randomization ...
I have in my model two dummy's, for a categorical variable with 3 categories (native, EU-immigrant and non-EU-immigrant). The reference category is 'native'. These are merely control variables. Now I find a significant coefficient for one dummy, and not for the other. See last 2 rows here. Note these are log odds. ...
I am fitting a Fixed-Effects model, with intercepts at cluster level. One of the most direct ways is probably to use the -plm- package. Another well-known possibility is to apply OLS (i.e. to adopt -lm-) to the demeaned data, where the means are taken at the clustering level. This second approach is usually referred to...
Journals and books about the Johansen cointegration test suggest that only I(1) variables should be put into a cointegration test. However many journals modelling economic growth and inflation use two I(0) variables in the cointegration test. Is this an acceptable procedure? What is then the interpretation of the resid...
We're a small team of programmers and we're trying to solve a little problem, but we think we need some advices from professional mathematicians. We want to know if a picture of a card is an Identity Card or not, so we've implemented this algorithm (I've simplified a lot so we can be focused in the maths problems). Ta...
I have been puzzling over this for days but I don't think this was covered at school We simultaneously fly a known number of bomber aircraft, K, through three sequential batteries of surface to air missile (SAM) batteries, A B C. Assume the planes are incapable of destroying the SAM batteries. Assume that the SAM batt...
This seems like it should be a widely-answered, but I've spent a lot of time searching and reading textbooks and have not been able to figure it out. Let's say I give my exciting new treatment pill to a random sample of N people and a placebo pill to a random sample of M people. A of the N people die and B of the M peo...
$X$ and $Y \sim U(0,1)$. Let $$\eqalign{ g(x,y) &= x &\text{ if } &x^2+y^2 \le 1 \\ &=2 &\text{ if } &x^2+y^2 \gt 1 }$$ and $Z = g(X,Y)$. How to find $F_Z(z), \mathbb{E}(Z)$, and $\mathbb{E}(Z | X^2+Y^2 \gt 1 )$? I would appreciate your help.
I want to estimate the parameters of the sum of two complex sinusoids embedded in Gaussian noise: $y[n]=a_1 {\rm e}^{\,j n \theta_1} + a_2 {\rm e}^{\,j n \theta_2} + w[n]$ where $w[n]\sim {\cal N}(0,\sigma^2)$ and $n=1,\ldots,N$. Say that I want to compare the performance of different estimators (Prony, Maximum Likelih...
What are the best researched options for a parametric multivariate probability distribution that is able to be skewed, given curvature, and possibly even multiple modes? I have done some research into unified skew normal distributions and unified skew elliptical distributions, but the available research is very lean, a...
Please pardon me for asking a simple question but I find this field rather very hard. Anyway, here it goes: We are trying to find MLE for a distribution. Now for a given distribution, its MLE is a number that is difficult to estimate. So what we do then is to use Sufficient Statistics for that particular distribution ...
I have two nested nonlinear models and I want to know which provides a better fit to some data. I see descriptions of both the likelihood ratio test and of the incremental F-test (also called the nested F-test or the extra sum-of-squares F-test) but I cannot find any discussion of when you would use one or the other or...
I have a fairly simple dataset consisting of one independent variable, one dependent variable, and a categorical variable. I have plenty of experience running frequentist tests like aov() and lm(), but I cannot figure out how to perform their bayesian equivalents in R. I would like to run a bayesian linear regression...
The Question We have a sample of size $N$ with mean $\bar{x}$ and SD $\bar{\sigma_x}$ from a random variable $X \sim \mathcal{N} (\mu, \sigma^2)$ We have a sample of size $M$ with mean $\bar{y}$ and SD $\bar{\sigma_y}$ from a random variable $Y \sim \mathcal{N} (c\mu, c^2\sigma^2)$ We wish to find estimates of $\mu$ an...
I have a homework assignment that is giving me a hard time on the statistics. Lets say you have 3 stocks, all with n expected return (mean) $\mu = 8\%$, a risk (standard deviation) $\sigma = 16\%$ and a correlation coefficient $\rho = 0.3$ between every tow stocks. The homework questions is: If you build a portfolio f...
In his 1967 paper “A Theorem for Prediction” (Studies in Intelligence 11(4)), Jack Zlotnick discusses how some CIA experiments lead to a “modification” of Bayes' theorem, to account for unreliable evidence. He uses prior and posterior odds $\mathrm{P}$ and $\mathrm{R}$ and a likelihood ratio $\mathrm{L}$ for the origin...
I have a small population of N=137 and a (presumably representative) sample of n=81. The corresponding Finite Population Correction (FPC) factor is FPC=SQRT {(N-n)/(N-1)}= 0.64. Can I apply this correction factor to the estimated standard error of the mean regression slope as follows: (1) SEcor = SE * FPC , (2) tcor= t...
I have a medical background, with absolutely no knowledge about programming. I am working on survival analysis. I have fitted a multivariate Cox model which I need to cross-validate. My questions are: My dataset is small (79 samples & 37 events). Which is the better method of cross-validation - bootstrapping or leave-...
Hello I have the following logistic model with a categorical variable interaction which I wish to plot in R but I am struggling to find any solutions - M <-glm(disorder~placement*ethnic, family=binomial) The ethnic variable has three categories (White, Black & Other) The 'other' category interacts with the variable pl...
That bascially says: Diet influences cholestrol level. The standard model below related to cholestrol level to the content of saturated fats in the diet as $$Y = \beta_0 + \beta_1 x + \epsilon $$ where $x$ describes consumption of saturated fats. It is believed that eating fruits can lower cholestrol level. Define th...
In my regression, I have a predictor (measured in proportions) with very low variance (.002). It had no significant effect on the outcome due to a very high standard error of the regression coefficient. When reporting on the effect in a paper, is it right to say there was no effect of my predictor in my study? Even th...
I have this confusion related to the calculation of a conditional distribution suppose $y_n = N(0,w)$ $p(o_n|y_n) = N(D.y_n,\phi)$ How do I calculate $p(y_n|o_n)$ Actually I was reading this paper related to imputation of missing data exploiting the spatial correlation between data http://astro.temple.edu/~tua86150/Lo...
I was a bit confused about the modelling of temporal correlation in a certain paper. Lets say, I have vector $\bf{x}$ of dimension m, and a time series $\bf{x_1},\bf{x_2},...\bf{x_N}$. Now I want to model the temporal correlation of the data points. So if I define $\bf{x_n} = A\bf{x_{n-1}} + w_n$ where A is the parame...
I need to present some research to a field that commonly uses case-control studies (comparing those with a disease versus those without) and it just occured to me that an extreme group design (which I am using) might be very similar. By extreme group design I mean a large number of individuals are measured on X (in my ...
I have a confusion related to the calculation of autocovariance Suppose $X_t = \phi X_{t-1} + \epsilon_t$ Then how the autocovariance $E(X_{t+n}X_t) - \mu^2 = \frac{\sigma_{\epsilon}^2}{(1-\phi^2)}\phi^{|n|}$ I am referring to this wiki article http://en.wikipedia.org/wiki/Autoregressive_model
I'm fitting a model using R's glm and I would like to add a term with a particular interaction of variables: $$ a\frac{K+0.6b}{T+b} $$ where $K$ and $T$ are columns of data and $a$ and $b$ are constants to be fitted. The overall model, then, looks like $$ p=a\frac{K+0.6b}{T+b}+c_1C_1+c_2C_2+\cdots+c_\ell C_\ell $$ wher...
How, and should I, use KL-divergence to improve a naive Bayes classifier? I have a Naive Bayes Classifier working on a number of datatypes (real, boolean and categorical). Each variable is weighted identically. But from inspecting my data I know that some variables contribute more to my overall classification than othe...
OK, I feel stupid asking this, but I am positive you all will know exactly what I should do here. I have a simple regression situations (small sample sizes; n=13-18), and a few observations that are different with respect to a suite of characteristics that can be generalized by a single dummy variable (ex. south site...
Consider the regression model $$ Y_i = ax_i^3 + \epsilon_i, \hspace{1cm} i = 1,...,n$$ with $\epsilon_i \sim N(0, \sigma^2)$ and $\epsilon_i, \epsilon_j$ independent for $i \neq j$. Write down the log likelihood function for this model. $a$ is another variable, not a constant. For some reason in the answers, they use...
The question is: A company is testing 3 heating systems installed in 3 identical warehouses of a new factory. The systems were tested for 5 days and the increase in temperature after 3 hourse was recoded. Create an ANOVA table for the data given. I thought because we were testing 3 heating systems, we would use 3 way...
My data: within factor: Time - fixed between factor: Treatment - fixed DV: Nmin Nesting: Sample (random), nested in Postion (fixed), nested in Location (fixed). Each treatment is applied to two of the locations. My current formula is: aov(Nmin~(Treatment*Location+Position)*Time) + Error(...
I have a panel dataset of survey responses collected by the world bank in Egypt in 2004, 2006, and 2008. I want to run an ordered probit model to test the impact of firm characteristics on their credit constrained status (which is an ordinal variable). What will be the general specification in this case? I want to know...
I have a formula that says to work out DF for residuals, I need to do (n-1)IJ. Here I and J the number of levels in the two factors, but I haven't got a clue what n is. I thought it was total sample size but when I do that I get the wrong answer. Then I thought it might be number of people in each group, but again, th...
I have data about seed predation (SP) in fruits of three differents colors (yellow, motted, dark) and in two fruiting seasons (2007, 2008). I performed a GLMM and the outcome showed that the interaction term (color:season) was significant, and some combinations of this interaction have significant Pr(>|z|), but I don't...
I have read in a huge number of papers that sparse models (sparse coding, dictionary learning, sparse matrix factorization, ...) are good solutions for image denoising problems. I know that representing data as sparse combinations of atoms from a (overcomplete) dictionary should be the way the mammal primary visual cor...
I am probably dealing with a problem that has probably been solved a hundred times before, but I'm not sure where to find the answer. When using logistic regression, given many features $x_1,...,x_n$ and trying to predict a binary categorical value $y$, I am interested in selecting a subset of the features which predic...
Fitting exponential regression of form $y=ab^{x_1}c^{x_2}$ Here $x_1$ and $x_2$ are predictors and $y$ is dependent variable how to calculate $a,b,c$ using R tool
Possible Duplicate: How should I transform non-negative data including zeros? I want to perform log transformation regression in R tool but the problem is that I don't know how to handle situations when data contains 0 since log 0 is infinite... Please help..
I was reading this paper related to Learning from multiple annotator using Gaussian processes. The idea is if we don't have the actual ground truth of a certain data, but only the labels from some noisy experts, then how can we learn a model from this data from multiple noisy experts and predict on future data Basicall...
I'm trying to fit a two-class logistic model, using many many features. When inspecting one of the features, I binned it so I could inspect its behavior. In each bin I count the number of 'good class' occurrences, and divide by total number occurrences. I see that in the upper bins, there's a higher probability for a '...
Two models are diverse if they make prediction errors on different instances. I know there are different measures to quantify diversity, however, I'm looking for formal conceptual definition of what we are trying to measure. Any suggestions?
Are there any research/paper on the relationship between the number of documents for training and the classification performance using support vector machine?
I am encountering some problems with setting up a multinomial logistics regression (stepwise). My data/model is the following: Dependent variable: strategy1/strategy2/no preference "Indenpendent" variable: risk perception value (prob*impact in percentage) Moderator: risk profile (likert scale) +some other control vari...
I currently have a experiment with a within subject design, where I repeatedly measure reaction times (RT). Reaction times for each category of reaction were measures multiple times. However now the problem is, that the mean of all reaction times for each subject may differ by quite a lot, as some person may react much...
I am currently pursuing research in management, but I have a serious problem with selecting the right statistical method. I have quarterly data for a couple of financial ratios (for example Return on Equity) for two groups of companies: those with CEOs with MBAs and those without MBAs. I want to test whether the two g...
I was reading this paper http://cs.ru.nl/~perry/publications/2011/ICANN2011/groot-icann2011.pdf and I am a bit confused how this was derived $p(f|Y) \propto p(f)*p(Y|f) \propto exp^{(-\frac{1}{2}f^TK^{-1}f-\frac{1}{2}(Y-f)^T\Sigma^{-1}(Y-f))}$ is Gaussian processN(m,V) $ \propto exp^{-\frac{1}{2}f^TV^{-1}f + fV^{-1}m...
I am confused. Given how come this is derived?
I am training a SVM classifier based on a given document collections. I started from using 500 documents for training, then I add another 500 for training, and so on. In other words, I have three training sets, 500, 1000, 1500. And the smaller training set is a subset of the sequential larger set. I validate the model ...
It is well-known that as you have more evidence (say in the form of larger $n$ for $n$ i.i.d. examples), the Bayesian prior gets "forgotten", and most of the inference is impacted by the evidence (or the likelihood). It is easy to see it for various specific case (such as Bernoulli with Beta prior or other type of exam...
Suppose I've a set of information, id t s x H0 h0 H0i Hi Di Eu Elu 1 2 1 53 0.01067033 0.01067033 0.01371871 0.01371871 2 1.039715 0.029300175 2 4 0 60 0.02148908 0.01081875 0.02856059 0.04227930 1 1.019138 0.009121439 3 5 0 45 0.04344224 0.02195316 0....
Two friends and I have been playing a game that is a combination of skill and luck. (as most games are). We assume that if the game was all luck and/or we all had the same skill level eventually the win% of all of us would approach 33%. So what sample size would we need to show that one of us was "better" at the game?...
I know that $\beta$ (type II error) is the probability that the null hypothesis is false, but it is not rejected. The power of the test is defined $1−β$. I still thought that the power of the test is important only in the case when $H_0$ is not rejected. However my statistical software compute the power of the test als...
Can ordinary least squares estimation be considered an optimization technique? If so, how can I explain this? Note: From an AI perspective, supervised learning involves finding a hypothesis function $h_\vec{w}(\vec{x})$ that approximates the true nature between predictor variables and the predicted variable. Let some s...
I have a spreadsheet of player data. One of the categories of player data is pass percentage. Pass percentage is calculated as follows: AccuratePasses/TotalPasses In total I have around 400 players to compare, however the sample size of passes between each player is very different. For example on player may have execu...
It seems quite common to see scientific researches using a summated score to represent an overall scale that consists of many individual scale items (ex. Likert scale items). I assume that regular statistical tools (ex. ANOVA, linear regression, etc.) can be used on these data, which are treated as quantitative data. ...
Suppose I have two scientific approaches to measuring the same physical quantity taking values between $[0,1]$. One (say method A) is generally accepted to be more accurate under certain conditions, but it is more of a gross measure (low spatial resolution). The other method is newer in the field, has the a higher reso...
This question came up in an archaeology class, and it seems like it should be something very basic. Suppose I want to count the number of marbles in a large bucket of sediment. I only have the manpower to process 20 liters of sediment in total. Is it better to take: 20 samples of 1 liter each 5 samples of 4 liters each...
When training my algorithm, if I can get some i.e. data my future test data that has no labels can it improve my algorithm's efficiency, is there any mathematical proof for it? PS: I think semi-supervised methods and transductive learning are something similar to what I look for.
Suppose I have a set of points $Y$, $X$ and I model them by using a Gaussian process $\mathcal{GP}(m,K)$. Let the noisy observations be given by $$y^i = f^i + \sigma^2$$ $p(f)$ gives the prior on the Gaussian process. Then what will be the posterior $p(f|Y,Z)$ which is again a Gaussian process with a mean $(m',K')$. Ho...
everyone, not sure if I do this appropriately. I wish to raise a related question: If I got X positively related to Y1, and X1 negatively related to Y2 (both in GLM), however the correlation coefficient between Y1 and Y2 is positive and significant (using SPSS). How can I interpret such result? Shouldn't Y1 and Y2 ...
I have multiple regression with, say 3 independent variables: $Y=B_0+B_1x_1+B_2x_2+B_3x_3$ I would like to test if $B_2+3B_3$ is significantly different from zero, i.e. $$H_0: B_2+3B_3=0$$ $$H_1: B_2+3B_3\neq 0$$ Can you please help to find appropriate way to test for significance of linear functions of two coefficien...
I have a dataset of about 75K samples with about 20 features per sample (12 of which are probably important) describing various credit profiles - credit score, late payments, income, etc. Some of the input variables are continuous and some are categorical. The output variable is continuous - the ROI associated with eac...
Say I have 3 random variables ${X, Y, Z}$, and I have collected an iid sample of size $N$ from them: ${\cal D} = \{ (x_i, y_i, z_i), i = 1,\dots,N \}$. The conditional expectation $E[ X | y ]$ can also be written as \begin{eqnarray*} E[ X | y ] = \int E[ X | y, z ] \,\, dF_{ Z | Y }(z) \end{eqnarray*} My objective is ...
Let $X \in \{0,1\}^{n \times m}$ be a matrix with $n,m \geq 600$. I want to calculate the correlations between the columns of the matrix $X$. To be more precise, I need the correlation matrix $C \in [-1,1]^{m \times m}$. My question is, is a rank correlation coefficient like Spearman's $\rho$ or Kendall's $\tau_B$ suit...
I have to analyse data that look at the relevance of some posts. Basically each post is rated by 100 persons, and the scale looks something like this (like a Likert scale): Irrelevant Slightly relevant Relevant Useful Extremely Useful But each person can choose a certain position with a 0.25 increment on this scale. ...
I am having somewhat of a problem setting up contrasts from an anova in R. I have done this in the past, but at the moment I don't seem to be able to get R to use my contrast matrix instead of the treatment contrasts. Any help on this would be greatly appreciated, I guess its possible I am making some basic mistake tha...
I am running a relatively simple propagation of error analysis on an equation: $$S = \frac{ABC}{XY}$$ I have independent random error terms calculated for each variable (for the purposes of this analysis I am assuming systematic errors to be negligible), but I am having a specific issue with the $C$ variable in that, a...
I am using caret and repeatedcv with repeats for feature selection. That is, rfeControl(functions = svmFuncs, method = "repeatedcv", number = 10, repeats = 5, rerank = TRUE, returnResamp = "all", saveDetails = FALSE, verbose = TRUE) I am quite confused about the way rfeControl splits the input data using...
I'm looking for ways to visualize large time-series other then in traditional 2-axis line charts. More specifically, I hope to find a way that intuitively reveals patterns in the data such as the spiral approach found in http://ieg.ifs.tuwien.ac.at/~aigner/teaching/ws06/infovis_ue/papers/spiralgraph_weber01visualizing....
I have data for multiple people, where each person performs and is graded on a task an arbitrary number of times each year across multiple years. E.g. - year 1 year 2 year 3 Person1 1 1 3 2 4 2 3 3 5 2 3 4 1 Person2 2 3 1 7 9 1 2 3 3 1 Person3 ... ...
Let $f\left(x\right)$ be the probability density function of the random variable $X$. What is the joint probability distribution of $f_{X,Y}\left(x,y\right)$ if $Y=X$? Thanks for any helpful answer.
I have a ranking of books that is based on number of sales and I want to improve it to include how many countries the book was sold in and number of libraries that carries it Book rating 1 = # sales Book rating 2 = # sales + # countries + # libraries Can I say that Book rating 2 is "better" than book rating 1 ? What...
Having looked at multiple online sources, I can't seem to get a straight answer. Could someone please clarify for me if ordinal data is sufficient to use for the WSRT and if not, is the sign test an appropriate alternative? Finally, this is for my dissertation project at university and so if any references/literature c...
If I have the following contingency table in which Novel.Cat is a new means of classifying some thing. Ref.Cat is the gold standard. How can I do some sort of test to see whether the two means of classification generate significantly different results? Is just a simple Fisher's test appropriate? Or is there some other,...
I am training a Gaussian process with an ARD kernel with lots of parameters by maximizing the marginal lielihood of the data, instead of cross-validation. I suspect that it is over-fitting. How can I test this suspicion in a Bayesian context?
Are Probability Graphic Models (say specifically Bayesian Networks) useful for predictive modelling in terms of large data (100,000 - 1,000,000 rows) and many variables (hundreds)? Meaning, is this technique / methodology something that can be a competitor for, say random forests or some machine learning method for cl...
In a multiple logistic regression I need to standardize one of the variables because I need to add a quadratic term. Whether I add the quadratic term as the squared original or the squared standardized, I get very similar models, same AIC. Why? The estimates of the linear term change. When I square a standardized vari...
probably a noob question because I'm a noob. I have two coins, A and B. For each coin I have a sample of the results I get by tossing it. My null hypothesis is that A has equal or higher probability to land on HEAD than B, but that probability is unknown (as well as B's probability). However, the data shows me that B s...
Could someone tell me what's the formula for the Pearson residuals in a multinomial logit model? I tried to look for it but I haven't found anything.
I am impressed by the R forecast package, as well as e.g. the zoo package for irregular time series and interpolation of missing values. My application is in the area of call center traffic forecasting, so data on weekends is (nearly) always missing, which can be nicely handled by zoo. Also, some discrete points may be...
I am interested in comparing response (dependent) variables (2+) in a regression format where the models share the same data and design matrix. As an example, lets say I am interested in whether numerical counts of aquatic organisms, or the biomass of those organisms is more "sensitive" to the same disturbance gradien...
I have one sample and several features. I calculate a z-score for various features, and for various combinations of features. Is there a way to quantify the significance of the difference between two z-scores? For example, suppose I calculate a z-score for the combination of features (male, homeowner) and also for th...
This is a very basic question about Bayesian inference. I'm not grasping one or more fundamental concepts. Let's say I have two observed outcomes, X and Y. I want to infer the probabilities (px and py, respectively) of each occurring given X and Y. I do not know N, the total number of trials. I'm assuming that X and Y ...
I have three groups that I would like to match on age and gender. They don't need to be matched one-to-one, I just need group differences p < .05 for both variables. I can find packages that will match TWO groups, but not more than that. Does such a package or code snippet exist? Secondarily, because the available mat...
I was reading the Hastie, Friedman, Tibshirani paper "Sparse Inverse Covariance Estimation with the Graphical Lasso" and it had the following I couldn't get how the following expression was derived $\hat\Sigma^{-1} = \displaystyle\arg \max_{X \succ 0} \log \mbox{det}X - \mbox{trace}(SX) - \lambda||X||_1$ I know that ...
I want to do a simple nearest neighbour calculation in Excel over a multivariate space to get an idea of how my data clusters. I have a set of data points $\{X_1, X_2, \ldots X_n\}$ and a set of possible cluster centers $\{M_1, M_2, \ldots, M_m\}$. Initially, I propose to simply use a weight vector $w$, and compute the...
I want to use autoregressive model to build a predictor for some sets of spatio-temporal data. For example, I have historical traffic data (speeds at various segments of freeways). similarly, I have historical weather data for different cities. Needless to mention, there is significant spatial correlation between nearb...
Every month, an organization surveys some of its customers (the total number of customers is also known). The sampled customers answer a survey with a dozen or so questions; sometimes, customers don't answer every question. A simple average of the proportion of answering customers who gave the top category on Question ...
I want to learn about the interior point methods. I started with the wiki http://en.wikipedia.org/wiki/Interior_point_method. However, I am having difficulty grasping the idea behind it. Can anyone provide me good links, video tutorials or pointers that can help me understand it?