instruction
stringlengths
9
38.7k
As the title suggests, why is that the mean forecasting error is minimised when conditional expectation is used for forecasting in ARMA model? Need some guidance on this..
I am an undergrad student and I have a project for my probability class. Basically, I have a dataset about the hurricanes that impacted my country for a series of years. In my probability Book, (Probability and Statistics with R) there is an (not complete) example of how to check if the data follows a Poisson distribut...
Suppose I wanted to test for a difference in BOTH the mean and variance, how would I go about constructing a test statistic for this purpose? I suppose my null hypothesis would be that the mean and variance in one population are the same as the mean and variance in another, whilst the alternative hypothesis would be t...
I encountered some problem while getting the $\mathbb{E}[x]$ of a continuous random variable. The following equation is the PDF that im trying the expectation. $\mathbb{E}[x] = \int_0^\infty x^2\alpha^2e^{-\alpha x}dx$ I got stuck of how to get next step of $[-\alpha x^2e^{-\alpha x}]_0^\infty + \int_0^\infty 2x \...
I have two prediction models. The first one returns answers in the range 0 to 1, where the correct answer is 0 or 1. The second returns answers in the range -1 to 1, and the correct answer is -1 or 1. I have the MSE for both modes, and I want to compare performance. What is the correct way to do this? Simply divide the...
I have biological time series (9 years long) of the biomass of species which logically exhibit a seasonal pattern. I would like to cluster them into a few groups based on their typical seasonal evolution (e.g. spring vs. summer species). To do so, I was advised to use Fourier transform in order to decompose their sign...
I'm running a linear regression. The response variable is a proportion, and has quite a lot of zeros. The predictor variable is normal distributed. My two variables look something like these: set.seed(50) y <- sample(c(rep(0, 20), seq(0, 1, by=0.01)), 100) set.seed(50) x <- rnorm(100) And my model looks something lik...
I would like to test $H_{0} :$ $\mu_{1} = \mu_{2}, \ \sigma_{1}^{2} = \sigma_{2}^{2}$ vs $H_{0} :$ $\mu_{1} \neq \mu_{2}, \ \sigma_{1}^{2} \neq \sigma_{2}^{2}$Is there a test statistic that would allow me to detect both differences in the mean and differences in the variance? Is there a way that I could possibly combin...
Suppose I have realized n predictions $p_1, \dots, p_n$ using a classification method (for instance a logistic regression or a linear discriminant analysis). Each prediction is associated with a standard error $\sigma_1, \dots, \sigma_n$. I want to estimate the mean prediction and a confidence interval for it at a cert...
I need to make a Kaplan Meier plot with an at-risk or risk-set table beneath it. Otherwise stated, I need a table of the number of subjects at risk at different time points aligned below the figure. I found a website that explains how to do this for a plot that contains multiple subgroups. This is the ggkm function, t...
I have two samples of $n=10$ with the following values Sample 1: Mean = $3$ $s_{d} = 0.4$ Sample 2: Mean = $3.35$ $s_{d} = 0.3$ but the observations of both samples are unknown and I want to know the common $s_{d}$ to calculate $t_{0}$ Note: this is no homework is only an exercise from the tutorial, which has no...
I am reading the book "Learning with Kernels: Support Vector Machines, Regularization, Optimization, and Beyond (Adaptive Computation and Machine Learning)". I finished the first chapter and didn't notice any approach taken by the authors, but I assume according to the material in the first chapter it is a frequentist ...
I am doing a study into attentional bias (as measured by the Stroop test) and insomnia (as measured by the Insomnia Severity Index - ISI). I will be comparing the mean reaction times of the Stroop test to the mean ISI scores at 4 different time points (Baseline, 3 month follow up, 6 month follow up and 9 month follow u...
I'm new to MDS, but I found some good starter code here (http://mhermans.net/static/postdata/r-examples/neighbours-mds/neighbours-mds-example.html) and which I borrowed for below. The code works fine, but I would like to change the way I calculate my dissimilarity matrix. The data I want to analyze is ecological time s...
I have two questions in Energy function of expectation propagation. 1. Seeing the video of [1] (slide 24 of the second part), Minka says that, the evidence is the following: $$ Z = \left( \int q(\mathbf{x}) d\mathbf{x} \right) ^{1-n} \prod_{i=1}^{n} \int \frac{f_i (\mathbf{x})}{\tilde{f}_i(\mathbf{x}) } q(\mathbf{x}...
I have a sample which is a vector with 220 numbers. Here is a link to a histogram of my data.. And I wish to check if my data fits a Pareto distribution, but I don't want to see QQ plots with that distribution, but I need an exact answer with p-value in R, such as Anderson-Darling test for normality (ad.test). How cou...
I am trying to implement a simple normal-inverse-Wishart conjugate prior distribution for a multivariate normal with unknown mean and covariance in numpy/scipy such that it can take a data vector and construct a posterior. I'm using the update equations specified by Wikipedia for a NIW: http://en.wikipedia.org/wiki/Con...
I've recently started to brush up my statistics, and have begun doing so with two of the most often used statistical tools in my field: the t-test and ANOVA. Reading up on popular information sources such as wikipedia (none of which provided citable references for the following statements - sadly) I have concluded that...
Let's say I have two experiments of the same type, where I measure something x times in one location and y times in another location, is there any point in looking for a dependency in values between these two experiments? In case it matters, there's a difference in sample size and both samples have a near normal distri...
The log likelihood is as follows: $nln\beta + (-\beta-1)\sum ln(x_i)$ Dividing the log likelihood by n gives, $ln\beta + \frac{(-\beta-1)}{n}\sum ln(x_i)$ Using these two log likelihoods, I got the same MLE estimator, which is $\frac{n}{\sum ln (x_i)}$. However, I was confused by the different asymptotic properties. Fo...
I'm looking for a paper which I hope exists, but don't know if it does. It could be a set of case studies, and / or an argument from probability theory, about why using cross-sectional data to infer / predict longitudinal changes may be a Bad Thing (i.e. is not necessarily so, but can be). I've seen the mistake made in...
Students are assigned to group A or B based on two aspects: a grade from an exam and an evaluation of their teacher. Students with both a high grade and a positive evaluation get into group A, other students in group B. I know that the grade is much more influential than the teacher’s evaluation. I have the exam grades...
I have a set of data representing nodes and how often they have been involved with each other. I've processed this into a table containing the nodes on X and Y with the data being the number of interactions e.g. A B C D A 2 2 0 0 B 2 2 0 0 C 0 0 2 1 D 0 0 1 2 So the ...
In the first example of http://statisticshelp.com/confidence-interval Standard error of proportion is $$\frac{\sqrt {p(1-p)}}{n}$$ Why ?
My problem is we want to minimize $1/2 \cdot \text{Norm}(w)^2$ under suitable constraints $y(i){[w^Tx_i+b]-1}$. We write the Lagrangian and get the above equations. I have a problem in differentiating with respect to $w$ can somebody elaborate on that? How do we get first equation?
I have some time course data which I would like obtain the first derivative of. As it seems quite difficult to model, I do not intend to fit a function to it, but rather compute the first derivative numerically (taking the difference of each measure from the one before via the numpy.diff function). Now, I also want to ...
To investigate the difference between three tasks I tested 30 individuals on each of the three tasks and ran the linear model as follows: model <- lme(behaviour ~ task, random = ~ 1|subject, data=dat, method="ML") With contrasts using glht to investigate if task 1 was different from task 2 and task 3. To furthermore i...
I'm comparing performance of different classifiers on the data sets derived from financial markets, getting different accuracy and precision measures but Matthews correlation coefficient and Kappa statistic seldom exceeds 0.2. My data sets are quite big like 20000x170 so it should not be a problem with not enough of da...
I'm just getting into data science from a qualitative background, and I want to be able to do the most stuff with least amount of overhead. (mostly machine learning and agent based modeling). I'm currently learning python, and would hate to switch languages in the middle of my coursera class mitx 6.00x. Also, I like th...
I am trying to make sense of what a saturated model is. AFAIK it's when you have as many features as observations. Can we say a saturated model is a special-case of an extremely overfitted model?
In a multivariate linear model $Y = XB + U$, where within-subject (or repeated-measures) factors are coded as simultaneous response variables in $Y$, a general linear hypothesis can be formulated as $H_0: L B M = 0$, where $L$ specifies the contrasts among the levels of a between-subjects variable while $M$ codes the c...
I have set of 16 questions that have been answered on a numerical scale, from 1 to 7. They are answered by 200 couples, and I want to show there is a difference in the answers on gender. On a casual glance at the data, I see there is little difference between the genders for 6 of the questions, but is for the other. I...
I am running a linear mixed model and want to check its assumptions. The model I run is comparing if males and females behave differently over time (timeclass=1,2,3,4): x <- lme(response ~ timeclass*sex, random = ~ 1|subject, method="ML", data=dat) The code to create the plots: plot(x) plot(x, response ~ fitted(.) ...
Consider the pdf $$f(x)= \begin{cases} \beta x^{\beta -1 }\quad 0<x<1 \\ 0\quad \text{elsewhere} \end{cases} $$ for $\beta >1 $ Use the accept-reject algorithm to generate an observation from this pdf. I have posited that this beta distribution is dominated by a uniform one and thus: $\beta x^{\beta-1} \leq 1$ The the...
I want to estimate a growth model to model the growth trajectories of individuals $j$ over multiple time points $t$ by applying a standard mixed/mutilevel model (also known as random coefficient model): \begin{align} Y_{tj} &= \beta_{0_j} + \beta_{1_j}A_{tj} + \beta_{2_j}X_{tj} + \beta_{3_j}Z_{tj} + e_{tj} \\ \beta_{...
From a computer simulation I have built a histogram of the results and normalized it so that the probability of finding a point $X$ in bin $b_j$ is $\sum_j P(X \in b_j) =1$. From this I have calculated the histogram's Shannon entropy $H$ in order to have some way to quantify the "predictivity" of $P$. Now, while I get ...
I am performing backward selection for the Cox Proportional Hazards model with several variables (it is required that I do backward selection). One of these variables (let's call it "A") does not meet the proportionality assumption in the full model. So I would like to consider the possibility of stratifying on variabl...
I am reading the (german) Applied Statistics and on page 140 as a consequence of the Kolmogorov axioms it is stated that if $P(A)=0$ one cannot conclude that $A=\emptyset$ . Similarly if $P(A)=1$ one also cannot conclude that $A=S$. Why is that? Also, if $P(A)=0$ this means that event A is almost never possible and if ...
I try to understand parameter estimation and learning problems at Graphical Models, especially in directed ones (Bayesian Networks). But first of all, I try to understand what exactly a parameter means in a Bayesian Network. The separation between a "variable" and a "parameter" becomes blurry when describing learning p...
Most references I find say that the activation function used in nnet is 'usually' a logistic function. But in the case that I would like to test the performance of the trained neural network from nnet, it is necessary to know the exact activation function used.
I generated two sine wave time series and want to check the stationarity of them. (1) The first time series is short. kpss.test() thinks it is stationary. PP.test() doesn't reject the null of unit root. n=120 t=1:n x=sin(t/(n-1)*6*pi)+rnorm(n)*0.2 par(mfrow=c(2,1)) plot(x,ty='l',xlab='',ylab='x',main='Sine') # statio...
Simpson's paradox is a classic puzzle discussed in introductory statistics courses worldwide. However, my course was content to simply note that a problem existed and did not provide a solution. I would like to know how to resolve the paradox. That is, when confronted with a Simpson's paradox, where two different choic...
I'm trying to write some code to do a regression on data weight (x) and time (y). As best as I can tell, the model should be y = b1 + b2ln(x), but I don't know how you can do this by hand (I know how to in R...). I know how to do a simple linear regression by hand. Appreciate it.
Let the random variable X represent the amount of money carried by a student in class. To determine μ , the mean amount of money carried by a student, an experiment was conducted in class. The class was divided into four groups, and random samples from each group was taken. From Groups 1 and 2, random samples of size n...
I have an output from a relatively complex simulation model (Pred) that is trying to predict some observations (Obs). I state that it is relatively complex because the simulation cannot be used in my questions that follow. I only have the output from this model (Pred) and some observations that the model is attemptin...
Can a multilayer feed-forward network with n units per layer perform worse than a similar network with $<n$ units (e.g. same topology, just more units in each hidden layer)? I would imagine that it could not (assuming no local mimima problems), because if it did, then the training algorithm could just reduce some of th...
I recently asked a question about Simpson's paradox. Suppose we are concerned about making some choice about an arbitrary element of a population. Recall that Simpson's paradox arises when the answer suggested by the aggregate data differs from the answer suggested when the data is split into two sub-populations and lo...
I have two samples set, one is positive, and the other is negative. But, in each of both sets, there are some outliers that don't belong to it. Can the Robust subspace clustering be used to help me refine the two datasets and remove the outliers. I just want those most probable samples to be left. Maybe the Mixture of...
I'm working with a high-dimensional mixture distribution, and I'm interested in calculating its entropy. I think I could work it out if there were only two mixture components. Following @Daniel's suggestion in the comments, here's what I have so far: If the two components had equal weight, I think the answer would be...
I have fitted data of user activity per day to an arima(1,0,1)x(1,0,0). It's a nice fit. But does it make any sense?
Could some one explain me, what is the confidence band in correlogram and if an autocorrelation coefficient is out of this line, what does it mean? For example in my Diagramm, lag 14 is significantly high, what does it mean?
In this study, subjects are measured continuously over the day via electrocardiography (ECG). During the day, certain trigger events occur randomly. Once all the data is collected, the trigger events are examined and everytime a trigger event occured, the ECG is used to check for the presence of a certain medical condi...
I have a dataset of ~17,000 cases in SPSS 21 with which I am trying to run multiple linear regression. I have plotted the Studentised residuals against the unstandardised predicted values and also against each predictor that was included in the model and these plots indicate a fair degree of skewness and a few possible...
I am a physicist who is a few years out of doing his last course in statistics, so I am hoping to get some advice when comparing some data I recently generated. The context is as follows. I have two slightly different theoretical models which I used to generate two sets of data (the numbers are of radiative strengths ...
Given all good properties of state-space models and KF, I wonder - what are disadvantages of state-space modelling and using Kalman Filter (or EKF, UKF or particle filter) for estimation? Over let's say conventional methodologies like ARIMA, VAR or ad-hoc/heuristic methods. Are they hard to calibrate? Are they complica...
I am trying to model a variable (V) as a log normal distribution. $$ V = \mu \cdot\eta\,, \ \text{where } \eta \text{ is log normal} $$ Then $$ \ln V = ln(\mu) +\xi \\\\\text{where} \ \ \ \xi \ \text{ is }\ N(0,\sigma^2) $$ V is a function of the binary inputs $x_i, i\in(1,...,n)$ . I want to make the model depend ...
I am preparing to conduct a study and was interested in using a neural network approach. I was wondering if there was a way to roughly work out the sample size that would be needed?
I am concerned with the problem that I would like to bootstrap the p-value for an estimate of $\theta$ from multiply imputed (MI) data, but that it is unclear to me how to combine the p-values across MI sets. For MI data sets, the standard approach to get to the total variance of estimates uses Rubin's rules. See here ...
I would like to ask the opinion of this community in regard to the following discussion between me and my colleague. The case is this: we have two variables, let's call them Y and X. The AIC of a simple linear regression of Y on X (Y = b1*X + e) is A, and the AIC of the reversed model, regression of X on Y (X = b2*Y + ...
Im just wondering .. Everywhere I see only tables with the Qcritic as the results. Lets say I have a big set of data samples (like 1000 or more). Is then a way of mathematically calculate a Qcritic value? Is there any mathematical formula for Qcritic?
I am hoping someone can help with the following: I have been trying to use the ltm package in R to get person fit estimates using a 3PL model. The problem I have been having is that I start off with 4947 response patterns (dichotomous) but when I run tpm() I end up with 4851 ability estimates and 4851 person fit esti...
I have a 3-category ordered outcome (food consumption: 1=no food, 2=less food, 3=more food) and a 3-category ordered predictor (food exposure: 3=no time, 2= less time, 1= more time- whereby 3=no time is taken as reference category in the ordinal regression model). I want to explore hypothesis that more food exposure i...
I have 4 sets of random floats between [0,1]: $d1, d2, d3, d4$. I need to compare these sets by pairs and I make use of the kde.test function of R's ks package to do so. When I use kde.test to obtain the pvalue of distributions $d1,d2$ I get a value of ~0.55, but if I do the same for $d3,d4$ I get ~0.00. Here's the cod...
I am confused about how to use Cronbach's $\alpha$. Do we have to use it in sample survey before the final survey? Or is $\alpha$ calculated based on the final survey data? Similarly, what does the set of questions measuring a construct mean? Does it mean that the questions are mutually exclusive or do all the questio...
Suppose I have a covariance (error) matrix C_xyz for system with 3 parameters: x, y, z. Then it appears that x, y and z depends on each other: det(C_xyz) = 0 ax + by + z = 0 How to find covariance matrix C_xy of independent x,y parameters knowing covariance C_xyz and function a,b?
I would like to code a kmeans clustering in python using pandas and scikit learn. In order to select the good k, I would like to code the Gap Statistic from Tibshirani and al 2001 (pdf). I would like to know if I could use inertia_ result from scikit and adapt the gap statistic formula without having to recode all the ...
I came by several posts and papers claiming that pruning trees in a "bagging" ensemble of trees is not needed (see 1). However, is it necessarily (or at least in some known cases) damaging to perform pruning (say, with the OOB sample) on the individual trees in an ensemble? Thanks!
Suppose we are given a discrete r.v. $X$, distributed according to some unknown, finite probability mass function $p(x)$. We can assume that $p(x)>0$ for every $x$ in its domain. We can sample $X$ i.i.d. and obtain a sample $S= (X_1,...,X_m)$. Problem: how can we formally lower-bound $p_*=\min_x p(x)$, within a certain...
I've got a dataset which represents 1000 documents and all the words that appear in it. So the rows represent the documents and the columns represent the words. So for example, the value in cell $(i,j)$ stands for the times word $j$ occurs in document $i$. Now, I have to find 'weights' of the words, using tf/idf metho...
I have two parts of a multidimensional data set, let's call them train and test. And I want to built a model based on the train data set and then validate it on the test data set. The number of clusters is known. I tried to apply k-means clustering in R and I got an object that contains the centers of clusters: kClust ...
I have 3 groups, one control group and two treatment groups that have nothing to do with each other. I just want to see if any of those 2 treatment are different from the control group. Textbooks say 3 groups or more, use ANOVA to avoid type-1 errors. But I just don't understand why that applies here. On the one hand,...
I ran a cluster analysis on a population of customers. I used variables like: Lifetime Spent amount etc. Now I'd like to use these clusters ('Little buyer', 'Regular fan of the brand A', ...) for segmentation purposes. Problem: Future customers will appear, but I can't rerun a cluster analysis each day, so I need to ...
I'm fairly new to this site. I'm currently doing some research work that involves the use of non-linear mixed effect model on longitudinal data (R). I'm presently using Pinheiro and Bates' book, Mixed-Effects Models in S and S-PLUS, with the nlme package. By non-linear, I mean non-linear functions of independent variab...
You can get sample trees from random forest (e.g., see: How to actually plot a sample tree from randomForest::getTree()?) However, rather than getting a single tree from random forest, is there any way to get an "optimum" or "recommended" tree which is generated considering the many trees? Basically, I would like to re...
Suppose that we have two sets of variables $\textbf{X}$ and $\textbf{Y}$. Let $$ \textbf{X} = \begin{pmatrix} X_1 \\ X_2\\ \vdots \\X_p \end{pmatrix}$$ and $$ \textbf{Y} = \begin{pmatrix} Y_1 \\ Y_2\\ \vdots \\Y_q \end{pmatrix}$$ where $p \leq q$. Define the following linear combinations: $$U_i = a_{i1}X_1 + a_{i2}X_...
As a beginner to MDS, here is my thought process: Given a data set of environmental factors that may effect a certain sites, when I run a PCA on each site I get a list of principal components. If I want to understand which environmental factors are driving each of the principal components, ie: PCA1 <- Mostly Oxygen and...
Given data $(x_{1}, y_{2}),..., (x_{n}, y_{n})$, consider the simple linear regression model $E(Y | X=x) =3.2 + B_{1}x, Var(Y|X=x)=\sigma^{2}$. Construct a 95% confidence interval for $B_{1}$. I know that we first have to estimate the $\sigma$, but I was told that the degrees of the confidence interval is n-1, which I...
I am new to profile likelihood and do not really understand what advantages it may have. Lets say I have the following results estimating the means of three groups. What can I say about them? R code: profile.likelihood <- function(dat, muVals){ likVals <- sapply(muVals, function(mu){ ...
I'm using approximate Bayesian computation to find the true value of a parameter. My prior distribution is uniform over $(0, 1)$. I was watching this video on Bayesian learning and the lecturer states (around 36:00) that this is making a huge assumption. That is, we are assuming the value of the unknown variable has t...
I'm fitting linear mixed models and I have slightly inflated p-values due to multicollinearity. I deleted the factors with the highest VIFs until none of them was larger than 3. The VIFs tell me, how much the variances in my model are inflated due to collinearity, so just out of curiosity, I then calculated, what p-va...
Is this possible to compute? From a normal distribution we took a sample $( 11, 13, 13, 14, 14, 14, 15, 15, 17, 18).$ Compute the $98 \%$ confidence interval of the expected value. I'm studying statistics on my own but I don't know what formula should I use here.
I've always wondered this. Let's say someone gives you a spreadsheet with a large set of numbers, say 10,000, and says "What distribution does this set of numbers follow (Gaussian, exponential, Poisson, etc.)"? How do you go about determining the answer?
I have a dataset that consists of a list of tuples: (1, .5), (3, .7), (1,.1), (23,.8),... In each tuple, the second element is the average price, and the first element is the number of items. So for example, (3, .7) means that three items were bought for an average price of .7. From this list of data, I'd like to fit...
What exactly is contrast matrix (a term, pertaining to an analysis with categorical predictors) and how exactly is contrast matrix specified? I.e. what are columns, what are rows, what are the constraints on that matrix and what does number in column j and row i mean? I tried to look into the docs and web but it seems ...
I have run a zero-inflated Poisson model in WinBUGS without problems, and now I am trying to run its equivalent negative binomial. However, I get an "undefined real result" trap message over and over. Here is the data set http://www.megafileupload.com/en/file/474809/data1.html #Data handling library(R2WinBUGS) setwd(''...
I have two datasets. The first one consist of measurements with a known date. The second dataset consists of measurements along a distance axis. The second dataset is sequentially deposited (for example an ice-core) with an unknown growth rate. Values in the two datasets are expected to match within a certain random er...
I need your help with a Statistical Learning homework in R. I have to perform classification over this dataset: mammographic masses predicting Severity (0="not severe",1 = "severe) using these predictors: Age (quantitative) Margin (qualitative) Shape (qualitative) Everything is fine and understandable when I use logi...
I'm working on a calibration problem which involves the usage of the Kullback-Leibler divergence as an error between some empirical distribution $p$ and a theoretical distribution $q$. In the model, the $q$ distribution is normal with some fixed parameters. I have two questions: Is the Kullback-Leibler divergence th...
Hi I am trying to find the non-parametric equivalent of a two-way ANOVA (3x4 design) which is capable of including interactions. From my reading in Zar 1984 "Biostatistical analysis" this is possible using a method put forth in Scheirer, Ray, and Hare (1976), however, according to other posts online it was inferred tha...
Let $y$ be a binary dependant variable. I am using a logit model to explain the relationship between $y$ and many binary explanatory variables. I am mainly interested in finding which group (or intersection of groups) gives the highest probability of success. Now, this kind of analysis is fairly simple. However, the ma...
I want use this box plot to check it. Thank you
I have 2 datasets (nonpaired), P1 & P2, and I want to know 'scale parameter' of one to the other, aka P1=a*P2. As both datasets are highly nonnormal, I am performing a Mann-Whitney Test on the data. I take the log of the data, do the MW test, get the Hodges-Lehmann shift estimate (HL) and then take the antilog of the ...
I’m trying to estimate the effects of pest control on rat abundance, but I'm finding that the inclusion of a pest control category that contains all zeros is having huge effects on the results. My response variable is "propTun”, which is the proportion of tracking tunnels at a given site that recorded rat footprints (o...
I am assuming there is an optimal why to set up my data to achieve my goal of predicting who will retire next year. I can think of two methods. Which do you think is the most appropriate and why? Or if you can think of another alternative please let me know. Would your answer be different if I wanted to know who is lik...
I want to do a regression of a continuous dependent variable (y) (say number of crystals formed) using several independent variables (also continuous), each represent the temperature of each of the plates that are encountered in the crystal-making process (this is a made-up scenario to illustrate the problem I'm having...
Which existing methods are capable of performing a smooth curve interpolation with constraints on derivative? What I need it to smooth my evenly spaced (with few missing points) data to get a smooth curve which will have positive first and second derivatives.
I'm studying about Student's t-distribution and I started to wonder, how would one derive the t-distributions density function (from wikipedia, http://en.wikipedia.org/wiki/Student%27s_t-distribution): $$f(t) = \frac{\Gamma(\frac{v+1}{2})}{\sqrt{v\pi}\:\Gamma(\frac{v}{2})}\left(1+\frac{t^2}{v} \right)^{-\frac{v+1}{2}}$...
I am trying to list the differences in the ways a regularized general linear model would, in theory, be different from a neural network and linear discriminant analysis. I have a case where the number of cases is more than the number of features, and there is slight skewness in the sample cases. There is no co-lineari...
I'm using ridge regression for calculating optimal weights of a set of scores. These scores are correlated so the usage of ridge regression is used for penalizing large values of weights. So the purpose of ridge regression is to find beta that minimize the following: $$ \sum_i{(y_i - x^T_i\beta_i)^2} + \lambda \sum_j{...
What options are there for finding out what the time lag is for different time series? I'm looking at market data here - for example, if sugar does bad in a year, it's likely that soda might be hit the next year. I've come across cross-correlation, but am not sure how to go about using it. Are there any libraries that ...