instruction stringlengths 9 38.7k |
|---|
I am using $AR(p)$ model to make one-step foreast for M1 returns EURUSD. Does not matter if I use $p=2$ or $p=100$. Always simple forecast that $\hat r_{t+1} = 0$ gives lower Mean Squared Error than my AR model.
Where is the problem? Learning window size (I checked 500, 5000, 10000) or just this that M1 data has lot of... |
For a mixture of experts model, is each expert trained individually, or are they trained with respect to the overall loss?
It seems each would be trained individually, since its not a requirement that each expert is a neural network.
|
I want to construct an ML algorithm that replace the classic A/B testing, actually a predictive model that replace the A/B testing with very high accuracy, I have about 10.000 rows of emails subject lines with their open rate. My goal is to build an algorithm that takes 2 subject lines of emails as input and returns th... |
Suppose we have algorithms $A_k$ and $B_k$, $1\leq k\leq n$, and $\alpha = 0.05$.
Friedman test for the algorithms $A_k$ shows that the null hypothesis that all $A_k$s perform equally well, can be rejected. Suppose $p_A = 10^{-5}\ll\alpha$.
Friedman test for the algorithms $B_k$ shows that the null hypothesis that all ... |
What does a p-value of 0 in the Ljung-Box statistic imply?
When I use the multivariate time series and fit a VARMA model, the Ljung-Box statistic (applied to residuals) gives values larger than 0.05 for all lags but the first two which are 1.
On the contrary, when I use difference series, I get 0's for all the lags b... |
I would like to know what's the difference between the standardized residuals and the adjusted standardized residuals in cross-tabs cell display in SPSS?
The following definitions are the ones that the SPSS gives:
Standardized. The residual divided by an estimate of its standard deviation. Standardized residuals, which... |
Is the delta method valid also for non-normal variables?
Claim:
Let $\sqrt{n}(\hat{X}_n-\theta) \xrightarrow{d} \hat{f} $.
With $\hat f$ having a finite distribution.
Then for every $g$ such that $g'(\theta)$ is nonzero we have:
$\sqrt{n}(g(\hat{X}_n)-g(\theta)) \xrightarrow{d} g'(\theta)\hat{f} $.
It seems to me tha... |
Consider a statistical hypothesis test of size level $0<\alpha<1$ for testing a null hypothesis $H_0:\theta \in \Theta_0 \subset \Theta$ against an alternative hypothesis $H_1:\theta \in \Theta_1=\Theta - \Theta_0$. I know that the test is considered "unbiased" if its power function $\beta$ satisfies the condition:
$$... |
I've read that Random Trees do not require cross validation as it's implicitly integrated into the forest growing algorithm.
I'm using Scikit's ExtraTreesRegressor on about 15K rows and 300 columns, split into 85% training data and 15% test data.
The test results I obtain are quite satisfying but validation on training... |
Suppose $X$ and $Y$ are random variables such that
$E(X+Y)=E(X-Y)=0$ and
$Var(X+Y)=3$ and
$Var(X-Y)=1$ then how to show that $E(|X+Y|)\leq \sqrt3$
Guidelines asap would help me
thanks.
|
I have done a fractional design 2^(4-1). I did the ANOVA analysis to determinate factor and interaction effects and contributions an so on and i got the which factors and interactions are affecting my output
Then I did a multiple lineal regresson using design parameters (-1 and 1) and the measured ouput (Excel):
My in... |
According to the material I have in hand for Bayesian Econometrics, we define the pdf of a Gamma-2 distributed random variable $Z$ with parameter $\mu > 0$ and degrees of freedom $\nu > 0 $, that is, $Z \sim G2(\mu,\nu)$ is given by
$p(z|\mu,\nu)=c^{-1}z^{\frac{\nu-2}{2}}\exp(\frac{-z\mu}{2})$
where $c = (\frac{2}{\mu}... |
When I run following commands:
set.seed(1)
y <- 1:500
set.seed(1)
x1 <- sample(c(0,1),500, replace = T, prob = c(.8,.2))
set.seed(1)
x2 <- rnorm(500, mean = 5, sd = 3)
set.seed(1)
x3 <- sample(c(1:100), size = 500, replace = T)
set.seed(1)
df <- data.frame(y, x1, x2, x3)
t.test(y ~ x1, data = df)
fit1 <- lm(y ~ x1 + x2... |
Suppose I want to compare how different categories of deprivation or education differs between two groups. Deprivation and education are obviously ordinal variables, in this hypothetical example let's say there are 10 levels (deciles) for deprivation, and 5 levels for highest education (primary, secondary, apprenticesh... |
I have a list of empirical measurements describing the rents of apartments grouped by the apartment's size. I.e there are five categories, apartments with 2.5, 3.5, 4.5, 5.5, 6.5 rooms. For each of these categories I have all four quartiles and median for the rents.
In my country the measurement of apartments is a bit... |
I have a sample of a stochastic process (blue) for which I have developed point estimates for each time step (red). I have then proceeded to bootstrap 95% confidence intervals for the point estimates (black), which is shown in the figure. Now as you can see, the CI doesn't always include the true value of the process. ... |
I have 2 years of daily data of demand of some product. I can observe daily as well as yearly seasonality. I did run decompose method(frequency = 365) to separate data into trend, seasonal and random components. I am interested in getting random data but it gives almost constant random component.
Then I did use TBATS ... |
I have 3 classifier models namely Logistic Regression, Linear-SVM, Decision Trees as an ensemble technique. I am using majority voting as the classifier combination method for prediction. But when I try to calculate area under ROC curve in R, the function roc needs response and predicted probabilities(score). The predi... |
My model is a 2-level repeated within-subject factor (Repeated), a between-subject factor (Condition) and a covariate (Difference).
When I ran a Bayesian RM ANCOVA in JASP all seems to make sense, except for that there was strong evidence against the interaction between Difference (continuous) and Repeated (categorica... |
I am using Cox regression to calculate the hazard ratio between two treatment groups, in which (as usual) age is one of the confounding variables. The effect of age is strong and markedly nonlinear. Using a single coefficient for age is therefore not appropriate. One solution is to use age group as a stratification ... |
I have implemented Stacked Autoencoder in tensorflow and I was thinking of implementing Deep Belief Networks using Stacked RBM's. I had started reading about DBN's from various websites and through books as well.
Though they are structurally similar but its how they work is different. I had examined various codes and ... |
this is my first time asking a question so please be gentle.
I have never taken a course in survival analysis, but at work I am being tasked with fitting a survival model anyway. So I dove into a textbook from our library and started reading about it. I found that, after messing with hazard functions and the like, su... |
I ran an oneway ANOVA with 9 steps. In the options I clickt the LSD post-hoc test.
In Andy Fields Statistics Book there is a hint that LSD requires the overall ANOVA to be sig. But it doesn't tell what I should do if I checked the box for LSD and SPSS gives me that as well in my output. And now there are some sig diffe... |
Many people claim to use ReLU to solve vanishing gradient problem, but wouldn't dying ReLU be a more serious problem?
And someone also claims that ELU performs better, but wouldn't ELU also suffer from vanishing gradient?
PReLU seems to avoid the problem, but it is not very popular. What's the catch?
|
I am fairly new to the topic of Support Vector Machines, and despite my readings, I still encounter difficulties in understanding the following: why do some people address the need to normalize data between -1 and 1, for instance, as useful to improve SVM prediction accuracy while others prefer to standardize data to z... |
First, I am sorry I have poor knowledge of math and statistics (but willing to learn). So it could contain non-sense and I would be glad to precise my thought.
Here is the thing; I will have elements that will have ranks (let’s say it’s percentage) for all criteria. As input, I will have questions to determinate all ra... |
I am having a hard time thinking and finding prior reasearch about how to include higher level features in neural networks. Here is a couple silly example of what I mean...
Let's say I am building a convolutional neural network to classify if an image has a boat in it or not. How would I include, non pixel level, stati... |
In particular, for a Skellam distribution obtained by substracting two iid Poisson Processes. Thank you!
|
I am a newbie to ML. I was reading about neural networks and was confused about the learning part of the network.
Say there are some classes of images $c_1$ to $c_{k}$ and a neural network is trying to learn to classify a given image into these classes. Further assume that it achieved a very good accuracy(99.999%, what... |
Based on what I have learned (and also this article: https://en.wikipedia.org/wiki/False_discovery_rate as well as the original 1995 paper), BH procedure requires specifies a FDR-value threshold. However, I have seen reported raw "adjusted pvalues" that simply adjust pvalues using BH, without specifying the procedure a... |
I'm trying to run a multivariate multiple regression in R, i.e. including multiple predictors and multiple outcome variables in the same linear regression model. Does anybody know how to pull out the coefficients and p-values for the relationship between each predictor and outcome pair in a multivariate multiple regres... |
I want to prove the following:
When $n\rightarrow \infty$ and $\alpha >2$,
$$\frac{1}{n}\ln\left[2\sum_{i=0}^{n-1}\binom{\alpha n-1}{i}\right]\leq \alpha \ln(\alpha)-(\alpha-1)\ln(\alpha-1)$$
Hint: Use the Stirling approximation
I tried the following:
\begin{align}
\frac{1}{n}\ln\left[2\sum_{i=0}^{n-1}\binom{\al... |
How are the implied values and their standard errors calculated here? Thank you in advance.
https://i.stack.imgur.com/QMWZE.jpg
Edit
We have this production function with $\alpha+\beta<1$.
$Y=K^{\alpha}H^{\beta}(AL)^{1-\alpha-\beta}$
$Y$ output, $K$ physical capital, $H$ human capital, $A$ technology.
There are cross-s... |
One of the results of multivariate normal distributions is that if $X\sim MVN_{k}(\mu, \Sigma)$ and the following are partitioned vectors (and matrix):
$\mathbf{X}=\begin{bmatrix}\mathbf{\mathbf{X_{(1)}}}\\
\mathbf{X_{(2)}}
\end{bmatrix}$ and $\mathbf{\boldsymbol{\mu}}=\begin{bmatrix}\mathbf{\mathbf{\mathbf{\boldsymbol... |
I found these expressions for the probability of an outcome $y$ given variables $x$ and parameter $W$. $\theta$ is the logistic function.
$p(y \mid x,W) = Bernoulli(y \mid \theta(W^\intercal X) ) )$
adapted from [1]
$p(y \mid x,W) = \theta(y W^\intercal X) $ [1]
adapted from [2]
I presume both are correct. How can int... |
I see a lot of implementation of maximum entropy. Can someone explain why it is possible to estimate the parameter based on maximum entropy?
|
I would like to run a 10-fold cross validation on a number of different feature selection tools. For some tools, you can specify k-fold in the Python module (i.e., LassoLarsCV(cv=10)), but others it is not clear how to implement the cross-validation.
Let's assume, I divided my data into 10 random splits and run the fea... |
I am struggling to understand zero inflated distributions. What are they? What's the point?
If I have data with many zeroes, then I could fit a logistic regression first calculate the probability of zeroes, and then I could remove all the zeroes, and then fit a regular regression using my choice of distribution (poisso... |
What kind of statistical test would I run to find the linear effect of time within sessions for the experimental group (condition=train) in a study that has ten time points (run1-run10) per subject and a DV of interest (reaction time) collected at each time point?
To make the question more concrete, here is an example... |
I'm trying to understand the explanation of how multinomial logistic regression works from the point of view of a set of independent binary regressions.
The wikipedia page seems to provide a fairly good explanation. However, I'm stuck on an algebra step that I can't seem to get.
Namely, how do we go from 1-sum product... |
I am doing my undergraduate thesis, and I wonder if I need to do the Cronbach's alpha from my data set, or if I should use the Cronbach's alpha from the commercial questionnaire I will use for this paper. What is the standard way to approach this?
|
I am trying to understand gradient descent algorithm by plotting the error vs value of parameters in the function. What would be an example of a simple function of the form y = f(x) with just just one input variable x and two parameters w1 and w2 such that it has a non-convex(has multiple minima) loss function ? What i... |
After I run cv.glmnet for alpha=0 I want to plot it. I understand most of the plot but I do not understand what do the two dashed gray lines surrounding the red MSE dots(top and bottom) mean in the plot. Does the distance between the two lines mean anything? Here is the plot:
|
I am about to complete my master's degree in Statistics at a very well-respected university and one which has a top 5 statistics department in the U.S. (all I have left to do is defend my thesis). I also have a BS Statistics from a top U.S. University as well. Even though I'd like to, I'm doubtful I'll go on to compl... |
I want to estimate parameters of different versions of GARCH models with different distributional assumptions using maximum likelihood estimation (MLE).
Therefore I want to construct my own functions.
For example
I will first specify the GARCH model version
Then, I will specify the distribution of the error term
Fi... |
I would like to do some logistic model for predicting match result. I have 450 observations of Cibulkova's matches.
Columns: age, height, rank, surface, hand and same for opponent + match result.
How should I add age and rank difference into model? I think, it is not good to add just simple difference: rankME-rankOPP... |
I have reviewed many literature, and extracted their data. I wanted to get the average of the values of each property. Say, I have 50 journal articles which reported the metal composition (as % composition) (of Gold, Copper and Lead) of e-wastes. How do I calculate the average % composition of Gold (or Copper or Lea... |
I ran an Augmented Dicket-Fuller test to see if there was a unit root present in my time series. I would know like to show that the residuals from the test regression are serially uncorrelated. In the output there is the Durbin-Watson statistic - is this value enough to show the uncorrelation? Or is there a better way?... |
I understand that multivariate probit models are analogous to SUR models. In the SUR case, there's no efficiency gain by fitting a SUR model over several independent OLS regressions when the model matrix is the same for each of the dependent variables. Is that also true for multivariate probit models, so there's no ben... |
I have multiple Bayesian network models, each producing some estimate or inference about a variable $PW_2$, which is given by $P_1(W_2|W_1)$ in one model and $P_2(W_2|W3)$ in the other, but I want just a single distribution over that variable. I need to average them somehow. what is the correct averaging procedure?
The... |
I have two groups of subjects, both undergoing two experimental conditions, and data are collected at three time points. I am interested in the time*cond and the time*cond*group interactions. When I don't include the group*time interaction, the three-way interaction is significant. However, when the non-interesting gro... |
I want to investigate the correlation between two nominal variables. I have executed chi-square and fisher exact test using SPSS.
I have also executed Cramer’s V (V=0.444, p=0.000) and phi coefficient (value=0.768, p=0.000) .
My interpretation of the results is:
The two variables are dependent
The relationship is str... |
First edition, Prof Harrell's REGRESSION MODELING STRATEGIES, section 8.2, "How many parameters can be estimated?", page 150, quoting "If predicting survival time were of major interest, we could develop a reliable model if no more than about 354/15 = 24 parameters were examined in modeling."
QUESTION: Where does the "... |
I was reading about backpropagation, which in my case works like this:
I don't understand why when computing the error term, we are multiplying with the derivative of the activation function:
Why isn't this the formula instead?
|
I have performed a McNemar test for paired binomial variables in SPSS to see if the success rate(score 1) differs between the two conditions (the two variables: the before and after treatment variables). When I run the McNemar test using the cross-tabs function in SPSS it does not report a test-value, only the Exact Si... |
I'm trying to think of how to forecast unemployment using an autoregressive technique. Obviously the persistence is higher in historical data for unemployment than it is in changes in unemployment. (I am looking to predict just 1 quarter into the future.)
However I'm still not sure what would be a forecasting variable.... |
I've been scouring and asking on forums (such as this) and the web for answers as I'm trying to test the strength of the relationship between two ordinal variables from my questionnaire. I found after cross-tabing them, that there are some cells with zero values, which would cause them to fail assumptions for the tests... |
In "Introduction to statistical learning wit R", there's a simple linear regression fit on a 'TV' feature where the target class is the 'Sales'.
Beta 0 is 7.03 and Beta 1 is 0.0475
Now we want to predict how much sales will increase when 1000 dollars is spent on TV advertising. I naturally thought that this would
1000 ... |
I have a linear mixed model for predicting speed of a street crossing by a pedestrian with the factors VS (vehicle speed), GAP (selected time gap size for crossing), the interaction factors VSxGAP and a random intercept.
How can I interpret parameter estimates for the interaction effects?
I only have a random effect o... |
I have trouble with interpreting the output of a general linear model, which I have fitted to some data. Here are my data:
Gall Site healthy unhealthy
1 absent Site1 1750 35
2 absent Site2 1642 146
3 present Site1 1146 23
4 present Site2 333 30
I have made a barplot to ... |
To test the adequacy of the $m$ common factor model, the null hypothesis is $H_0: \Sigma = LL'+\Psi$, where $\Sigma_{p\times p}$, $L_{p\times m}$ is the loading factors matrix, and $\Psi_{p\times p}$ is a diagonal matrix with variances of the specific factors in the main diagonal.
When using the MLR statistic, under $H... |
Background
A colleague of mine is conducting a meta-analysis for which he has available the “raw” mean differences for each study along with the sample sizes. The differences are between-subjects effects, comparing older and younger populations in terms of memory performance as measured by d’ in either population (this... |
I was reading about the Principal Component Analysis algorithm. I don't understand why, in order to do dimensionality reduction, we create the covariance matrix and then we extract its eigenvectors.
Compute "covariance matrix":
$$
\Sigma = \frac 1 m \sum_{i=1}^n(x^{(i)})(x^{i)})^T
$$
Compute "eigenvectors" of m... |
I am trying to understand gradient descent algorithm by plotting the error vs value of parameters in the function. What would be an example of a simple function of the form y = f(x) with just just one input variable x and two parameters w1 and w2 such that its loss function has multiple minima? What i am trying to achi... |
Can a difference-in-difference test be used with Inverse probability weighting.
Please see my code below
psmatch2 treatment covariate1 covariate2 covariate3
gen ipw=1/_pscore if treatment==1
replace ipw=1/(1-_pscore) if treatment==0
reg roa treatment post treatmentxpost i.year .industryyear i.countryyear, vce(cluste... |
In normal neural network, in the first layer we have data, random weights and bias term. This then pass through hidden layer, then out output layer, we then calculate the error, and finally based on error we again update the weights.
This looping is done continuously till we get satisfactory error rate.
But in CNN, we ... |
I have a dependent variable that is a percentage. I initially wanted to do a linear regression, but then realized that the outcome is not bounded between 0 and 1. My teacher suggested to transform my metric dependent variable into a dichotomous variable in order to do a logistic regression.
But I can't find any instr... |
I'm in the process of working through Exercises in EM. I am having trouble understanding the first exercise. In particular, I am struggling with deriving the conditional expected value (2) and (3).
In both equations, there appear to be a logistic function. How was this obtained?
In (1), I see how this the log-likeliho... |
I am working on my class project for machine learning, for a smaller part of my project I am fitting a sklearn.ensemble.RandomForestRegressor to my data over a range of n_estimators and max_features and plotting the resulting out of box error versus n_estimators for each value of max_features. I noticed that RandomFore... |
I am trying to analyse this data, in order to try to estimate the percentage of tickets that can be sold for an event (events, based on venue will have different capacity). I have two covariates which are artistRating and artistVotes, and two factor variables paintingTitle and artistName with 1059 and 286 levels respec... |
$Y = \Sigma^{-1/2}(X-\mu )$ with $\Sigma$ being the covariance matrix and $\mu$ the sample mean.
What is the intuition behind this calculation? What kind of result does it yield?
This calculation is used in various estimates for multivariate Skewness.
|
I have searched internet for interpretation and derivation of Gain Curve, but I found confusing and superficial answers. Could you explain what is exactly gain curve, what is x-axis, y-axis, what is the interpretation etc.?
|
I suspect that if there are many unimportant outliers, trimmed k-mean clustering should be employed.
Am I on the right track?
|
Say you have a response $y$ which, over time, clearly goes in some direction. Up, maybe.
Now, you have to pick some predictors in a regression equation $y \sim x$.
Obviously you can take a look at plots and judge what predictor would work the best. If, for example, there's a lot of clustering despite an upwards trend,... |
I was just wondering when it is appropriate to use particular time series trend removal methods, specifically first differences and link relatives methods. I have two time series as given here:
I then took the cumulative sum of each series, which now yields two new time series as follows:
It is clear that these two... |
Hi I'm currently trying to implement Adaboost algorithm. I have implemented the weak classifier using decision tree (instead of using the fit function provided by sklearn). However, I had a tough time applying the weights on the data points to the tree building process. I have a tuition that the weights would have to b... |
Suppose I have a time series of daily resolution for the year 2000. This dataset details different climate variables from humidity, precipitation, temperature, etc.
I would like to check for the missingness mechanism of this. But before I do that, something concerns me.
There are blocks of rows that have missing data, ... |
Suppose that I am looking at data from an N = 32, within-subjects study.
There are three IVs - CL, PL, CPL - with two ordinal levels each (0 and 1). Every subject undergoes each of the 8 configurations of IVs exactly once.
During each configuration of (CL, PL, CPL), two dependent variables, A and Z, are measured four ... |
I am learning the prediction algorithm, Kernel Regularized Least Squares (KRLS). The predicted values are listed in the follows:
$$\hat{y} = K((K + 1 \times I)^{-1}y)$$
For example, I have 100 samples, the independent matrix $X \in R^{m \times n}$, and the corresponding dependent variable $y \in R^{m \times 1}$, where ... |
I have over 1800 spins on a roulette wheel and the theoretical probability of number of winning spins based on the number of numbers bet is .4957, but the experimental probability is actually .5358 (based on a strategy I have been working on). How do I calculate if the results are luck or does my strategy work?
|
In Deep Learning (Goodfellow, et al), the optimization objective of PCA is formulated as
$D^* = \arg\min_D ||X - XDD^T||_F^2, s.t. D^T D=I$
The book gives the proof of the 1-dimension case, i.e.
$\arg\min_{d} || X - X dd^T||_F^2, s.t. d^T d = 1 $
equals the eigenvector of $X^TX$ with the largest eigenvalue. And the ... |
I've done a presentation recently where I'll be using a binary logistic regression. However, one of the audience said that I should be using a conditional logistic regression.
Can anyone tell me whats the difference? I thought it is the same.
|
I have some ten to 100 thousand observations on each of around 500 entities. I have good reason to believe that these observations all mutually influence one another, in possibly complicated ways, or perhaps are driven by shared hidden variables. I would like to estimate these interrelationships, initially imposing min... |
What does it exactly mean by linearity in parameters in the assumptions for classical linear regression model and Gauss-Markov theorem?
My understanding is:
y = b0 + b1 x + e - Linear in parameters
y = b3 + b4^2 x + e - Non-linear in parameters => Can it be re-written like y = b3 + b5 x + e where b5 = b4^2
In case 2,... |
variance of estimator $\quad\cdots\quad$ I believe this is $\quad \text{Var}(\bar{y})$
estimated variance $\quad\cdots\quad$ I believe this is $\quad \widehat{\text{Var}}(\bar{y})$
estimated variance of estimator...no clue
|
My task is to compare the returns of two investment strategies using historical quarterly returns calculated from S&P 500 Index data.
Example: If I chose 10 year horizon of an investment, then for strategy A I have a time series of returns 1930q1-1940q1, 1930q2-1940q2 ... 2005q1-2015q1, and the same for strategy B. So ... |
I have been trying to understand how this interpretation works. For this I have used the article "Interpreting the Parameters of Loglinear Models" from Alba, but I am really stuck.
I his article he derives the logit equations for a polytomous dependent variable (Intermarriage). So fa so good. The coefficients obtaine... |
(moved this question from Stackoverflow)
I am using the matlab function for the Johansen test jcitest to estimate a VECM. As far as I understood, the output corresponding to the cointegration vector here is the B stored in paramVals in mles, while the intercept is c0:
A(B´yt−1+c0)
When using the function egcitest for ... |
You believe that the mean electricity usage is about twice as much for houses as
for apartments or condominiums, and that the standard deviation is proportional
to the mean so that S1 = 2S2 = 2S3. How would you allocate a stratified sample
of 900 observations if you wanted to estimate the mean electricity consumption
f... |
I'm working with a time series of macroeconomic data (independent variables) and bank loss rates (dependent variable) to show how bank losses vary based on the state of the economy. What I'm doing is two-fold: I need to identify the most predictive economic indicators for my model and then I need to regress those varia... |
I am using OLS to predict price for a data set of cars. I have the following categorical features:
['ModelYear', 'Province', 'BodyType', 'Year', 'Month','TransmissionType', 'CarFuelType']
and only one non-categorical feature:
['Milage']
When I use OLS for the entire data set, I get the following results:
Test r^2 s... |
I am trying to construct a regression model which the value would be the ranking of the products. There is 9 total in ranks, where 1 means the top 1.I am wondering which model should I use.
Thank you so much!
|
Imagine we have a linear regression model with dependent variable $y$. We find its $R^2_y$. Now, we do another regression, but this time on $\log(y)$, and similarly find its $R^2_{\log(y)}$. I've been told that I can't compare both $R^2$ to see which model is better suited. Why is that? The reason given to me was that ... |
I have time series (daily readings), which can trend downwards. I would like to introduce a dichotomous dummy variable that indicates when the time series contains a trough (dummy=1) or not (dummy=0). A trough occurs if the current time series is n% (e.g. 80%) below past values but future values go up again to 100% rel... |
In a tutorial on SVM by Andrew N.G http://cs229.stanford.edu/notes/cs229-notes3.pdf, on page 6,7 he has explained SVM in connection to functional margins and then has replaced it by 1 reasoning that W can be rescaled appropriately.
But then in the final formulation there is nothing that talks about scaling of W, so whe... |
I am trying to fit GARCH(1,1) with different specifications using rugarch package in R.
I study on two models:
model 1 : $\sigma$2t
=$\omega$
+$\beta\sigma$2t-1
+$\alpha$r2t-1
model 2 : $\sigma$2t
=$\omega$
+$\beta\sigma$2t-1
+$\theta$xt-1
Two models above volatility models with different specifications where
rt denot... |
I need to know if I gave a GARCH model the returns of prices, how could I get the forecasts for the returns not the volatility in case of using GARCH without ARIMA (because in the equation of GARCH model there is an error term which is random)? But in some papers the GARCH is used for forecasting the return not the sig... |
Is it good idea to create empirical distribution of stock returns and make function of its density (using density() in R)? Then I can integrate it and have probability of value less than assumed. Another aproach is to model distribution using normal distribution but as we know stock returns are not normal distributed. ... |
I need to understand why does the summary output of aov() in R vary when the order of independent variable changes. Like for example:
summary(aov(y~A+B, data)) is different from summary(aov(y~B+A,data)).
|
Say I have a time variable $t$ and I want to use it to model temporal autocorrelation: observations closer to each other in time, should be more correlated.
So, ALL I know is that we can plot the ACF, and then try an AR-correlation structure.
However, for SPATIAL autocorrelation, there's all kinds of other structures a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.