instruction stringlengths 9 38.7k |
|---|
I know that the difference between generative and discriminative classifiers is that the generative ones directly model the distribution of the observed data while the discriminative ones do not.
But then I come across the term discriminative training in which there are Minimum Classification Error(MCE) and Maximum Mu... |
In this paper, the authors claim that
Theorem 1. A random point process $\Pi$ on a regular measure space is a Poisson process if and only if $N_\Pi$ defined by $N_\Pi(A) = \#\{\Pi \cap A\}$ is a completely random measure. If this is
true, the mean measure is given by $\mu(A) = \mathbb{E}(\Pi(N(A))$.
They mention t... |
A colleague of mine explained that in variography, the exponential covariance function often does a better job at fitting to spatial data and generating accurate predictions than does the spherical covariance function.
Has there been any work done on Gaussian process regression (AKA kriging) as it exists in the 'mgcv' ... |
Let's say I want to answer the question if smokers vs nonsmokers have different levels of Gene A. This seems like an obvious two-sided test. However, if I have multiple studies and I want to combine their p-values using Fisher's method, I now am confused how to accomplish this since Fisher's method is one-sided.
For e... |
Following excerpt is from the fifth chapter of "All of statistics" by Wasserman:
Suppose that $X_1,X_2,\cdots$ is a sequence of random variables which
are independent and suppose each has a $\mathcal{N}(0, 1)$ distribution. Since these all have the same distribution, we are tempted to say that $X_n$ ``converges'' to... |
I have a question. I am trying to plot an adjusted Kaplan Meyer curve, that is a survival curve after having performed a regression and a multiple imputation.
For that, I need to use the survfit function on a Cox regression obtained with mulitple imputation.
Here is an example code
library(data.table)
library(mice)
li... |
I just started taking survival analysis class and I'm stumped on this question.
Let $T_{1},T_{2},...T_{n}$ independent continuous non-negative random
variables with survival function $S(t)$
Show that $S(t)$ ~ $U(0, 1)$.
Find the distribution of $-log S(t)$
|
I have a sequence of images of shape $(40,64,64,12)$. If I apply conv3d with 8 kernels having spatial extent $(3,3,3)$ without padding, how to calculate the shape of output.
If the next layer is max pooling with $(2,2,2)$, what will be the output shape?
|
Assume that we toss a coin n times and the result looks like this
HTHTHTHTHTHTHTHT... .
Would a (Probability-) Frequentist conclude that that the probability for the coin to land heads is 0.5? It seems to be the long run frequency, but on the other hand it is not really random whether the coin lands heads or tails, whi... |
Is it possible to train a Neural Network such that each of the last layer's nodes train with a different Loss or Objective function?
This seems possible to me. You would simply update each node's weights with gradients calculated on using different loss function. Is this intuition correct?
To simplify the problem, let ... |
I am currently trying to find the meaning of principal components of my data. I find the raw loading very hard to interpret, because the first components drags a large part of the total variance (50 %).
So I decide to do a varimax rotation for a easier interpretation of my components.
I work in R, and with the psych p... |
I performed two studies on the relation between the stimulus valence (positive/negative) and the action tendencies (approach/avoid) measured with TMS motor evoked potentials technique. For each study I performed a Repeated Measures ANOVA with the 2 within factor (the stimulus valence and the action tendencies). I got a... |
When simulating non-homogeneous (time-dependent hazard $\lambda(t)$) Poisson processes, we can use thinning [1] to generate jump times $t \in [0,t^0]$:
initialize $t = 0$
generate $u_1 \stackrel{d}{\sim}U(0,1)$
set $t = t -\frac{1}{\lambda_u}\log(u_1)$
generate $u_1 \stackrel{d}{\sim}U(0,1)$ independent of $u_1$
if $... |
Consider that I have only several positive samples, say 4 or 5, and a big amount of negative samples. I want to find a hyperline can exactly seperate the positive samples and negative samples if the training data is linear separable and if it is not, I want a hyperline that mis-separate the training data as little as p... |
In OLS, we know the direct relationship between the variance of the estimated model parameters $\beta$ and residual variance $\sigma^{2}$ as: $\textrm{Var} ( \hat{\beta} ) = \sigma^{2} (X'X)^{-1}$. However, very often we have correlated data structure that violate independent residual assumptions. Therefore, we apply m... |
I do individual-based simulations and I am trying to initialize a variable P known to be correlated to another five variables: H(r=-0.67), E(r=-0.33), X(r=0.33), A(r=-0.25), C(r=-0.25), O(r=0.25). These five variables are assumed to be independent and the value of each these variables is drawn from a normal distributio... |
I've been working through Fifty Challenging Problems in Probability by Frederick Mosteller.
For problem 38 my answer differs from the solution. Although I understand the solution, I don't know where I went wrong in my answer. So, where did I go wrong?
Problem
How thick should a coin be to have a $1/3$ chance of landin... |
If i have daily prices for 5 years, and want to predict monthly relative returns , is rolling window calibration is used for ARMA(and thus use all available data) ? or it's better to use just one window for monthly returns(but have fewer points)?
What is the best practice? (given that ARMA has lag terms)
|
In the literature of community detection there are various measures bases on principles from information theory (Normalized mutual information, variation of information) that are used to compare partitions. I wonder why KL-divergence is not popular for comparison while it compares two probabilistic distributions simila... |
I have tried to find answers to my question by googling but haven't found anything relevant - if anyone could pass on some resources or relevant key words that would be brilliant, in absence of actually getting an answer to my question.
My model predicts deforestation at pixel resolution using both pixel- and lower-res... |
I would like to do 10 times repeated 5-fold CV and compare results from more models. Here is one thing I don't understand:
Example of 5-fold CV:
myFolds <- createFolds(loan_data$loan_status, k = 5)
summary(myFolds)
Lenghts:
Fold1 - 2011,
Fold2 - 2012,....., Fold5 - 2012
Folds have ~ 2012 indexes which is ~ 20%... |
In a paper[1] on generating survival data from a Cox proportional hazard model, they specify following cumulative distribution function:
\begin{equation}
F(t^0) = \frac{1}{5}\sum_{x=0}^{4} \exp(-\exp(\beta x) t^0).
\end{equation}
with $\beta = 0.5\log(2)$
They generate random numbers from this distribution but don't ... |
I have a dataset that contains 3 variables:
A categorical variable in form of names (categories)
Two numerical variables with a metric scale level (stars and review_count)
My goal is to find out which categorical variable I should choose to maximise the two numerical variables.
yelp_asian_final %>%
select(categories... |
I am using a nonlinear model of the form y ~ p1 * exp(-p2*A), with the following coefficients:
estimate se zval pval
p1 5.5447 4.2592 1.302 0.19298
p2 0.3856 0.0835 4.616 0.00000
tau2 0.0000 NA NA NA
I want to use this model to predict the effect size (in %) of a treatment, influenc... |
I am performing anomaly detection with a high-dimensional zero-inflated data-set. This rules out options like standard Gaussian anomaly detection as no amount of transformation can make my features "normal".
Isolation forests look promising but it has been difficult to discover what assumptions are made about the data... |
I want to generate a random Bayesian Network (with about 500 variables), and then pull about 500 samples from it. What is the standard "recipe" for a Bayesian Network that will let me do that. Will starting off with $V^2$ binary matrix representing the network's connections be enough?
|
I have been working with GAM from the MGCV package for the past few month and I'm pretty happy with the results. But I recently I bumped into something that I can't explain.
I'm developing a GAM based on about 324'000 observations of 4 covariates and I would like to test which interactions between the covariates are ... |
In an experiment, heart rate of participants is collected for 60 seconds (1 reading per seconds) and pupil diameter whilst performing one of three tasks. The success of the task is measured with a binary value (success/failure) indicating whether they achieved the expected result or not.
What is a good statistical mode... |
I'm trying to get a handle on what the current state of things is when it comes to quantifying uncertainty in nonparametric regression models. It seems like the options are
Use a Bayesian model and hope the model fits well enough to be able to trust the posterior predictive distributions it comes up with
Use a non-Ba... |
My data have ratio type and count type variables and they have lots of zeros.
Since they are skewed to right, I want to normalize the data.
I'e tried square root transformation and log transformation and the results are shown below.
As you can see, because of the zeros, transformation doesn't normalize the data.
I w... |
I have 200 points for the first class and 400 points for the second. I'm using cross-validation with f-score as a performance measure. Due to imbalance data, is it ok to do this without over-sampling, undersampling or any other techniques to handle this imbalance in the data? Since F-score accounts for the imbalance da... |
After doing a linear regression with 1 continuous response variable (number) and 1 categorical predictor variable I plotted the residuals and they are all on the 0,0 line. What does this mean and what can possibly cause that?
|
From a large number of time series, I've generated an even larger number of features for each one. The result is a NxM matrix for times series N and feature M.
Using Matlab, I could feed this dataset into the Classification Learner and generate a nice model of the data but I want to be a bit more sophisticated as I'm s... |
There is a question here on Stackexchange- Does the order of explanatory variables matter when calculating their regression coefficients?
Although I understand the details here, how can we formally prove that the order of variables doesn't change the coefficient estimates? I was trying to use partitioned matrices, and ... |
How can Precision-Recall (PR) curves be used to judge overall classifier performance when Precision and Recall are class based metrics?
Since in a binary classifier, there are two classes, often labelled positive (+1) and negative (-1). Yet, the classifier performance metrics [y] precision (PPV) and [x] recall (TPR) w... |
I analyse my data with Random Forests in R (package rfSRC). Variable selection is done by VSURF. The problem is very general, I think. Nevertheless I will ask my question with my data in mind.
In this certain case there are different sampling areas in floodplains along a river. Sampling points are not evenly distribute... |
So I'm confused about how to analyze some data for a biodiversity survey I'm undertaking. Incidences of birds are recorded at 25 stations on four sites (so 100 points in total). My response variable is count data and my explanatory variables are the different land-uses at each site (three different types of woodland, a... |
I feel like this is a basic question and/or I'm missing/have forgotten something obvious.
Is there an equivalent of "confidence intervals" which one uses for the mean, but for the whole population?
E.g. given a sample distribution (which may or may not be normal), is there some way I can specify limits and say, "with ... |
I have a set of values reported as the 'log mean'. I know from elsewhere in the text that it is the natural log that is being referred to. I'm trying to ascertain if there is a way I can derive the mean from this 'log mean', and also if there is a way to work back from the reported value of the '+/- 1 log standard devi... |
In order to calculate an effect size estimator for a non-parametric test such as the Wilcoxon test, the following formula is applied:
$ r= \frac{Z}{\sqrt{N}} $
This formula is suggested by several forum contributions and is also used by SPSS for the purpose described above. Originally the formula was developed to my ... |
Which minimization method is usually used for estimating the coefficients in a GMM setting? I.e. in the following:
\begin{align*}
arg min_b \ g_T(b)'Wg_T(b)
\end{align*}
Is there any dominating method or is it dependent on the specifics of your problem / the moment conditions?
|
I want to write a code that calculates the Cox Proportional Hazard rate:
$h(t|x_it,e_i)=e^{x_it \beta + \lambda(t) + e_i}$
where $\lambda_t$ is a spline in slopes and $e_i$ is an unobserved term. My data includes age,status,health variables of people.
I am pretty new in the topic so I wonder what is the best way to do... |
I am fitting linear models with lme4 in R.
Initially, I planned to fit mixed-effects model, but I realized that my data is partially nested; some clusters only have one or two observations (I detailed my issues here: What are the options I have for partially clustered design, when using Mixed-Effects Model?). Because o... |
I'm analyzing behaviour's persons in transportation and have the following data :
I'm wondering to verify the following hypothesis :
Individual will look to confort (Type:no=0,yes=1) proportionnaly if their duration's journey is more important and if their age is more important.
I've the following plot
Visually, Ii s... |
I checked the source code of MASS::mvrnorm function. Key parts are listed here
function (n = 1, mu, Sigma, tol = 1e-06, empirical = FALSE, EISPACK = FALSE)
{
...
eS <- eigen(Sigma, symmetric = TRUE)
ev <- eS$values
X <- matrix(rnorm(p * n), n)
X <- drop(mu) + eS$vectors %*% diag(... |
I recently came across Gaussian Processes in Gelman et al. (2013), and I am trying to learn more about their potential application for use in imputing time series data. The data of interest is a single variable time series of an individual's heart rate collected using a photoplethysmogram (PPG; an optic sensor that att... |
I am using weather (know to have correlation with energy usage) and customer population size to forecast energy usage 20 years out, by year. Currently, I am using annual average weather variables to forecast at year with regression. However, I have access to daily and even hourly weather data.
I am wondering if I am l... |
Let's say that I am an inspector working on an assembly line. I examine and pick out defective items so that they aren't put on the market.
Let's say that over a five week period, I note the number of defective items per week in the matrix A.
$$
A = [\begin{matrix}
12 \
14 \
13 \
11 \
13 ]\
\end{matrix}
$$
Let's assume... |
Say you have a bunch of simple images that are basically just 25 pixel blocks. Each of these images has a corresponding set of class labels (for the whole block) but you really just want to know what class each individual pixel is. For instance, using the two blocks below:
Perhaps you know up-front the left block is 3... |
First, here is the hypothetical data frame in R.
Version <- rep(c("AB","AC","BC"),each = 300)
OutcomeAB <- sample(c("A","B"), size = 300, replace = TRUE, prob = c(.6,.4))
OutcomeAC <- sample(c("A","C"), size = 300, replace = TRUE, prob = c(.4,.6))
OutcomeBC <- sample(c("B","C"), size = 300, replace = TRUE, prob = c(.7... |
I have a very small data set 12 observations using which I wish to generate forecasts for the next 12 months :
Date Paid Christmas MonthNum Month
Jan-15 11990085 0 1 1
Feb-15 11061740 0 2 2
Mar-15 12076397 0 3 3
Apr-15 11702514 0 4 4
May-15 11395657 0 ... |
Say I have some data and some graph fitting function.
Just using gradient descent will find one particular local solution.
Now what I want to do is also put "feelers" out for other solutions. In essence I want to run the gradient descent many times in parallel to find different local solutions. And select the best one.... |
I have a dataset with multiple variables having different distributions - some are normal and others are skewed. I want to summarize locations for some identified values on both kinds of distributions. Simple percentiles can work for both normal and skewed distributions. (http://www.dummies.com/education/math/statistic... |
Suppose I have some continuous real function $f$ and $z = f(x, y)$. I want to plot a heat map to show how z varies as I change x and y in a certain range. I am unsure how to do this in a continuous way. The heat map function seems to be a disaster, reordering my inputs so the output is meaningless and although using pl... |
tl;dr: Starting with a dataset generated under the null, I resampled cases with replacement and conducted a hypothesis test on each resampled dataset. These hypothesis tests reject the null more than 5% of the time.
In the below, very simple simulation, I generate datasets with $X \sim N(0,1) \amalg Y \sim N(0,1)$, and... |
I'm doing a Simple Logistic Regression using R. The description of the variable is listed below:
vars n mean sd median trimmed mad min max range skew kurtosis se
X1 1 1382 14410.84 39410.4 2352.5 5507.66 3235.03 7 440000 439993 5.83 43.1 1060.12
The outcome:
alive deceased
... |
I'm new with NN, and learn that I have to experiment out my way to decide what # of lays/nodes to use to fit the model. However, could it happen that model outputs based on different layers/nodes choices occur to be contradicting from each other, but hard to tell who's right and who's wrong?
|
This question could seem pretty common but I want to give it a different take.
As an undergraduate student, for estimation of parameters I was taught about the glorified Maximum Likelihood and Least Squares methods, that are very useful for many properties they yield. For instance, a strong factor for which people choo... |
Say I have an unbiased coin and if I roll heads I get 40 pennies reward and If I roll tails I get 80 pennies. I believe the following is correct for the expected reward from one toss:
reward = p(heads)*40 + p(tails)*80
however is there a formal proof?
|
I'm using an AFT (accelerated failure time) model with an exponential distribution to study the speed of adopting a new innovation. One of my independent variables is cumulative adoption, which is negative and highly significant. What's the best way to interpret this? Does it mean that as more and more actors adopt the... |
I have long-term survey data for trees infected with a virus. The data was measured in 2000 and again in 2010. I'd like to compare the number of uninfected vs. infected trees in 2000 and 2010. However, the total number of trees at each timepoint is different. It seems I need to use McNemar's test for paired proportions... |
I'm trying to design a statistical test that will confirm whether an event x causes another event y. Or more plainly, whether a specific marketing action actually increases telephone calls from potential customers.
Let's say there's a list of data like this:
The data contain around 100 data points, each recording a te... |
Given data matrix $X_{n,p}$ where $n$ is the sample size, $p$ is the dimension, the sample covariance is
$$\hat{\Sigma}=\frac{1}{n-1}X^\top X=\{\hat{\sigma}_{ij}\}_{1\le i,j\le p}$$
Is there any result on the quantity like $cov(\hat{\sigma}_{i_0,j_0},\hat{\sigma}_{i_0,j_0+1})$? I.e. what is the distribution? Or asympt... |
Suppose I have two noisy versions of $\theta$, which is a parameter we want to estimate: $\theta_1=\theta+\epsilon_1$, and $\theta_2=\theta+\epsilon_2$. I want to use $\theta_1$ and $\theta_2$ to estimate $\theta$. And the covariance matrix of $(\epsilon_1, \epsilon_2)$ is known $\Sigma_{2\times2}$, but not necessarily... |
Setting:
Longitudinal data on outcome Yi,t of a group of individuals, i={1,...,N}, over time, t={1,...,T}
On this group, a sequence of RCTs (r={1,...,R}) staggered over time is applied.
Each RCT is measuring the effect of a specific treatment and treats a small percentage of the population.
Once an individual is... |
If $X_t$ is a white noise time series, does it necessarily follow that $-X_t$ is also a white noise time series?
|
Is it true that the mean of a random walk process does not depend on time and the sequence can be considered mean stationary?
|
In my understanding, classifiers that tend to overfit (high variance) are unstable. Two examples would be unpruned decision trees and k-Nearest Neighbors with small k. Can you suggest some more classifiers like this that would have high variance?
|
I was working on a little project and the basic idea is to have a neural network learn how to play 2048. Because the next move in the game is not dependent on the previous moves, I think a fully connected neural network would do fine here.
I am just totally stuck at how to train the network.For things like the MNIST Da... |
I am interested in researching a machine-learning algorithm for trading on Forex, after being inspired by several papers that I read. I want to do this more out of a love of computing and forex than anything. I understand the principles of input data, weights, learning, test/validation sets, etc, but despite the vast... |
I understand the intended use cases for both stochastic approximation algorithms like SPSA or FDSA, and for SGD algorithms like Adam.
SPSA is intended for noisy objective functions, and Adam for randomized mini batches.
So for me it looks like the only difference between both of them is where the randomness comes from.... |
Problem: we have two processes $x_{t}$ and $y_{t}$ as follows:
$x_{t} = y_{t} + w_{t}$
$y_{t} = \phi_{0} + \phi_{1}y_{t-1} + u_{t}$
$w_{t}, u_{t}$ iid with var: $\sigma_{w}^{2}, \sigma_{u}^{2}$, mean of $w_{t}$ is 0 (mean of $u_{t}$ not mentioned)
$\phi_{1} \neq 0$
then: $x_{t}$ is ARMA(1,1) with:
(i) AR part = $\phi_{... |
I am trying to test out various mgcv::gam models in a scalar-on-function regression analysis.
The following is the 'hierarchy' of models I would like to test:
$$
Y_i = \alpha + \int_0^TX_i(t)\beta(t) dt \tag{1}
$$
$$
Y_i = \alpha + \int_0^TF(X_i(t))\beta(t) dt \tag{2}
$$
$$
Y_i = \alpha + \int_0^TF(X_i(t),t) dt \tag{3}... |
I have data in the form of grocery item Name, grocery item ID and their respective order ID's. Please find the sample data below :
ItemName ItemID OrderID
Apple 123 1001
Sugar 092 1001
Knife 112 9890
Spoons 232 9890
Buttercups 234 9890
Ketchup 545 7867
Bottle ... |
What is the name of the distribution below? Is it a Dirichlet-compound multinomial distribution? If not, why?
\begin{equation}
\begin{split}
P[\theta_1|\theta_2,\theta_3,\boldsymbol{z},\boldsymbol{\alpha}] &= \frac{N!}{\prod_{k = 1}^3 n_k!}\frac{\Gamma(\alpha_1 + \alpha_2 + \alpha_3 + n_1 + n_2 + n_3)}{\Gam... |
What is the difference between ML architecture and ML model? few papers using "model" and others using "Architecture"
Is it correct if I said, "Architecture is a model that can be visualized. Models are more general"
|
Fisher's LDA for 2 classes uses within ($S_W$) and between ($S_B$) variances and the solution we want to find is just the first eigenvector of $S_W^{-1} S_B$. For more than 2 classes, it naturally goes to the same fashion.
For Bayesian LDA (classifying $x$ to the class which has the highest posterior probability given ... |
I understand the basic principles for the naïve bayes classification with one feature:
$$
P(Class|feature) = (P(f|Class) * P(Class)) / P(f)
$$
We have a dataset that has the following attributes/features:
day | outlook | temperature | humidity | wind | play
Day is just a number (sequence)
Outlook can be [sunny | overc... |
For a simple linear regression model $y = \beta_{0} + \beta_{1}x +\epsilon$, where $\hat\beta_{0}$ and $\hat\beta_{1}$ are estimates of $\beta_{0}$ and $\beta_{1}$. Then can we prove that, $$cov( y,\hat{\beta_{1}})\neq 0$$
|
I'm working on an example from the book "An Introduction to Generalized Linear Models 3rd Edition" by Dobson. I'm trying the exercise on page 69 which starts:
"The data in Table 4.5 show the numbers of cases of AIDS in Australia
by date of diagnosis for successive 3-months periods from 1984 to 1988." Which looks like t... |
First of all, apologies if I am not using the correct terminology to describe the problem. I have a dataset of two variables, which looks like this:
There are clearly two groups of points. I want to separate them so that I can fit a linear regression to each of them.
I can draw a line and decide that everything above ... |
I have a data set which measures 60 data points in a second (60Hz). Clearly, I do not really need all 60 points in one second since this only generates some noise.
ABOUT MY DATA:
So my data sets are primarily location/position data (x,y) coordinates that are obtained from a motion tracker. The motion tracker measurem... |
I'm looking for some advice on selecting an appropriate forecasting model for panel data. I'm just starting out in the field and would appreciate any hints or rules of thumb to help make such decisions. Here's my particular case:
I have quarterly data on the incomes of 12 competing companies. Each company has three mai... |
Contextual and collective anomalies are defined as follows (source):
Contextual Anomalies. If a data instance is anomalous in a specific context
(but not otherwise), then it is termed as a contextual anomaly (also referred
to as conditional anomaly
Collective Anomalies. If a collection of related data instances is anom... |
I've been digging deep for methods to test multivariate normality (MVN) of data of about 10-12 dimensions (usual methods like the Shapiro-Wilk don't seem to have enough power for this). I recently came upon this publication$^\dagger$, which in Remark 3 on the final page suggests that for a datapoint $X_k$ of MVN data ... |
I have a general question concerning probabilistic models. Imagine that I have a system with a high-dimensional state $x$ with a pdf $p(x)$. The state $x$ is time-dependent, and a propagating stochastic model $f(x_t|x_{t-1})$ describes its evolution through time.
In many applications where an approximation of the pdf $... |
In Section 3.2 of R. S. Tsay, Analysis of Financial Time Series, I read:
The basic idea behind volatility study is that the series {r_t} is either serially uncorrelated or with minor lower order serial correlations, but it is a dependent series.
and a little further:
...it seems that the returns are indeed serially ... |
I conducted a Kruskal-Wallis test and the results were statistically significant. However, after conducting posthoc tests and calculating adjusted p-values for the test of mean difference between groups, none of these were statistically significant. Can I report that I found statistically significant differences but th... |
I am working with a dataset that is essentially all categorical data. I have 20-30 distinct columns of categorical data, with some columns having as many as 1000 different categorical values. If I use dummy variables to convert all of my categorical data I will have so many features that I don't know how I could ever i... |
The reconstruction loss for a VAE (see, for example equation 20.77 in The Deep Learning Book) is often written as
$-\mathbb{E}_{z\sim{q(z | x)}} log(p_{model}(x | z))$,
where $z$ represents latent variables, $x$ represents an image, and $q$ is an approximate encoder. If we assume that
$x | z \sim \mathcal{N}(\mu_{x|z},... |
I am going through the following section of the book by (Goodfellow et al., 2016), and I don't understand it quite well.
Stochastic gradient descent has many important uses outside the
context of deep learning. It is the main way to train large linear
models on very large datasets. For a fixed model size, the cost... |
I have $M$ stacks of multivariate time series ($N$ variables sampled over $T$ time points), and each of the $M$ multivariate time series is associated with one of $K$ known classes. My goals are:
(1) being able to predict to which of the $K$ classes a given multivariate time series belongs;
(2) determine what is the su... |
Background
In regression analysis, $R^2$, the squared multiple correlation, represents the proportion of explained variance by the regression model. Most software's default setting uses Type-III sums of squares (SS), as has been explained and illustrated excellently in other CV questions (e.g. here and here). This effe... |
I'm trying to understand the relationship of some ecological data I have with geographic distance. Normally, the assumption is that this particular ecological data is linearly related with distance, and the standard test used by researchers is the Mantel test. Unfortunately, that's where most people end things. I'm int... |
I am trying to normalize a dataset using the Interquartile range (IQR), I've already gotten the value of IQR, which is Q3 -Q1 (difference between 75th and 25th percentiles), what should I do then?
For example, if I got the next set of data:
0.644
0.666
0.694
0.728
1.487
1.512
1.524
1.665
1.698
1.746
1.859
where Q3= 1.6... |
I need to be able to reproduce some SAS results in R, as far as this is possible (note: I'm very familiar with R and barely used SAS). The original SAS code is as follows:
PROC FACTOR CORR DATA=<data> OUT=FactorScore
SIMPLE
CORR
RES
METHOD=PRINCIPAL
... |
I need help thinking through my approach to Gibbs Sampling of many parameters and I'd like to know if there is literature on this topic:
I have a dataset with 3 dimensions: state, year, code. With the terms and interaction terms, there are $$50 + 5 + 5 + 50*5 + 5*5 + 50*5*5 = 1,585$$ parameters that I need to estimate.... |
I am studying time series, I have a small trouble with the proof of one of the proofs of the autocovariance function:
I need to show that $$|\gamma(h)|\leq \gamma(0)$$
I am considering complex-valued random variables:
First I have that $|\gamma(h)|=|\langle X_{k+h}-E[X_{k+h}] ,X_{k}-E[X_k] \rangle |$. Then I apply the ... |
Im a student in econometrics and Im currently working on vector error correction models (VECM).
Im facing a problem with correction error coefficients signs. My teacher stated that they must be negative and significant. But I found out that their signs depend on the choice of the normalized coefficient.
For example, i... |
I'm currently having problems understanding how to calculate the variance between n given time series, each containing data of exactly one day.
So basically, I'm given one array containing double values (which have at most 4 decimal places) from a specified time interval (granularity of measurements is 30 minutes, whic... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.