instruction
stringlengths
9
38.7k
I have a data set composed of changes in financial asset prices. Because they are on different levels, e.g., one asset is trading in the 100s, the other in the 5s, the change their prices have vastly different levels. I scaled the data by subtracting the mean and dividing by the standard deviation for each time-series....
I think the title is representative enough. I have an experiment that is between two groups and within those two groups there is a within comparison that is randomized. So i want to use mixed ANOVA, but my data is not normally distributed. However, i found this: Assumption #5: Your dependent variableshould be approxi...
Why is $\pi$ used to denote probability in logistic regression? Rather than something that does not create confusion with the more common use of $\pi$ as the circumference of a circle or the specific number $3.14 ...$? Does using $\pi$ in logistic regression pertain some special meaning (like the more known $\pi=3.14.....
I'm new in this blog and my knowledge in R is very weak. However, I was trying to set the intercept at 1 in the following rma.mv ('metafor' package) function: rma.mv(S_ratio, Variance, data=dat_S_ratio, mods= ~ N_Total_e, random= ~1|Primary_Study) Basically I want to force the function to pass from the point (0,1). I ...
I am working on a project for a faculty member who wants to know if placement in Developmental Reading (IV1: Dev RDG & NonDev RDG) and/or placement in Developmental English (IV2: Dev ENG & NonDev ENG) affects the success rate (DV: Successful & Unsuccessful) in a course (HIS101 for example). I used a Logistic Regression...
I'm trying to use Bayes' Theorem to solve a question that's come up in work, but I don't know if I've done it correctly, because the result seems a bit strange. The problem involves a stochastic variable $v$ part of which can be modelled as a Gaussian with mean $\mu$ and standard deviation $\sigma$. There is an event $...
I am trying to find the $k$:th, ($:=S^k$) order statistic for a collection "affinely bernoulli" trials $\mathcal{C}=\{b_1 + c_1X_{1},...,b_I+c_IX_{I}\}$. In particular, we are given that $X_i\,{\buildrel d \over =}\, Bernoulli_{0,1}(p_i)$ and the $X_i$ are all independent with the $b_i>0,c_i>0$. Moreover,also assume $p...
My data consists of a numerical, continuous variable and 4 independent variables, plus two sources of random variation. I am running mixed-effects model in R with the lmer() function. head(MM_Table2) Name Condition Channel EpochCountStd EpochCountDeviant ErpMinTime ErpMinVoltage ErpMinAv Freque...
Relevance Vector Machines (RVMs) are really interesting models when contrasted with the highly geometrical (and popular) SVMs. In the light of a question like How does a Support Vector Machine (SVM) work?, and how RVMs are substantially different to SVMs, e.g. What is the difference between Informative (IVM) and Releva...
I'm trying to do an ordinal regression in SPSS (to look at what health behaviors are related to an ordinal quality-of-life outcome). I have 6 predictors of interest and 5 covariates for control. However, about half of them are continuous/scale variables that can't easily be dichotomized (e.g. age, BMI, and a few score...
Typically I use the confidence interval as an indicator of effect size for a negative binomial model, however, I have been told to provide an actual effect size (e.g., pseudo $R^2$). I have looked this up online and there is not much on the topic, and publications I have come across do not include it. So my questions a...
As the title say, I am after a way to find out the time-point when the average of an ordered sample start differing from zero. Here the details: I have two different psychological tests, and I have tested their association with age in my sample (N = 431). I found out using a mixed linear model that there is an interact...
Hypothesis: Porcupines prefer certain plant genotypes over others in a common garden. We visually inspected just over 2,500 trees in a common garden for evidence of herbivory on woody tissues. Each tree was labeled with its genotype. In our data, the one to four letter codes indicate genotype (e.g. "C," "JR," "JTCO")...
I am new to support vector machines. Short explanation The svm function from the e1071 package in R offers various options: C-classification nu-classification one-classification (for novelty detection) eps-regression nu-regression What are the intuitive differences between the five types? Which one should be applied...
Goal: I have a function $f(x,y)=z$ (two variables for illustration only) which I know almost nothing about--it has a compact domain which I can determine, it is non-negative, and bounded above. My goal is to find the maximum value $f(x,y)$ takes on its domain. I can query the function and I know the values at a few p...
A large cohort of freshly diagnosed patients is randomly assigned to one out of two treatment regimens in a balanced design. During a fixed time frame blood samples are drawn at set, unequally spaced time points and multiple blood test results are used as outcomes. It is known that in any case, there will be disease-in...
There are many work for training a deep neural network using GPU. From optimization perspective, which part saves time? Objective function evaluation? Gradient calculation? or something else? And and why? Is Certain matrix operations (say matrix multiplication) faster in GPU than CPU? In convex optimization Appendex C....
I read the original paper on Dropout (Srivastava, et. al.) and it seems to suggest that even dense networks with lots of parameters can be trained in such a way that they don't overfit to the training samples i.e. by using dropout. Now, I have trained two convolutional nets (for a personal project) with depths 2 and 3 ...
The answer is 1/2, but I'm really confused with the part that says "given that a 2 or a 3 was drawn". How did 1/2 come about?
I am measuring the effect of fatigue in human movement. I measure a gait parameter before and after fatigue. I have tested 60 subjects. I have 5 measurements of the same parameter before and after fatigue. I measure 5 times because humans have a variability. Which of these options would be better for my analysis? Calc...
I am looking for the formula to calculate the deviance of a multilevel logit model. I would like this for both the random intercepts case and the random intercepts and slopes model when there are two levels.
In this link about different neuron types, there is an introduction on the disadvantage of ReLU, (-) Unfortunately, ReLU units can be fragile during training and can "die". For example, a large gradient flowing through a ReLU neuron could cause the weights to update in such a way that the neuron will never activate...
I'm looking to plot the contribution of each variable in a regression model incrementally, and display how that impacts accuracy and the residuals. Given the model $$ y \sim \text{trend} + \text{Financial Planning} + \text{Investing} + \text{Business News} + \ldots$$ How can I create a plot similar to the one below i...
I have a 10 years daily data series, with no indicative trend on the first 8 years but seemingly exponential growth in the last 2. I’m using R with forecast package. auto.arima recommends: ARIMA(0,0,2)SARIMA(2,1,0,)[12]+drift=0.25 Note that no first difference is recommended. I worry that my future forecast (using thi...
I'm just making this up to understand the rules... Claim: People wearing roller blades can get to places in lesser time than those who don't. (Assuming on foot) Now, I'd like to express this using symbols (that's what I call them, unless there's another name for this). I'm guessing: If there's no problem with the symbo...
I have used a die 100 times. Here are the results for 1-6 points observed: 20/12/17/16/20/15 expecting: 16,66 for each I calculated by hand (df=5), the value is 2,8347 Then I used a pocket calculator (TI 84 plus), the result: chisquare is 2,834730 p=0,72544 df=5 Finally I used R, observed <-c(20,12,17,16,20,15) expect...
Given that seasonal models such as Holt-Winters and SARIMA estimate seasonal components of a time series, when would it be necessary or advantageous to manually apply seasonal decomposition and then fit a non-seasonal model? Another way to ask this question is why or when would one choose a non-seasonal model with se...
I want to perform a screening experiment to determine which of the factors $A_1, A_2, \ldots, A_6$ do not significantly influence the response and may be omitted from future experimentation. I decided to use Definitive Screening Design (DSD) (Jones and Nachstsheim, 2011). There, each factor has three levels, as opposed...
I am hoping someone can give me some guidance (or references) relating to the mean and variance of the distribution of the mean of sample means. I am thinking about a large number of populations, each with $\mu_{i}$ and $\sigma^2_{i}$. I will refer to the mean of the $\mu_{i}$ as $\mu_{Meta}$ and the variance of the $...
I am solving a program using my own MCMC Bayesian code. I block propose my vector by calculating the co-variance using the last 10 000 steps (sampling my posterior). I want to implement a fat-tailed proposal for the step size, but I want to keep my normally distributed co-variance proposal for the direction. Therefore...
I'd like to ask this rather theoretical question about estimating a linear model with known $\sigma^2$ for the error term. I read that if the variance of the error terms was known, it would've been possible to know the population slopes and intercepts. Can you give me a hint on how to insert this information in the est...
The simple processes that "explain" the binomial, Gaussian or Poisson distribution are relatively well-known. Johnson or shot noises may be known in restricted area of science. Sometimes, a distribution obtains novel explanations, like the Tracy-Widom law (Mysterious Statistical Law May Finally Have an Explanation). In...
I have came across a binary classification problem which I dont think falls under traditional binary classification. So just wanted to share with you guys to get some more ideas. I have a series of data records which is in a chronological order. For simplicity lets say I have 100 data records and I have a target value ...
I am performing a genomic study where I am interested in determining the heterogeneity of epigenetic alleles (DNA methylation patterns) in specific genomic locations. Previous work on this subject has lead to several different statistical measures of heterogeneity/entropy being developed, but the underlying assumptions...
I opted to use xmeans to get rid of finding the best K for kmeans. So I started to use PyClustering Xmeans library. But it require to give it an initial list of centers. So how should I determine that list? I was hoping that Xmeans can calculate the right k and centers itself.
Suppose I look at a collection of 10 students and calculate the mean and standard deviation of their GPAs. No one in this group has a 4.0. Then I take another 10 students at random and find that one of them has a 4.0. How surprised should I be by this? Knowing the mean and standard deviation of the first group, how man...
What is analytic proof for the fact that increments of a Gaussian process are again Gaussian? How could I apply that to increments of Poisson process? Maybe do I multiply characteristic function with complex variable 's' and inverse tansform?
I'm trying to work out the differences between conditional logistic regression and generalized estimating equations GEEs for repeated measures binary data. GEEs seem to be far more popular and I'm not sure why. I ran a simulation with repeated measures on the same subject where I omitted a subject-specific confounding ...
I read this caption in a paper and have never seen AUC described in this way anywhere else. Is this true? Is there a proof or simple way to see this? Fig. 2 shows the prediction accuracy of dichotomous variables expressed in terms of the area under the receiver-operating characteristic curve (AUC), which is equivalent...
Suppose you've got two high-dimensional datasets with no cases in common and most, but not all, variables in common. To answer your primary research question, you outer-join them, cluster them, and obtain a list of variables that best distinguish each cluster from the rest. For example, suppose the observations are bio...
I'm new in data analysis area and didn't have very strong statistical background... Now, I'm trying to filter out those numeric columns which have high correlation. At this moment, I don't plan to use dimensional reduction algorithms such as PCA because I'm still collecting data, and there are too many columns, I hope ...
I am performing an econometric analysis, but I am quite of a beginner, so I am wondering of how to include the percentage values in the regression. Should I leave the interest rates as they are (ex. 3.25% or 0.0325) or should I transform them in percentage points (1+3.25/100)*100? At the end, should I log transform the...
My 3rd grader studied probabilities at school. At home I decided to demonstrate how it works in practice. So we throw a quarter 50 times. 39 was head, 11 was tail, and I miserably failed to demo half/half rule. What would be the proper way to demonstrate how probability works for 3rd grader?
I truly have a lack of understanding of how the bootstrap filter works. I roughly know the concepts but I fail to grasps certain details. This question is for me to clear up the clutter. Here I will use this popular filter algorithm from a reference by doucet (so far I think this is the easiest reference). Let me first...
I have a question about concepts: Expected value (mean value) - $μ$ Variance - $σ^2$ Standard deviation - $σ$ What is the practical meaning of these common concepts of the probability theory and mathematical statistics. These concepts often go in tandem with each other. Everywhere are just dull formulas and cold f...
I have data from smokers people in different countries and through different years. $X_i$ can be viewed as a Bernoulli R.V. where $X_i=1$ if the person smokes and 0 when it does not. The smokers in a country are then $Y= \sum_i^N{X_i}$, where N is the people living in the country. And this $Y$ follows a Binomial$(N,\m...
Basic question here, because I don't even see it mentioned in e.g. wikipedia. Does the definition of a cohort study requires strictly that groups are exposed/not exposed to something (e.g. smoking, alcohol)? It would be a restrictive definition if so. What about if workers are paid less/paid more as 'exposure' & 'tenur...
I have two time-series of 2 different products x & y. They belong to the same main category, e.g.: Iphone 6 and Iphone 5. Maybe one product is the predecessor of the other product. I tested for correlation between the sales of the 2 products and got r=.67. Correlation is calculated on the number of sales of the 2 prod...
I know that for I*J contingency tables, Pearson's test of independence the distribution under null is $\chi^2((I-1)(J-1))$. I am curious why it is the case and no books I see seems to prove this. You can just give me a link or book/paper names if you have that. I know that by a direct application of multivariate CLT we...
From: https://stats.stackexchange.com/a/236297/22199, I quote A mixture distribution combines different component distributions with weights that typically sum to one (or can be renormalized). A gaussian-mixture is the special case where the components are Gaussians. Does this mean the following is a regression equat...
I want to simulate a moderated regression where the slopes are standardized (i.e., can be interpreted like correlations), and I am wondering how to do this with Cholesky decomposition. My initial approach was to generate three random variables that represented the outcome, "y," and two predictors, "x1" and "x2." # Cre...
I have got several significant variables in multiple regression analysis. Standardized coefficients of two of the significant variables are: Education of Son: -.487 Education of Daughter: .428 I also got few more variables. Now I would like to group these variables such as: children education, economic condition etc. a...
I obtained a poor discrimination(AUROC) and a good callibration(according to hosmer lemeshow) in a logistic regression model. How can I address this situation?
I am new to machine learning. I am reading the papers K-means Clustering via Principal Component Analysis and PCA-guided search for K-means. But there are too many mathematical proofs in these papers. I can't understand these papers easily. Can anyone explain this thing in simple words? Also, I am trying to use Python ...
I need your advice in the following dilemma: a physician wishes to conduct a double blind randomized prospective study. The patients are randomly separated in two groups. Each group will be submitted to a particular medical procedure that need additional experts to be completed. However, during the process of randomiz...
I am reading a paper (News drought, News Floods, and U.S. Disaster Relief by Eisensee and Stromberg (2007)) in which they study the effect of news coverage on disaster reliefs sent by US. They instrument "news coverage" with other newsworthy events that may crowd out disasters from tv, i.e. "Olympics" and "World Series...
The Hosmer-Lemeshow test has some inconveniences and I am well aware of it. But assuming that I want to apply it then I read that (e.g. Applied logistic regression, by Hosmer and Lemeshow) the test statistic has $g-2$ degrees if freedom ($g$ is the number of partitions used to define the test statistic). Some of my co...
I am attempting to construct a Linear Mixed Effects Model with Partially Crossed Factors with repeated measures and replication. Force was measured at the three locations on the foot (Toe vs Arch vs Heel) as subjects walked through a course in two different types of boots, over two types of terrain. The dataset is unb...
I am trying to compare two densitys, namely ${f}_{t}(\bullet)$ and ${g}_{t}(\bullet)$. I have simulated returns for both distributions, roughly 10,000 of them. I now need to compare the the probability of observing an observation $y_{t,s}$ in each of the distributions to compute the following value: \begin{equation*} d...
I have a data set of different roles and their skills. For eg. role: Software Engineer - skills: java, elasticsearch, elixir role: Software Engineer - skills: python, ruby, solr role: Frontend Engineer - skills: angularjs, reactjs, html, css role: UI Designer - skills: html, css, photoshop . . . Many roles woul...
This is my data frame: Group <- c("G1","G1","G1","G1","G1","G1","G1","G1","G1","G1","G1","G1","G1","G1","G1","G2","G2","G2","G2","G2","G2","G2","G2","G2","G2","G2","G2","G2","G2","G2","G3","G3","G3","G3","G3","G3","G3","G3","G3","G3","G3","G3","G3","G3","G3") Subject <- c("S1","S2","S3","S4","S5","S6","S7","S8","S9"...
So I am looking for a way to use a dataset with Support Vector learning where I have all the data either numeric or easily vectorizable. Only one challenge I'm facing is with IP addresses in the Dataset. I found a really good answer here for IPv4 addresses here. Email and IP String preprocessing for classification task...
I have a 2D input signal (x,y) that is governed by noise of different nature( white, poisson, other residual noises that are difficult to quantify - pink is cleaned). The stDev may (but can also look completely different) look like this: As you can see there is a clear gradient. I thus want to weigh my read out signal...
Lets say my multinomial logistic regression predict that a chance of a sample belonging to a each class is A=0.6, B=0.3, C=0.1 How do I threshold this values to get just binary prediction of a sample belonging to a class, taking in to an account imbalances of classes. I know what I would do if it's just a binary decisi...
I have a dataset of timestamped measurements for various features. Each data point d is a Matrix MxN of M measurements (say time 1...M) for N different features. You can think of these as measurements over N sensors over time 1...M. Each data point (matrix) is also associated with a binary label Y which I need to predi...
I have a training set, and a test set. I think it is important for the model to be tested always on the same test set. Therefore, I cannot mix the training and test sets and perform k-fold cross validation on the whole dataset. (please correct me if I am wrong) Nevertheless, I need to tune the parameters of my model. I...
I have some queries regarding using a non-parametric test, namely the Wilcoxon Sign Ranked test. I need to compare the means of pre- and post-intervention data. The data is being analysed as an overall composite score and then its relative sub-scales. Some of the sub-scales have passed tests of normality, therefore I’l...
I have a dataset of ~5,000 participants. I have missing data in my predictor variables, my covariates and my outcome measures. All of the measures are highly correlated. Should I... (a) impute them all in the same imputation model (b) impute them in separate models (c) only use participants with full outcome measur...
I am interested to know what happens if I have enough positive examples and I train a Classifier with those but no negative examples were provided. Since I am interested to find outliers (anything other than positive class), will this model work? What is the necessity of using even small amount of negative class or unl...
I want to estimate the volume of irregular objects (coral fragments) by simplifying their structure to a cylinder and then calculate the volume of this cylinder (i.e. Ecological Volume). The length of the cylinder runs along the longest part of the coral. Perpendicular to this I have measured the widest part (width1). ...
I have data on a collection of entities, along with data about things that have happened to them over time. I am trying to encode this into a categorical time series for use in an LSTM neural network for sequence prediction, and I'm not sure of the best way to do this. My exact purpose is sensitive, so I will motivate ...
I'm new to time-series forecasting, but have a question about more advanced techinques. I have an aggregate global measure - the average of about 20 countries trends in each year. However, since I only have 8 data points for this global measure (8 years worth), trying to forecast next years figure produces huge confide...
I found a significant four-way interaction in my mixed model 5-ways ANOVA (analysis of ERP data, 2*2*2*3*2). My variables are: Within-subject factors: magnitude of outcome (big, small), likelihood of outcome(high, low), valence of outcome (gain, loss), electrode (Fz, Cz, Pz) Between-subject factors: group (group 1...
I have a linear state space model (SSM) that looks like this \begin{align} {\dot {x}} & = {\rm \textbf{A}}{x} + {\rm \textbf{B}}{u} \\ {y} & = {\rm \textbf{c}}{x} \end{align} I was able to roughly estimate the value of the matrix $A$ & $B$. While $C$ is known! I would lik...
I have a question about practical implementation and interpretation of the Gaussian process regression model given by Rasmussen & Williams. The regression problem is defined as follows: Let $x_i\in \mathbb R^{5}$ be an input vector and $y_i\in \mathbb R$ be its corresponding target. The set of $M$ inputs are arranged i...
We have mass spectrometry data (measurements of 100s of metabolites) from 4 samples. These were Non-treated, Treatment 1, Treatment 2, and Treatment 1 and 2 simultaneously. The readout is intensities, which are a continuous data type. There are many metabolites, with relatively few replicates so as is typical of mass s...
When we want to ensure stationary time series of Euribor, how to do this with a negative rates as we can't take the difference log of the variable when it is negative?
Question: In a binomial distribution for $p=0.48, q=1-p=0.52$, find the population size $n_1$ so that $P(X>=3)=0.95$. My solution : $P(X\geq3)=0.95$ can be rewritten as $$P(X=0)+P(X=1)+P(X=2)=.05 \hspace{3cm} (1)$$ but I am unable to solve the above equation for $n_1$. Is there any way to solve the equation (1) or is...
I am reading the paper "Classical and Bayesian inference in Neuroimaging" by K. Friston. It starts with a hierarchical linear observation model $y = X^{(1)}\Theta^{(1)} + \epsilon^{(1)}$ $\Theta^{(1)} = X^{(2)}\Theta^{(2)} + \epsilon^{(2)}$ $\Theta^{(n-1)} = X^{(n)}\Theta^{(n)} + \epsilon^{(n)}$ Where the vector $y=(y_...
It is possible to express central moments in terms of raw moments. E.g. for skewness we get: $$ {\begin{aligned}\gamma _{1}&=\operatorname {E} \left[\left({\frac {X-\mu }{\sigma }}\right)^{3}\right]\\&={\frac {\operatorname {E} [X^{3}]-3\mu \operatorname {E} [X^{2}]+3\mu ^{2}\operatorname {E} [X]-\mu ^{3}}{\sigma ^{3}}...
I am running a logit model trying to predict purchases on a dataset including change variables, i.e. I have a dataset of this kind: webvisits.month1 webvisits.month2 webvisits.month3 Purchase contract1 34 21 22 0 contract2 11 2 ...
In a typical ROC curve all I do is a line from (0, 0) to (tpr, fpr) and a line from (tpr, fpr) to (1, 1). Now I see ROC curves with more than one points. Can someone explain what these extra points represent?
I am in the process of brushing up on my skills about time series data. So I first started with doing a Dickey Fuller test in excel to test for stationary of some data series. I was using the example found on this page . My hypothesis tests are as follows: $ H_o: B=0$ Is there a unit root? $H_a: B<0$ The data is stati...
I have a dataset of count data: the number of times a behaviour was performed by either of two individuals in a chamber (a focal individual and a partner), with multiple independent tests across multiple chambers. I'd like to test whether the behaviour was performed more often by the focal individual than by the partne...
Just realized that the predicted probability of default in logistic regression is small and spread within a narrow range. My first guess is that it could be related to the not-strong-features selected during the modeling. My question, is this normal or did somebody observe this phenomena before? how to correctly transf...
I am struggling with how to properly approach this problem. The wording is as follows: Suppose that $X$ has a binomial$(n,p)$ distribution and let $Y$ have a negative binomial$(r, p)$ distribution (below) . Show that $F_X (r − 1) = 1 − F_Y (n − r)$. I have been attempting a solution for several hours, but all of my wo...
I'm trying to unroll the swiss roll (from 3D to 2D) using an autoencoder, but it keeps getting stuck in local optima: the swiss roll ends up squashed rather than unrolled. It's no better than using PCA, basically. If I just have one hidden layer with 2 units, the autoencoder just projects the swiss roll down to 2D, whi...
I am currently Modeling fraud where the event that fraud occurs is a 0. I am using weight of evidence A statement was made that all of the parameter coefficients must be negative for the logistic regression regardless of whether the explanatory variable positively or negatively correlates with the event of fraud. Some...
Is there a main reference/publication suggesting to use cross-validation in order to choose the regularization parameter in Lasso?
I can't figure out how to interpret the Prediction in the results of pretty.gbm.tree called on a single tree from a gbm trained on a binary outcome with the bernoulli loss function. I'm using gbm v2.1.1. Example data('ptitanic', package='rpart.plot') # note this is not the default data(Titanic) ptitanic$died <- 2-as.i...
I need some suggestions for an issue regarding our business intelligence (BI) system, percentage Key Performance Indicators (KPIs) and average values. I am using a BI system for our organization, which allows for quantitative four-monthly KPIs, monitoring individual variation between target and actual values, and produ...
I am using the "forecast" package in R to forecast time series data. I am programming some time series cross validation based off of reading resources from Rob J Hyndman. The last paragraph on page 7 in Hyndman "Measuring forecast accuracy" states: "To calculate the MASE (sic, mean absolute scaled error) we need to ...
Short Summary: different slopes using linear regression models for two data sets obtained from experiments with different growth conditions are the slopes significantly different? --> ANCOVA in R is there an effect of the different growth conditions on the magnitude of the slope? I would like to test whether the line...
I have some crime data where the crime rate for a given year in a given town is reported as number of police reports per thousands of people in this town, eg $5/6$ for five reported crimes in a town of 6000 people. In the nature of things there will be some high-variance measurements from small towns and some less-vari...
I have a panel data set covering various countries over various years. I have information about the years in which these countries published an entrepreneurship policy - some countries only published one in the past 20 years, while others published a new one every five or ten years. I also have an annual estimate of th...
Suppose I have a distribution over the real line ($p$) and I'm approximating it by matching its first $N$ moments. What can I say about the approximation error as a function of $N$? Alternatively, how "pathological" does $p$ need to get for moment matching to produce a bad approximation? Would $p$ need to extremely n...
The function spec.pgram (also called by spectrum) in the stats package in R "calculates the periodogram using a fast Fourier transform" - it estimates the spectral density. The documentation is rather short, and it doesn't give information on the units of spectral density. After reading up on this, I'm kind of lost now...
Stat Question: I only have two predictor covariates for my cox ph model, and they are both categorical. They both violate assumptions of proportional hazards. I am confused if I can call them time-dependent covariates (as they do not depend on time, they are completely independent of time, but the survival associated w...
Comparing ARIMA and VAR Hi everybody, I want to evaluate the performance of VAR (Vector Autoregression) and ARIMA (Auto regressive Integration Moving Average) using two time series X and Y. I have used R. So far, it seems ARIMA (using only Y and excluding X) is performing better than VAR (using both X and Y) but I am ...
I am using 10-fold cross-validation to build a classifier (logistic regression). For the same data set (which is ~2000 rows), I randomly hold out 10% and run 10-fold C.V. on the remaining 90% for a range of $\lambda$ (ridge) and $\alpha$ (elastic net) values. I run the same model building procedure several times (say 5...