instruction
stringlengths
9
38.7k
I have a situation where I have an observed statistic computed from data, and then I have approximated the null distribution by some sort of resampling. I have used this to calculate p-values for a one-sided hypothesis test. Now, if I want to do a comparison between two statistics (are they significantly different?), ...
The title says it. If one wishes to analyze ternary outcomes—that is categorical outcomes with specifically three values (-1,0,1)—are $\chi^{2}$ / contingency table tests and multinomial-logistic regression type models the only choices for making inferences, or are there well-articulated and useful ternary distribution...
Say I have two random variables, X and Y. Their joint probability density function is a uniform distribution inside the triangle with vertices at (0,0), (0,1) and (1,2). The area is 1 so the joint pdf is 1. Calculating the marginal cumulative distribution function I get P_X = x^2 and P_Y = y - (y/2)^2. The question is ...
In the context of classification on somewhat large datasets (say at least 50Kx50K), I am wondering in which cases non-linear models are superior to linear ones to warrant the added complexity. I often see in my own research that for these larger datasets, non-linear datasets cannot outperform linear ones (say for a lin...
The first variable is 'SMOKE' that indicate if the person is a smoker or not. The second variable 'Daily' is related to the first by an If condition: If the person is a smoker then does he smoke daily or not. How can I put these two variables in my model? Thanks in advance, EDIT: (1)I prefer to exploit the evident o...
I am trying to fit an equation to data. I know the form of the equation but I need to know constants parameters in the equation. I used non-linear fitting and optimization techniques but I could not get promising results. This can be a dump question but I wonder if it is possible to fit an equation to data by using ma...
Hypothesis tests for equivalence differ from the more common hypothesis tests for difference. In tests for difference, the null hypothesis is some form of "separate quantities are the same", and extreme enough evidence prompts rejection in favor of a conclusion that "separate quantities are different." In tests for equ...
I tried to implement the Leave One Out Cross Validation (LOOCV) method to get me a best combination of 4 data points to train my model which is of the form: Y= a + b X1 + c X2. Where a, b and c are the coefficients based on regression. I have a set of 20 data points on the whole to train my model but I want to restrict...
I was studying Deep Belief Network (DBN) and have questions. 1) According to the definition of DBN, DBN is formed by stacking RBM on top of each other such that the hidden layer in a lower layer becomes the input layer in the above layer. However, when I read the papers by Geoff Hinton (for example, "a fast learning a...
Why are measures of dispersion calculated relative to some central point? Why wouldn't, for instance, all possible non-repeated, pairwise differences in the dataset be a valid measure of spread?
Let's say we have $n$ patients and we did $l_i$ measures of some parameter at the left side of the patients and $k_i$ measures of the same parameter at the right side of them. So we got a table like this: i left side right side 1 0.1 0.2 0.9 0.5 -0.3 0.5 1.3 0.9 -0.6 1.3 1.3 -0.3 2 -...
We consider the model of nonparametric regression: $$Y_{i}=f(X_{i})+\xi_{i}$$ with $f:[0,1]\rightarrow \mathbb{R}$, $\xi_{i}$ are i.i.d with density $p_{\xi} $ with respect to the Lebesgue measure on $\mathbb{R}$ and $X_{i}$ are deterministic. Somebody can explain me why $P_{j}$(the distribution of $Y_{1},\ldots,Y_{n}$...
From Tsay's Financial Time Series, there is a SARIMA model: He said that: I can't understand why deterministic seasonality is special case of the multiplicative seasonal model, and what the deterministic component in the SARIMA model (2.41) is when $\Theta=1$. I really appreciate your help. Thanks!
In the stats class I took, all the results I have encountered about the convergence in distribution of some random variables are in one way or another consequences of the Central Limit Theorem. Out of pure curiosity, I wonder whether there exists useful and commonly used results about the convergence in distribution of...
We have a set of 60000 files, and a we have a piece of software that attempts to look at each file and determine what date the contents pertain to. We would like to be 99% confident that our software is selecting the correct date 95% +/- 5% of the time. We manually created 658 tests that each take a file and the cor...
This has be asked before, but I still have not grasped it completely. I know that generative models model the feature distribution and that this includes modelling the P(x|y) and P(y), which are not required if we are trying to classify (find P(y|x)). Question: Many text books say that it is easier to include features ...
I guess this is similar to this one but not quite the same. Consider I have a distribution that represents a population (e.g., Uniform(0,1)). I separate this interval (0,1) into three equal parts (0-1/3, 1/3-2/3 and 2/3-1). For the population, I will have for each interval 33.333% of data. The graph for the population ...
Let X and Y be independent random variables such that $X∼Exp(1)$ and $Y∼Exp(2)$. Find the probability that $3X+4Y≤5$. I thought the equation for solving this was the integral from $\int_0^a \int_ 0^{(a-y)} \lambda_1 e^{-\lambda_1 x}\lambda_2 e^{-\lambda_2 y} dx dy$ where $a = 5$, so I first started with the integral f...
Let $X$ and $Y$ be independent random variables, each of which is uniformly distributed between $0$ and $1$. Find the probability that $(X−1/2)^2+(Y−1/2)^2≤1/9$. Give at least $8$ correct digits after the decimal point. I do not know where to start with this question. Can someone please get me on the right track?
I am trying to compare 2 ideas to see which one is better/more effective - I am looking to see if a significant difference. (2 conditions) We used a questionnaire to gather feedback from hundreds of people. (Questions include: how likely would you buy it, how likely would you tell your friends and family, I want to lea...
Say I have data that I'd like to cluster that has different dimensions that are of different data types. For example: ordinal: You mood today: Very happy, happy, neutral, sad, very sad Ratio: Age: ... Interval: Weight: 100-120, 121-180, 181-200, 201-600 Is there an accepted step wise procedure to normalizing the data...
I was thinking of this problem. http://en.wikipedia.org/wiki/Two_envelopes_problem I believe the solution and I think I understand it, but if I take the following approach I'm completely confused. Problem 1: I will offer you the following game. You pay me \$10 and I will flip a fair coin. Heads I give you \$5 and Tail...
I want to compare the means between groups 1 vs. 2 and also 2 vs. 3. All three groups are nonnormal, as the Shapiro-Wilk test resulted in p values of 0.03, 0.04 and <0.0001 respectively. n is 10, 13 and 38 respectively, and the Levene test for equal variances resulted in p values of 0.22 for 1 vs. 2 and 0.44 for 2 vs. ...
I am fitting a regression with ARMA errors using the base R function arima() and the Arima() function from the forecast package. The estimated coefficients from both are identical. My problem comes from using arima.errors() on these two models, and using tsdisplay() to view these structural residuals (that is, the re...
We know that a ARMA(p,q) process is weakly stationary, iff there is no root of the characteristic polynomial of its AR part lying on the unit circle. But what is the necessary and sufficient condition for a ARMA(p,q) process to be ergodic? Any book on that? by "ergodic", I mean its definition in terms of that the firs...
I am sitting on a pile of data concerning wages at a local company and other information, such as the gender, whether the person in question belongs to a minority group etc. What I would like to investigate is whether an additional year of education gives the same relative increase in wages for lower and higher educati...
I'm trying to fit a complex model to count data from a detector. I have background and background+signal data. My goal is to obtain information from the signal by fitting a Poisson with $\lambda = \lambda_{back} + \lambda_{sign}$. The expected signal intensity $\lambda_{sign}$ at each pixel of the detector is calculate...
I am spatially predicting binomial probabilities (using proportional data; cbind in R) across a spatial domain. I use the functions get.models followed by model.avg in the R package MuMIn to get averaged coefficients of models with delta AIC less than 2. This returns an object of class model list showing the component ...
I'm stuck on a homework problem and I'm hoping you all might be able to help me out. I'd be very appreciative! We were given this data set: Data. I ran a regression in Minitab with GPA as the response and IQ and Self-Concept as the predictors. I've answered a number of questions correctly with this regression, but I ca...
In cluster analysis how do we calculate purity? What's the equation? I'm not looking for a code to do it for me. Let $\omega_k$ be cluster k, and $c_j$ be class j. So is purity practically accuracy? it looks like were summing the amount of truly classified class per cluster over the sample size. equation source The q...
I wish to make a visualization of the separating hyperplane in the SVM algorithm along with my training features. As my feature vectors have 8 dimensions, we cannot directly visualize this. The only potential solution I can think of is to get a projection down to 2 dimensional space. Will this solution even make sens...
I wrote a meta classifier which instead of aggregating various models on the whole data (like bagging, boosting, random forest), it splits the input space into some disjoint regions and builds a base model for each region. The reasons why one would want to try this approach would be: remove all cross-regional interfer...
How can I construct parametric bootstrap confidence intervals in R without using the boot package?
I have noticed that the sign at the front of the log-likelihood ratio formula changes depending on what source I have been looking at. Below are the two formula I have seen, exactly as they were written (in case the notation is offering something I am missing): $LLR = -2 ( LL_{\rm Simple} - LL_{\rm General})$ (Source) ...
I have a homework question in which data is taken from three months of hospital admission data. It is then split into six 4-hour groups (0000–400, 0400–0800, etc.). The data are given with just the hour group and one column containing a number of admits. We are to draw a conclusion about how nurses should be scheduled ...
Suppose you are running an experiment with two conditions, A and B. At the beginning of the experiment, both populations are the same, and of equal size. After a (teaching) intervention, both groups receive a post-test. Then the students that succeed on the post-test come back later and do a review, (the reviews are id...
Path analysis and hierarchical multiple regression are the two most common analytic methods used to examine a theoretical model. There is one dependent variable. No one has explained why they choose one method other the other. In laymen's language please lay out the pros and cons!
Let us model the number of winter storms in a given year as a Poisson random variable. Suppose that in a good year the average number of storms is 3, and in a bad year the average is 5. If the next year will be good with probability 40% and bad with probability 60%, find the expected number of winter storms next year. ...
Background: I have a set of student answers to some questions and also their scores, whether the answer is correct or not (1 - not correct, 2 - somewhat correct, 3 - correct). I also have for each question a gold answer so I've tried to predict their correctness based on the similarity of the answers to the correct ans...
Consider an experiment in which a fair coin is tossed 10 times in a row (the tosses are independent of each other). Let X denote the number of heads observed and let Y=X^2. Find the covariance between X and Y. I know that Cov(x,y) = E(x*y) - E(x) * E(y) but I cannot seem to get the right answer. Any hints as to where t...
The augmented Dicky-Fuller test, as described in Tsay's Financial Time Series: The regression done in the test seems to only produce real value $\hat{\beta}$, so it seems to me the test only tests existence of root 1 or -1. (Am I missing something?) A AR(p) model can be nonstationary because it has a complex unit root...
If an ARMA process (or just a AR(p) process) has real unit roots (i.e. 1 or -1), then differencing it repeatedly will make the differenced process weakly stationary. An ARMA process (or just a AR(p) process) may have complex unit roots. If that happens, can repeatedly differencing make the differenced process weakly st...
I could not pick a more generic title for this question I guess. Here is what I am dealing with: I have a time series data stream coming in from multiple measurement endpoints. The number of endpoints is between 2 to 200. The resolution is 10 seconds but I am using the 1 minute aggregate. The data is CPU utilization, t...
I am given that score ("logscore") of 2 players follow a normal distribution. They both have the same standard deviation of 0.205 but the mean varies. Player A has mean logscore that exceeds B by 0.15. I need to compute the probability A wins B. How do I approach this problem? I think the its also very similar to th...
I am trying to figure how how I would fit a distribution to the data described below. Imagine I run an experiment where in condition 1 subjects choose between option A costing \$50 and option B costing \$100. In condition 2 subjects chose between option A costing \$50 dollars and option B costing \$80. So imagine that ...
I have to calculate half life of an advertisement using Kalman filter in R. The paper 'Estimating the Half-life of Advertisements' (Naik, 1999[1]) provides the base but am unable to understand how exactly the estimation is being done and since a lot of parameters that go in as the input to the kalman filters are unknow...
Suppose we have a first differences regression with a bounded response variable, $$\Delta y_{i} = \beta_1 \Delta X_{i}+\Delta\epsilon_i.$$ For example, suppose $y_{it} \in [0,1]$ where $y_{it}$ could represent participation of a population on a given survey, or the pass rates of students on a standardized test in a gi...
I am looking for some tools for automatic fitting of moving average (MA) time series model to my data in R. I know R:stats::ar method to fit an autoregressive time series model to the data (by default selecting the complexity by AIC) but I keep failing in finding its equivalent for MA model. There is armaFit method bu...
My question is about the required number of simulations for Monte Carlo analysis method. As far as I see the required number of simulations for any allowed percentage error $E$ (e.g., 5) is $$ n = \left\{\frac{100 \cdot z_c \cdot \text{std}(x)}{E \cdot \text{mean}(x)} \right\}^2 , $$ where $\text{std}(x)$ is the stand...
When it comes to compare a new clustering algorithm, one always wants to show the advantages of his/her method over existing and well known methods. Going this way may mislead one to ignore disadvantages proposed method. For clustering results, usually people compare different methods over a set of datasets which reade...
Please take a look first at this link: http://en.wikipedia.org/wiki/Ljung%E2%80%93Box_test#Formal_definition It is written, $\chi_{1-\alpha,h}^2$ is the $\alpha$-quantile of the chi-squared distribution with $h$ degrees of freedom. Does $\chi_{1-\alpha,h}^2$ mean: The area below the graph of $\chi^2(h)$ from $\chi_{1-...
I am using the grm function in the ltm package in R. There is no function to check the goodness of fit of the output. How can I check if the graded response model is a good fit to the data?
I am trying to understand and implement Anderson-Darling test for normal distribution in C++. I've found Octave/Matlab implementation of Anderson-Darling test here, but the critical values differ from values listed at wikipedia. Authors of mentioned source code had made some kind of adjustment, before they tested the h...
Is there a reason to prefer squaring or not squaring the dissimilarities when clustering with Ward's method? The question is motivated by the following statement in the documentation for R's hclust() function: Two different algorithms are found in the literature for Ward clustering. The one used by option "ward.D"...
There are three drivers and two roads, X and Y. The probability of choosing road X is p for all drivers, and the probability of choosing road Y is (1-p) for all drivers. To calculate the probability that all drivers choose road X simultaneous is p^3. However, what would 3p imply? What does it mean intuitively?
from what I have studied in the data mining course (please correct me if I'm wrong) - in logistic regression, when the response variable is binary, then from the ROC curve we can determine the threshold. Now I'm trying to apply the logistic regression for an ordinal categorical response variable with more than two cat...
What is an appropriate strategy for splitting the dataset? I ask for feedback on the following approach (not on the individual parameters like test_size or n_iter, but if I used X, y, X_train, y_train, X_test, and y_test appropriately and if the sequence makes sense): (extending this example from the scikit-learn docum...
I'm currently storing the following things in my Database about user submitted content: Downloads: The total Download count of the Content Likes: A user can either like a content or do nothing How can I determine which Content has got the highest popularity by using these two numbers? I would try something like: $s =...
In Tsay's Financial Time Series, for a AR(p) process, In the time series literature, inverses of the two solutions (to the characteristic equation of AR(2)) are referred to as the characteristic roots of the AR(2) model. From other areas of mathematics where the concept of characteristic equations also exists, e...
I got this interview question. Would like to know the correct answer: In our population, there are 10,000 customers. We sample 1,000 of these people to offer a product. We know 1. Some don’t accept offer anymore. 2. Some accept if we call them 3. Some accept anyway. How we can exclude the customers in the first ...
I want to transform my data $\mathbf X$ such that the variances will be one and the covariances will be zero (i.e I want to whiten the data). Furthermore the means should be zero. I know I will get there by doing Z-standardization and PCA-transformation, but in which order should I do them? I should add that the compos...
I am predicting missing values by using two different methods (e.g., data imputation methods). Following I am interested to test if the predicted values, obtained by means of two different methods, are significantly different. The missing values are not normally distributed and lay in the range between 0 and 1. What me...
I have a dataset of some observations with class attribute of values 0 and 1. The dataset is quite unbalanced (class 1 – 15%, class 0 – 85%). Further this dataset consists of 5 years, and the distribution of class values varies between years (let's say class 1: 12%, 13%, 15%, 15%, 14%). I would like to know if this dif...
I was wondering what the difference between pooled OLS and random effects model is? I know that random effects eliminates the time-constant effect. However, when i run my regression with pooled ols and random effects model I get different results. The pooled ols regression looks find where all the variables are signif...
I have learning data consisting of ~45k samples, each has 21 features. I am trying to train a random forest classifier on this data, which is labelled to 3 classes (-1, 0 and 1). The classes are more or less equal in their sizes. My random forest classifier model is using gini as its split quality criterion, the number...
I'm struggling to understand what $\phi(x_{N+1})$ is in this excerpt of an algorithm (namely Linear Bayesian Regression embedded in other algorithm): $c_i = \gamma_i / \sum^L_{j} \gamma_j$ $V_i^{N+1} = ((V_i^N)^{-1}+\beta \phi(x_{N+1})^Tc_i \phi(x_{N+1}))^{-1}$ $\theta_i^{N+1} =V_i ^ {N+1} ((V_i^N)^{-1}\theta_i^N+\beta...
For a ARMA process, some (e.g. in Tsay's Financial Time Series) said: it is wide-sense stationary, iff all the roots of its AR characteristic polynomial are greater than 1 in magnitude. This is shown by requiring the variance of the series at any time to be nonnegative and constant. some (e.g. in Brockwell's Intro...
For context I will first explain the overall problem that I am working on. I am given a catalog of product names and I am also given a large text dataset that may contain mentions of these catalog products. The problem is that the actual product name in the catalog can be very different from how it is mentioned in th...
I wonder if the following model is a linear or nonlinear time series model: $$ X_t = d(t) + \sum_{i=1}^p a_i X_{t-i} + \sum_{i=0}^q b_i e_{t-i} $$ when $d(t) = ct$, $d(t) = e^t$, $d(t)=sin(t)$, and $d(t) = t^3$? According to the definitons in Tsay's Financial Time Series, I guess they are linear because $E(X_t|F_t), F_...
(I am not a statistician, so this might seem a dumb question, but I need your expert help!) I have data that looks like this: ----------+----------+-------+-----+----- City Emissions People Area GDP ----------+----------+-------+-----+----- Sheffield . . . . Oxford . . ...
I have two data sets Train data Test data (with no dependent variable values but I have data on independent variable or you can say I need to forecast). Using the training data (which has some NAs in the cell) I performed ordinary least square regression (OLS) using lm() in R and fitted the model & I got the $\bet...
I am doing a basic linear regression with one predictor with some weighting in R, e.g.,: lm(response~explanatory, weights=w, data=mydata) The weights are measures of precision of the response variable. Because the weights are highly skewed, I find I get very small p-values for the effect of my explanatory variable b...
The arm package includes the sim() function. On its R help page it states: library(arm) ?sim "This generic function gets posterior simulations of sigma and beta from a ‘lm’ object, or simulations of beta from a ‘glm’ object, or simulations of beta from a ‘merMod’ object" From what I gathered sim() does not neces...
I'm working on the Gini feature importance measure for random forest. Therefore, I need to calculate the Gini decrease in node impurity. Here is the way I do so, which leads to a conflict with the definition, suggesting that I must be wrong somewhere... :) For a binary tree, and given the probabilities of left and righ...
Given the following data frame: df <- data.frame(x1 = c(26, 28, 19, 27, 23, 31, 22, 1, 2, 1, 1, 1), x2 = c(5, 5, 7, 5, 7, 4, 2, 0, 0, 0, 0, 1), x3 = c(8, 6, 5, 7, 5, 9, 5, 1, 0, 1, 0, 1), x4 = c(8, 5, 3, 8, 1, 3, 4, 0, 0, 1, 0, 0), x5 = c(1, 1, 1, 1, 1...
I used a SVM to classify my features. With cross validation, on my testing set, I obtained an accuracy of 81%. I want to measure how good/bad this is. Is the technical term for good/bad statistical significance? With my SVM we predict that an 8 dimensional feature vector is in 1 out of the 2 classes. I wanted to use a...
Let $X$ have a Poisson distribution with parameter $\lambda$. Find the maximum likelihood estimator of $\alpha=\mathbb P(X=0)$. In a sample of size 100 from a Poisson distribution, it is found that the mean is 0.75. Calculate an approximate 95% confidence interval for ${\alpha}$. For the MLE, we want to maximise $e^{-...
Let $X_1,...,X_n$ be a random sample from the folded normal distribution with the density... $f(x)= \sqrt{\dfrac{2}{\pi}} \theta^{-1} e^{(-x^{2} \theta^{-2})/2}$ for $x>0$ and $\theta>0$, 0 otherwise. The question asks... Find the UMP for test size $\alpha$ for $H_0:\theta = \theta_0$ vs. $H_0:\theta > \theta_0$. Det...
I'm trying to predict the frequency of buying a product based on their previous purchasing history. The approach I took as of now is, Create a vector by finding the duration distance of each purchase (Xnt - X(n-1)t Sort the resulted Duration distance Remove Top 10% and bottom 10% results. Say X is 10% count then X = N...
I'm curious if there are any neural network packages out there that easily allow one to construct feed forward neural networks with shared weights, but also allow for the training to be done in parallel. Torch7 allows for easy construction of shared weights, although the parallel training support is either not there (o...
I am analysing a study using a 4-way mixed ANOVA. It has one between-subjects factor and 3 within-subjects factors (with 2, 2, and 3 levels). I have 9 dependent variables. I ran normality tests on my data, and since it is a 2 x 2 x 2 x 3 ANOVA, I had to run 24 tests per dependent variable. At least one of the tests wit...
Given the simple regression $$Y_t = \beta X_t + e_t$$, with $$e_t = \epsilon_t + \theta_1 \epsilon_{t-1} + \theta_2 \epsilon_{t-2}, \epsilon_t \sim WN(0, \sigma^2)$$ and $$X_t iid, X_s \perp e_t \forall s,t$$ Is ${X_t e_t}$ a Martingale Difference Sequence w.r.t $F_{t-1}=(X_{t-1}, e_{t-1}, X_{t-2}, e_{t-2}, .....
Suppose the distribution of scores of a test has mean 100 and standard deviation 16. Calculate an upper bound for the probability $P\{X>148\text{ or }X<52\}$. Here is my progress: By the addivity axiom, $P\{X>148\text{ or }X<52\}=P\{X>148\}+P\{X<52\}$. Can I use Chebyshev's Inequality on both probabilities or do I us...
We know that Chi-Square can be used with categorical data (such as Male/Female, Republican/Democrat, etc). However, I convert my original continuous data to categorical variables and then use Chi-square analysis on it. Is the approach correct? It has been pointed out to me at continuous vs categorical logistic regre...
I have a logistic regression where some of the independent variables are proportions (compositions) that sum to 100 percents. Let's say that I have 4 such variables - I have ran the regressions 4 times, each time with one variable out, so that I'll be able to estimate the impact of the increase in 1% of each variable, ...
My attempt at making sense of the problem: The problem provides us with the sum of squares (SS; I believe that's the $18.1$). We can use the SS along with the number of samples $(21)$ to get the standard error. Then somehow use this information to find the probability of having a worse fit? After more research I bel...
We have a bivariate normal process where $X, Y \sim N(0, \sigma)$, with no covariance. (For convenience we can assert that $\sigma = 1$, or that we have a good estimate for its value.) What is the distribution of the random variable $R(n) = \sqrt{\overline{x_i}^2 + \overline{y_i}^2}$ — i.e., the Euclidean distance bet...
You have multicollinearity when you have 2 variables $(X_1, X_2)$ that have a relationship, $X_1=a+X_2$ where $a$ is constant. My question is: is there still a multicollinearity issue if $a$ is not constant, $X_1=X_3+X_2$? For example your testing children and you have their birthday and the date of the test, so date o...
I have a database with many thousands of entries of box scores. Each box score has a player name, date played, points scored, minutes played, and some other stats like rebounds, assists, etc. I want to use this information to find out how the frequency of points per game varies by each half a point difference. I'm n...
$\newcommand{\E}{\mathrm{E}}$ I don't understand why Baum-Welch algorithm is an instantiation of EM algorithm. Indeed, why computing $\alpha_t(i)$ and $\beta_t(i)$ corresponds to Expectation step. Expectation step corresponds to compute expectation over the latent variable of log-likelihood of observed variable given ...
I am new to PCA and wanted to do a bit of experimentation on my data set just to see what it looked like (using R). I am not able to give access to the data here since it is confidential. However, if there is some other kind of statistic/visualization you would like to see that would help you answer my questions please...
I'm new to both R and Bayesian statistics, and I have a problem where I have a normally distributed prior that elicits a mean and standard deviation. The introduced likelihood function is also normally distributed with a mean and standard deviation that can be drawn from a sample. Now I understand that a posterior is ...
I am looking at two populations on which I have measured 4 independent variables ($X_1$, $X_2$, $X_3$, $X_4$) and one dependent variable ($Y$) along with each measurement or observation. I suspect that the two populations are different in the sense that the second population's $Y$ shows a dependence on an additional no...
I'm running a logistic regression model where anecdotally I expected age to be a very large factor. If you see from the charts I made in Excel before running the model through R, this is how the support lines up by age: Looks pretty significant. Though when I run the model, as you can see below, age is the only thing ...
I understand the coefficients of a logistic equation can be interpreted as odd ratio. If a regularization term is added to control for over-fitting, how does this change the interpretation of the coefficients?
I'm trying to judge the performance of my perceptron linear discriminant. In one instance I'm training on a sample size of 150 and on another I'm training on a sample size of 1500. I test both of these on the same testing set. Yet, the peceptron that is trained on the larger set performs more poorly. I'm not sure how t...
MLE = Maximum Likelihood Estimation MAP = Maximum a posteriori MLE is intuitive/naive in that it starts only with the probability of observation given the parameter (i.e. the likelihood function) and tries to find the parameter best accords with the observation. But it take into no consideration the prior knowledge. MA...
I'm reading through Fan and Li's SCAD paper on Nonconcave Penalized Likelihood. The idea is to penalize the loss function by $p_\lambda(\theta)$ where $\lambda$ can be some tuning parameter. Fan proposes that a proper penalty function should produce estimators with the following 3 properties, and also lists sufficient ...
I am trying to understand what is the rigorous definition of seasonality is, but couldn't find it. Is it a mathematical tool at all? I need to analyze a stream coming from one source and be able to estimate the data coming from the source. I need to take into account the seasonality of the data and try to prototype the...
I have tried to model a time series (https://dl.dropboxusercontent.com/u/13029929/ts.txt) with various approaches, but haven't been satisfied. The original time series and its ACF and PACF look like It doesn't look weakly stationary to me, because the mean and variance don't seem constant. I want to test its station...