instruction
stringlengths
9
38.7k
Let $\lambda \mu > 0$ and let $X$ be a Markov chain on $\{1,2\}$ with generators $$ Q = \begin{pmatrix} -\mu & \mu \\ \lambda & -\lambda \end{pmatrix}$$ Write down the forward equations and solve them fro the transition probabilities, $p_{i,j}(t), i,j = 1, 2$. The answers say: "We have that $$p_{11}' = -\mu p_{11} + \...
I need to build a model using climate variables (temperature, rainfall) to predict monthly sales (horizon of 6 months) for certain product. The data has strong seasonality and a standard regression model would works fine, the problem is that the historic data will not be updated, meaning that the observed data points w...
This might be a very simple question. But I was going through this lecture where it is mentioned that If I have n-1 neighbors and there is a probability p of having an edge with a neighbor. Then the average degree of any node is given by (n-1)*p. This is fine I get it But how come the variance of degree is (n-1)p(1-p)....
What is $\rho_{XY}$ when $X=0$ and $Y=0$? For all $X=Y$, $\rho_{XY}=1$ and this should be no exception. But using the following: $$\rho_{XY}=\frac{E(XY)-E(X)E(Y)}{\sqrt{Var(X)Var(Y)}}$$ yields a $\frac{0}{0}$ form. How do I take the limits or apply L'Hospital's rule to prove this equals 1?
I know the mean squared error formula and how to compute it. When we talk about a regression we can compute the mean squared error. However can we talk about a MSE for a classification problem and how to compute it?
Suppose we have a data set consists of, say, 5 or 10 observations. The only thing we know about this set is that it came from a positive right skewed distribution. How can we fit a probability distribution to this data? Is there a paper or method (frequentist, Bayesian, nonparametric) that deals with such a problem? ...
It is often recommended to take the square root when you have count data. (For some examples on CV, see @HarveyMotulsky's answer here, or @whuber's answer here.) On the other hand, when fitting a generalized linear model with a response variable distributed as Poisson, the log is the canonical link. This is sort of ...
I am learning the generalized estimating equations (GEE) and the geepack R package. There are some questions that I am a little confused. In a GEE-constructed model, we have $Var(Y_{it})=\phi_{it}\cdot V(\mu_{it})$, where $\phi$ is the scale parameter. We further decompose $Var(Y)$ into $V^{1/2}R(\alpha)V^{1/2}$ where...
As part of my research, I am having trouble calculating the 2nd L moment $\lambda_2$ and the third and fourth moment ratios $\tau_3$ and $\tau_4$ of the standard normal distribution, where L moments are defined as they are in this paper (Hosking 1990), page 3. Take $\lambda_2$ for example. $\lambda_2 = \frac{1}{2} [ ...
Find (without using MGF) the mean and variance. $$f(x) = \exp(-kx)x^{(r-1)}k^r/(r-1)!\ \text{ for }\ x>=0$$ $$f(x) = 0\ \text{ for }\ x<0$$ $r$ positive integer, $k>0$
What is the definition of "feature space"? For example, When reading about SVMs, I read about "mapping to feature space". When reading about CART, I read about "partitioning to feature space". I understand what's going on, especially for CART, but I think that there is some definition that I have missed. Is there a gen...
I want to convolve two square pulses. One pulse say X starts from 0 to R.Other pulse say Y starts from -R to 0.Now to convolve these two pulses I just flip the pulse X and then move it to -infinity.Now, to convolve I will pass this pulse through pulse Y. The result will be a triangular waveform which starts from -R+(1/...
To help me focus on which pages on a site to improve, I'm looking at user feedback to the question "Was this page helpful?" (Answers are "Yes" or "No".) The response rate (responses divided by unique pageviews) varies across different pages. And in fact the pages with low response rate also tend to have a higher ratio ...
I am looking for a method to transform my dataset from its current mean and standard deviation to a target mean and a target standard deviation. Basically, I want to shrink/expand the dispersion and scale all numbers to a mean. It doesn't work to do two separate linear transformations, one for standard deviation, and ...
The summary.rq function from the quantreg vignette provides a multitude of choices for standard error estimates of quantile regression coefficients. What are the special scenarios where each of these becomes optimal/desirable? "rank" which produces confidence intervals for the estimated parameters by inverting a rank ...
I'm looking at collecting information on whether participants playing an educational game on a particular topic will achieve lower/comparable/superior gains between pretest/post-test scores compared to participants who learn that subject matter without a game (lecture only). Thus, I intend to randomly assign participan...
I've read some introduction about different kernels for SVM. It seems RBF is a measure of point distance while the basic kernel (i.e. no kernel) splits the space by hyper-planes. I could imagine that for a mix of features, some features should be treated with RBF and some with the basic kernnel. Is it possible use RBF ...
Suppose you have vectors X and Y with covariance matrix $V = \left( \begin{array}{cc} A & B \\ B^T & C \end{array} \right)$. This Wikipedia article says that $Var(X | Y) = A - BC^{-1}B^T$, the Schur Complement of C in V. Furthermore, conditional (in)dependence between X and Y can be found in the inverse of the covari...
A Poisson process has PDF $$P(X=k)=\frac{e^{-\lambda t}(\lambda t)^k}{k!}$$ I'm trying to find an expression for: $E[X | \lambda, t]$ Confidence intervals (i.e. find $\delta$ such that $P(\bar{x}-\delta<X<\bar{x}+\delta)=c$ for some $c$) To find the expectation, I've noticed that $$E[X]=\sum_{k=0}^{\infty} \frac{e^{-...
I'm interested in using multiple factor analysis to analyze data collected from ceramic sherds. The data is pretty complicated, containing both continuous variables (vessel rim diameter, vessel wall thickness) and grouped categorical variables (presence or absence of base- and over- glazes on the vessel interior and ex...
The R code below produces three CDFs using three different approaches. How can I plot these CDFs on one graph in R? #Method 1 z <- rnorm(n=100000, m=0, sd=1) z1 <- rnorm(n=100000, m=0, sd=1) z2 <- rnorm(n=100000, m=0, sd=1) z_app <- (z1/sqrt(3)) + z*(1+(z2/sqrt(2*3))) #CDF F_z_app <- ecdf(z_app) plot(F_z_app, xlim...
I'm working on predicting (not explaining) a 0/1 outcome that generally has only about 10% "1"s (I'm not at liberty to name the variables). N ~40,000. Logistic regression proved unsatisfactory, both when using about 5-10 main effects and after I built in several interaction terms suggested by CHAID procedures. Sensi...
In short: I am currently reading Online Learning with Kernels (http://books.nips.cc/papers/files/nips14/AA33.pdf) for fun and I can't figure out how he got to equation 8 from equations 6 and 7. The idea is: We want to minimize a risk function $R_{stoch}[f,t]:=c(x_t,y_t,f(x_t))+\lambda\Omega[f]$. If we want apply the re...
Suppose $n = 5$, $s = 0.0771$. The question is: what's the $P(\sigma < 7.63\%)$?
Suppose we have variables $(X,Y)$ and we have theory tell us that $X$ $\overset{\text{cause}}{\implies} Y$. Perhaps they're time-series variables and it would be common to see something like this: $$\boxed{Y_{t+1} = a + b X_{t} + e_{t+1}.\,\,\,\,\,(1)}$$ My question is why it's not just as legitimate to specify: $$\box...
I'm using Alternating Nonnegative Least Squares Matrix Factorization Using Projected Gradient. The result (I use 2 as rank) is like this: Original (Matrix V) [[ 10 20 1 9] [ 1 2 1 10] [ 7 6 1 5] [ 5 4 1 5] [100 200 1 90]] Basis matrix (Matrix W) [[ 0.0211552 0.09923254] [ 0.032219 ...
I am running isomap for feature reduction and I want to see what number of features are best for classification with experiments at different number of features. Do I need to run isomap for each try to get specified number of features or just run the algo. once and chose again and again the number of features I need? I...
I'm reading Newey & McFadden - Large sample estimation and hypothesis testing (in the Handbook of Econometrics, Volume 4, 1994, page 2178). My model which I'm interested in has some former estimation done before the estimation of the primary model will take place. Hence the primary model (2nd-step) includes some estima...
The partial SS for two factor (N and P factors) factorial experiment with interaction can be calculated as: \begin{eqnarray*} \textrm{SS}\left(N_{i}|\mu,P_{j},\left(NP\right)_{ij}\right) & = & \textrm{SS}\left(\mu,N_{i},P_{j},\left(NP\right)_{ij}\right)-\textrm{SS}\left(\mu,P_{j},\left(NP\right)_{ij}\right)\\ \textrm{...
This question is an extension of one I asked a few weeks back: Minimum sample size for PCA or FA when the main goal is to estimate only few components? I will restate that I am interested in the use of PCA in situations where $n \le p$; and generally am only interested in using the first few PC axes for descriptive pur...
I'd like to generate more than two (i.e 3) correlated series, take an example when the series follows an IMA(1,1) process, at first I want to generate three correlated random errors e[i] and then I use the following equation to build the series: d[i,] <- mu + d[i-1,] - theta*(e[i-1,])+e[i,] this is what we need to do ...
I implemented Isomap and I plan to use it as a feature extraction technique for a classification task. My problem is that although I can map the training data into a lower dimensional space, how can I use the same mapping for a separate test dataset?
Summary: when using a 10-fold cross-validation procedure where each training set is used to generate N bootstrap samples for processing with NNs. How do I provide my NN with correct sequence and elements of my response variables series to match the length of my input time series so that I follow proper cross valida...
This feels like it should be a very straightforward stats analysis but I'm struggling to find a solution. I have a data set made up of pre- and post-test continuous data values taken from multiple groups i.e.: Group 1 (pre-test, post-test) Group 2 (pre-test, post-test) Group 3 (pre-test, post-test) etc.. I want to see ...
We have already worked in predicting chemical compound activity using "classical" neural networks. Now there is all this hype about deep learning. I wonder if you know cases where predictive ability has dramatically increased going from classical to deep neural networks.
I am trying to come up with a combined/pooled standardized mean difference for meta-analysis of a dozen or so studies that have the same binary predictive groups and the same continuous outcome measure. I am able to retrieve the sample size, the mean, and the standard deviation for the control and experimental group in...
I am trying to understand the hyperplane of the SVM algorithm. My problem is that different sources state different equations. Which equation is the right one and if both are right, why? Wikipedia: $w\cdot x-b = 0.$ Intelligent Data Analysis and Probabilistic Inference notes: $ w\cdot x+b = 0.$ Furthermore, I th...
I have a linear regression model with some correlated errors: $Y_t=\beta_0+\beta_1X_1+\beta_2X_2+\epsilon_t$, where $\epsilon_t$ is a AR(1) i.e. $\epsilon_t=\phi\epsilon_{t-1}+\nu_t$ with $\nu_t$ as white noise terms. I want to obtain the joint maximum likelihood estimates of $\beta_j$'s for $j=0,1,2$ and $\phi$ as wel...
I found this book "Statistical methods in atmospheric sciences" by Daniel Wilks in the library. Do you think it is good for learning statistical methods in general? The examples are as you might know or expect, from atmospheric sciences but discussion about the statistical methods is quite good.
I have 10 years worth of data from 1970 to 1980 (40 quarters). For each quarter I have five measurements M1, M2, M3, M4 and M5. TWIST: Although the data I have is on individual patient level, the outcome variable (T) is common to all patients during epidemic times. For example, all patients tend to have their target fl...
The title is my whole question. FPR is the false positive rate. TPR is the true positive rate.
i have a list of text files and i know that these texts belong to a group, by using this group of text files (i.e this is my sample set) i'd like to calculate Jaccard index and Edit distance for each text file that are not in the sample set. By doing so i'd like to generate two features of each text file which are the ...
When we fit a generalized linear regression (e.g., logistic regression, gamma regression) we are estimating the population average Y given the predictors $X$ ( i.e., $E(Y | X)$ ). When we fit a machine learning model such as an ANN, SVM, or a decision tree, does this notion still apply? In other words, are we estimati...
I generated two density functions in R and trying to plot them on the same graph, but for some reason I cannot see the full plots. Here is the R code: v3 <- rt(100000, 1)/sqrt(3-2) w3 <- rchisq(100000,2) z3 <- rnorm(n=100000, m=0, sd=1) z_eff_3 <- v3 + z3 * sqrt((3*(1+v3*v3))/w3) plot(density(z_eff_3,from=0,to=5),xl...
In the one sigma interval around the mean (i.e., one standard distribution) fall 68.2% of the observations. In which interval would exactly 50% of the observations fall?
I'm trying to get my head around the "hidden species" problem. It goes something like this. You visit a park and run into three species, 3 lions, 2 tigers and 1 bear. You are to determine what is your best guess on the distribution of these species. You may be tempted to do $\frac{3}{3+2+1} = 50\%$ for the lions and 33...
Is there a more scientific way of determining the number of significant digits to report for a mean or a confidence interval in a situation which is fairly standard - e.g. first year class at college. I have seen Number of significant figures to put in a table, Why don't we use significant digits and Number of signific...
I don't know the exact term for this, so googling didn't work. I will explain exactly what I need below. I want to compare two sets of values such as blood sugar or blood pressure, where the values never start at 0. Please consider the example below: Update I compared the duration of motor block after spinal anesthesia...
I know I'm missing something in my understanding of logistic regression, and would really appreciate any help. As far as I understand it, the logistic regression assumes that the probability of a '1' outcome given the inputs, is a linear combination of the inputs, passed through an inverse-logistic function. This is ex...
Let's say I have a "kidney catheter" data set. I'm trying to model a survival curve using a Cox model. If I consider a Cox model: $$h(t,Z) = h_0 \exp(b'Z),$$ I need the estimate of the baseline hazard. By using the built-in survival package R function basehaz(), I can easily do it like this: library(survival) data(kid...
I have the log-likelihood function: $$l(p_i,y_i) = \sum_{i = 1}^n \left( \ln(p_i) + y_i \ln(1 - p_i) \right) $$ And I need to calculate the maximum likelihood estimator of $p_i$. When I do this, for some reason when differentiating, the summation sign vanishes. Why is this? EDIT: To calculate the maximum likelihood es...
While going through a statistics course for medicine students, I ran accross a problem related to incidence rates. The context of the problem is a chapter about the Poisson distribution. In the problem, 2300 smokers are followed over a 1 year span during which 24 of them develop lung cancer. They then want to compute t...
I'm curious as to how putting noninformative priors on the regression coefficients in a GLM compares to maximum likelihood estimation, in frequentist terms. A dispersion parameter $\phi$ is of course a source of trickiness, so perhaps we assume that these are estimated using empirical Bayes. In the simplest situation,...
I developed a measure of "sentiment" and I have time based data and used the measure to derive a daily sentiment time series. I am looking for some way to establish reliability or maybe stability. For example, when there are dramatic changes in the "sentiment" is this "real". Two ideas for doing this numerically start ...
After reading a recent blog post about an application of the Poisson distribution, I tried reproducing its findings using Python's 'scipy.stats' module, as well as Excel/LibreOffice 'POISSON' and 'CHITEST' functions. For the expected values shown in the article, I simply used: import scipy.stats for i in range(8): ...
I've been studying contingency table analysis and got to experiment a little bit with Fisher's exact test and Fisher's power test. Now I want to be able to determine the direction of the relationships. Can anyone tell me what are the best methods to determine the direction of the relationship in 2x2 contingency tables...
Are there any general assumptions for the calculation of the Hurst exponent? Does the signal need to be stationary, for example? Does it depend on the method? What about the length of the time series, is longer better? I am interested in using implementing it for the analysis of an EEG signal. I have read man...
My particular application needs me to build a linear model with a strong correlation structure amongst the independent variables. The dimensions of the problem are high, for instance 1million X 200. That is 1 million observations of 200 variables. Since the problem is strongly collinear, I need to use some sort of reg...
I am reading Greene's textbook Econometric Analysis where he says that, if there's multicollinearity, then: Small changes in data lead to large swings in parameter estimates. Coefficients have high standard errors even though they're jointly significant. Coefficients have the "wrong" sign or implausible magnitudes. I...
When I'm coding a Monte Carlo simulation for some problem, and the model is simple enough, I use a very basic textbook Gibbs sampling. When it's not possible to use Gibbs sampling, I code the textbook Metropolis-Hastings I've learned years ago. The only thought I give to it is choosing the jumping distribution or its p...
In case of the ordinal logistic regression, both of the goodness-of-fit statistics, Pearson and Deviance goodness-of-fit measures, should be used only for models that have reasonably large expected values in each cell. If you have a continuous independent variable or many categorical predictors or some predictors with ...
I was reading this article in wikipedia related to MAP http://en.wikipedia.org/wiki/Maximum_a_posteriori_estimation. However, I had this confusion when it says MAP estimation is a limit of Bayes estimators (under the 0-1 loss function), it is not very representative of Bayesian methods in general. What does it mean MAP...
Given the following model which relates the full year home sales to the unemployment rate (observed or estimated) I get a projected increase of 14% for 2013 over 2012... last year the same approach over projected by 6% (the 2012 projection was for 41,992 and the actual is coming in about 39,535) So I think the model is...
I have a data set with approximately 500 observations on eight key variables. There are a lot of missing data; only about 1/12 of the observations are complete. I am using PROC MI and MIANALYZE in SAS to run various regressions on multiply imputed data, and this is working well. (There are about 200 variables in total...
I want to assess if a single variable is mediating the effects of a set of IVs on a single DV. All variables in the model (IV, DV and the mediator variable) are dichotomous (0, 1) and observed. What is the appropriate statistical procedure to test this model? I have run separate binary logistic regressions, and have fo...
I have run a PCA on my microarray data and found the clustering pattern for my samples. Now I need to find out the genes which are associated with first principal component and likewise till 4th PC. How would I go about finding that?
I have a robot that has a GPS and velocity sensors. The GPS updates roughly every 1-2 seconds. I've been playing around with a Kalman filter that has been working pretty well. I just learned and finally think I understand particle filters so I'm wondering if a particle filter be useful to keep track of the robot's lo...
I am a bit confused. Why are Gaussian processes called non parametric models? They do assume that the functional values, or a subset of them, have a Gaussian prior with mean 0 and covariance function given as the kernel function. These kernel functions themselves have some parameters (i.e., hyperparameters). So why are...
I am studying risk prediction models for readmissions to hospitals and during the course of my research, I came across this survey paper that evaluates various risk prediction models published in various medical journals: https://www.dropbox.com/s/t1inuv8112tnnip/Survey%20of%20Predictive%20Models%20for%20Readmission%20...
$$Y_t = a + bX_{1,t} + cX_{2,t} + dX_{3,t} + e_t$$ A high $R^2$ in $X_{1,t} = \alpha + \beta X_{2,t} + \gamma X_{3,t} + \varepsilon_t$ will always result in a higher standard error of the $b$ estimator, all else held equal. This is an example of the multicollinearity problem. It does not result in a biased or inconsist...
In general, and more specifically for Bernoulli mixture model (aka Latent Class Analysis).
I'm working on a little project, which is in early development stage right now. What I'm trying to figure out is how do I generate random music, especially notes. By googling I've only managed to find ransom note generator and lots of random music, where word random has nothing to do with definition of random variable ...
I have 20 questions, each divided in 6 Likert scale items (1-7), representing 6 different values like Success, Oportunity, etc. The sample is rather small, 42 cases, and the distribution is not normal. Basically, I want to compare responses to values between individuals in certain groups consisting of 4-5 individuals,...
Does the Pearson's correlation estimator require no bivariate outliers, or no outliers in each of two individual vectors of data? The answer will impact on how I winsorize outliers before calculating my Pearson estimate.
The probability of a sequence of n independent Bernoulli trials can be easily expressed as $$p(x_1,...,x_n|p_1,...,p_n)=\prod_{i=1}^np_i^{x_i}(1-p_i)^{1-x_i}$$ but what if the trials are not independent? How would one express the probability to capture the dependence?
I am having trouble understanding what method to apply for the analysis of the following type of data: id period grade GLP NAB ROE ROA OSS ESS PMA P30 1 1 NA 1790835 769 0.3795033 0.1171393 1.66014 1.221868 0.3976413 0.007312334 1 2 NA 2597351 1143 0.5896583 0.188034 1.947474 1.748581 ...
Possible Duplicate: Dependent Bernoulli trials The probability of a sequence of n independent Bernoulli trials can be easily expressed as p(x_1,...,x_n|p_1,...,p_n)=prod_{i=1 to n}p_i^{x_i}(1-p_i)^{1-x_i} but what if the trials are not independent? how would one express the probability to capture the dependence?
What are the benefits of specifying a covariance structure in a GLM (rather than treating all off-diagonal entries in the covariance matrix as zero)? Aside from reflecting what one knows of the data, does it improve goodness of fit? improve predictive accuracy on held-out data? allow us to estimate the extent of cova...
I want to fit a Cox PH model with random effect (Gamma frailty). Here is an example with 'kidney catheter' data set: > library(survival) > data(kidney) > fit <- coxph(Surv(time, status)~ age + sex + disease + frailty(id), kidney) > fit Call: coxph(formula = Surv(time, status) ~ age +...
Since I'm a software engineer trying to learn more stats you'll have to forgive me before I even start, this is serious newb territory... I've been learning PyMC and working through some really (really) simple examples. One problem I can't get to work (and can't find any related examples for) is fitting a model to data...
Suppose I pull from literature a relationship between $X$ and $Y$ with reported confidence intervals from a linear regression $$Y = 2\ (\pm .5) + 5\ (\pm .2)X$$ and then another relationship between $X$ and $Z$ $$X = 11\ (\pm.3) - 1\ (\pm.1)Z.$$ Then, in a different experiment, I'm given $Y$. I have two questions, Ho...
I'm reading Newey & McFadden - Large sample estimation and hypothesis testing (in the Handbook of Econometrics, Volume 4, 1994, page 2176). In the model I'm interestend in has some former estimation done before the estimation of the primary model will take place. Hence the primary model (2nd-step) includes some estimat...
I am an organizer for a board game tournament. All of our players have an internal Trueskill rating we calculate to assist us with matching opponents for each round of the tournament. For each round, we can pair any player up with any other player as we wish. For each hypothetical pairing, Trueskill can provide us with...
I have 4 data groups: - 3 groups from a 5-point Likert scale (1 ~ 5) - 1 group is binary (Incorrect/Correct -- converted to 0, 1) I have performed Pearson's r and Spearman's rho with the Likert responses easily enough and they appear to be related to a scatterplot. However, the binary data is giving some strange number...
I´m using Octave to build a Neural Network regression (3 layers nn, using tanh as activation function, fmincg as optimizer and continuous output). The purpose of the model is to forecast demand for some products, based on multiple variables (past demand of the products, past stock levels, pendent orders, etc.). I'm nor...
How to get the distribution of Welch Statstic: $ \sum_t w_t(y_t - \hat{y})^2 $ in journal article On the Comparison of Several Mean Values: An Alternative Approach (Welch, 1951)?
I am doing comparisons on response rates across three sites. Following are the cell counts Frequency | Percent | Row Pct | Col Pct | 0| 1| Total --------...
I'm trying to predict in the one-way random effect ANOVA model fitted with the Gls() function of the rms package. All my attempts are unsuccessful. For instance: # data set.seed(421) I <- 3 J <- 4 dd <- data.frame(y=rpois(I*J,10), group=gl(I,J)) # fit library(rms) fit <- Gls(y ~ 1, data=dd, correlation=corCompSymm(for...
I have a dataset and I want to compute the mutual information (MI) for a selected set of variables. The dataset is large enough so that computation of the MI may take undesirably long time. Can I just take a 10% sample of the data and use it to compute the MI measure? I am aware of different sampling techniques includi...
I am currently in the process of trying to work out a ranking system for players using a dataset of players within the English Premier League. I have a number of statistics to work with but have decided that the following are the ones I want to use: Minutes Pass % Goals Shots on Target Attempts Created Net Tackles C...
I have two different set of features for which I have a SVM classifier and a Naive Bayes classifier, respectively. If I wanted to combine these two classifiers to get a better prediction, what option do I have?
I'd like to use Bayesian updating to form price expectations to be used in another model. I'm very new to this area, so your help would be highly appreciated. I'm not sure which distribution to use for the prior. When I use normal distribution, I do not get much variability between prior and posterior. However it woul...
I'm trying to figure out why there is a difference when I run anova(model1, model2) versus anova(model2, model1) in R. I know which model is nested within the other, but haven't been able to find in the documentation what the difference in syntax is actually doing. In fact, this is all I've found: "When given a sequenc...
I'm using the R package ltm to create a 2-parameter logistic regression. The input matrix is sparse - many users have taken a small subset of the items in the item bank. For some of my data sets i'm running into this error: Error in if (any(ind <- pr == 0)) pr[ind] <- sqrt(.Machine$double.eps) : missing value where ...
I have a training set with 140 instances and no separate cross validation set. The data set contains 7 measurements from each of 20 objects, hence the 140 instances. Each of 7 measurements have the same label. My problem is the choice of cross validation (CV) scheme. I wanted to do 20-fold CV. But this will almost alwa...
I am wondering about this. When is it best to use Dantzig Selector (the infinity normed error measure plus the L1 regularizer) , the LASSO (the mean square error measure plus the L1 regularizer), and the LAD LASSO (the error measure containing the least absolute deviation plus the L1 regularizer)? To make things clear ...
I am performing a binary sentiment classification (positive/negative) with RapidMiner. My problem is that I have about 400 positive and 1350 negative documents. I get pretty good accuracy but therefore my precision and recall for the positive class is around 60-70%. Are there any operators or methods which can help me ...
I am interested in the combined effects of 12 continuous/interval predictors on a dichotomous/binomial outcome and thus am using logistic regression. First I ran 12 separate bivariate logistic regressions. All had positive B's. Then when I ran the multiple logistic regression (enter method), some of these predictors ha...
I was reading the book Pattern Recognition and Machine Learning by Bishop, which stated that for the first order Markov chain with K states, the number of parameters is K(K-1). Why is that? I think it should have been just K-1, because if we have $p(x_n|x_{n-1})$ for n=2 to K that will only be K-1, correct?
My exact problem is this. I have a number of sources of traffic with different conversion rates. I have good evidence that conversion rates vary based on the source. For each traffic source I have how many leads we got, and how many converted. I want an estimate of each source's conversion rate. I do not need indiv...