instruction
stringlengths
9
38.7k
The linear dynamical system model underlying the Kalman filter technique involves a random process $(x_{0}, v_{1}, w_{1}, x_{1}, z_{1}, v_{2}, w_{2}, x_{2}, z_{2}, \ldots)$ where $x_{k}$ represents state, $v_{k}, w_{k}$ represent measurement and process noise, and $z_{k}$ represent measurements. The wikipedia article ...
As I understand it, probability sampling means that every element in the population has a nonzero probability of being selected as part of the sample. But when some elements have a nonzero probability of being removed from the sample, it means not every element in the population has a nonzero probability of being inclu...
I am working through McElreath's book on statistical rethinking. One of the problems is the following: Using grid approximation, compute the posterior distribution for the probability of a birth being a boy. Assume a uniform prior probability. Which parameter value maximizes the posterior probability? We are given 2 ve...
I am planning to use XGBoost to fit spatio temporal dataset that I made into a column row format. My goal isn’t prediction, but rather a regression with good fit. I just want a model fit that’s good enough after which I can use it to learn insights from my data. Maybe by using partial dependence or SHAP. My hypothesis ...
Let's say we want to calculate the standard error for a statistic that proportion of heads per 1000 coin flips. So let's say we flip a coin 200 times. We see heads 50 times. $\hat{\mu}$, our estimate for the mean of the statistic, is 0.25 * 1000 = 250. How do we calculate our estimate for the variance or the standard e...
We already know that neural networks with specific choices of activation function as well as connections can generalize large amount of ML models. My question is: neural network also generalize SVM and Decision Trees? It doesn't seem that NN does this so straight-forwardly. Please share your insights.
When creating a scatterplot by plotting each variable in a linear regression against y, we are essentially treating all regressors to be linearly independent. If regressors have multicollinearity, for each scatterplot, the x and y values will include the effect of other regressors on both x and y. For my purposes, I wa...
I have a simple regression of price on growth: $price_i = \beta_0 + \beta_1growth_i+u_i$ In this simple regression, the p value for $\beta_1$ is highly significant, but I am worried that there is a confounder (Risk of the company). I found that the beta of the stock is correlated with both price and growth. I then cont...
I have came across a work that did something in their cross validation protocol which I found strange: they run 3-fold cross-validation, but for each fold they used different hyperparameters during training. Specifically, the changed hyperparameters (to train their neural network) were: Number of training epochs. Use ...
I fitted simple linear models to several (6) data sets of different sizes, using GLS. All models have the same predictors (but the coefficients are different). I would like to compare the goodness of fit between these models. In a simple OLS regression, I would have simply compared the R-squared scores for each model t...
I am evaluating a proposal pitch from a vendor about their machine learning solution. I do not have access to the source code or any other technical details about the algorithm they are using as it is their IP. But in the only technical side of PPT slides, they mention that they are using self learning neural network (...
I'm reading the following paper by Burke et al. Minimum sample size for developing a multivariable prediction model: Part I – Continuous outcomes The paper discusses the minimum number of samples required to avoid overfitting when creating regression models. They establish four criteria to avoid this. Their first crite...
My question is a quite general and simple question. I was wondering what is the advantage of a bayesian linear model over a classical linear model if, for the bayesian model, only non-informative priors are used? Shouldn't be more or less the same? What I mean by linear model is the well-known model that links an obser...
I am trying to understand how RRR has been used in a paper in which the association between cardio vascular diseases and dietary patterns is investigated. The paper says: The RRR analysis was used to identify dietary patterns that could explain the maximum variation in a set of nutrient response variables hypothesized...
I am trying to generate the impulse response from local projection. My shock variables are interest rate and exchange rate. The response variable is Stock market returns. How can I generate an IRF where I can represent two shocks in the same figure? Precisely my figure should look like two impulse responses with confid...
This is exercise 6.1 from the book Foundations of Machine Learning: Let $K: \mathcal{X}\times \mathcal{X} \to \mathbb{R}$ be a PDS kernel, and let $a: \mathcal{X}\to \mathbb{R}$ be a positive function. Show that the kernel $K'$ defined for all $x, y \in \mathcal{X}$ by $K'(x,y)=\frac{K(x,y)}{a(x)a(y)}$ is a PDS kernel...
I am studying cross-border merger and the post merger peformance differences between when the target firm is in developed country versus developing country. For dependent variable, I am planning to collect the growth rate of profit after tax (profit change from before 2 years to after 2 years, checking consolidated fin...
I applied lag to the exposure variable to adjust for its previous time-point's influence. However, the coefficients of the lagged variables are estimated to be excessively high, leading to the current period's exposure variable coefficient being estimated close to zero, which is the opposite of what I expected to confi...
In cluster randomised trials, some clusters are treated whereas others are not. Usually, the clusters are geographical unit, e.g. villages. However, am I right that, in principle, the clusters could be time units, e.g. days? As a concrete example, consider a politician who goes to a series of fundraising dinners, one e...
To estimate the parameters of copulas, both the classical maximum likelihood method (MLE) and alternative methods can be used, for example, the natural sampler and the efficient importance sampler. Let us assume that the parameter(s) of a copula change dynamically and are described by a latent stochastic process. The p...
I have count data as below. I want to check if the counts (freckles) between conditions are statistically different in each type (using R). For each condition, we aim to recover 10,000 cells. I guess the negative binomial model is a good fit usually but I am not sure as I do not have replicates for each type and condit...
The field of research I'm in uses ranked data a lot. We often refer to deciles to mean the group of units that make up one-tenth of a population or sample. Recently I saw a paper which made the point that the word deciles should be used to refer to the singular values that define the edges of those groups, not the grou...
Maximum Variance Unfolding (MVU) is a manifold learning method which, like other forms of dimensionality reduction, makes the assumption that whatever (high-dimensional) data we're dealing with "lives" on a much lower-dimensional manifold. Formally, we'd like to map the inputs $\{x_{i}\}_{i=1}^{K}\in\mathbb{R}^D$ to ou...
My question is about t-test values for linear regression coefficients using OLS and MLE. There are a few related posts on this website (here, and here ), and I could not find the exact answer. The following are a few starting points to set the context: (1) We know that OLS and MLE will generate the same estimates for r...
average_precision_score from sklearn uses formula: ap = sum( (recall[k+1] - recall[k]) * precision[k+1] ) But trapezoidal rule implies: ap = sum( (recall[k+1] - recall[k]) * (precision[k+1] - precision[k]) / 2 ) This is typical Precision-Recall curve: We can see, that sklearn average_precision_score would over-estim...
For example, the standard deviation of a normal distribution is a constant? Why is that?
A. I have count data over a period of four years of fish from conducted count surveys at a landing site. The number of survey days each month is variable and some months have zero surveys. To compare years I have used: total number of fish/total survey days for each year. The data indicate a year to year decline. B. To...
I have the following code using R partykit package, which yields unexpected results. library(partykit) library(palmtree) data("BostonHousing", package="mlbench") set.seed(123) BostonSample <- BostonHousing[sample(nrow(BostonHousing), 150), ] lmtree(medv ~ lstat + ptratio + tax | ptratio + tax, data=BostonSample) The r...
I have precision and recall values and want to measure an estimator performance: import matplotlib.pyplot as plt import numpy as np from sklearn.metrics import precision_recall_curve from sklearn.metrics import auc, average_precision_score y_true = np.array([0, 0, 1, 1]) y_scores = np.array([0.1, 0.4, 0.35, 0.8]) pre...
Consider these two distributions, representing ratings (in the range 0-9) given in an experiment for two different conditions A and B: A = [6.75 7.65 0 0 9 0 9 9 9 0 0 0 9 9 0 9 9 0 7.65 0 1.8 8.55 0.45 5.85 3.6 0.45 1.35 1.8 3.15 9 1.8 4.95 0 0.45 2...
What is the best practice to initialize parameters of the Bayesian Neural Network? I am stuck in a situation where I don’t initialize the parameters and every time I run the variational inference, I get different training errors (varies between 2-7%) and parameters. I am looking for stable results, basically the same r...
(Similar example data to a post I made posted yesterday but a completely different question) I have an exponential decay with off-set function that looks like this: exponential_decay <- function(i, a, lambda, billing_cycle) i + a * exp(-lambda * billing_cycle) I'm interested in showing some realistic scenarios of this...
my apologies ahead of time if it's not as clear as I would like it to be. I'm using a linear mixed effect (nlme package) to determine the association between a modularity score (on a range of -1 to 1) and balance performance. The population is a unique sample, with only 14 participants that took almost a decade to col...
If possible, I would like to use GEE to control for clusters in my data where some subjects have more measurement and outcome pairs than others. In this particular case, the outcome is binary and the predictor variable is a continuous measure. More specifically, we are looking at how a continuous measure X relates to h...
Some background: I want to train a regression model to predict future prices for used cars. I have about 85,000 observations collected from November 2022 to June 2023 and have around 80 different columns/features including the timestamp when the car was listed and the price it was sold at. Based on this background of t...
Can we use CUPED to get rid of the difference between groups, that existed before starting A/B test? Is it accurate?
When specifying a Bayesian model, one can specify weakly-informative priors. However, such priors may represent a concern to many researchers. After all, if they are weakly-informed, one may be concerned that the imprecision of such a prior may be biasing the results. It is also my understanding that the influence of t...
I am new to Bayesian inference and I am not sure if this problem and question are well-posed. When estimating the coefficients of a linear regression we can evaluate the statistical significance of the parameters against the null hp that the coefficient parameter is equal to zero.. When doing the same through Bayesian ...
I'm borrowing from the idea of Mean of absolute deviation around the median (https://en.wikipedia.org/wiki/Average_absolute_deviation#Mean_absolute_deviation_around_the_median). Would calculating standard deviation from the median instead of the mean be a good variance measure in the situation where the data has fairly...
Product of random variables tends to converge to Log-Normal distribution, is there a similar law for a product of large invariant random matrices? Following Burda survey, Section V, multiplying such matrices corresponds to multiplying their S-Transforms. What does the limiting distribution look like? If we have a large...
I have two dependent samples of data. Each sample contains N = 800 values (data points) and stem from the same human subjects, that is, sample one is the pre-experimental and sample two the post-experimental group of the same 800 subjects. Aim: I am not interested in comparing the two groups’ mean for statistical signi...
There are 2 treatments, 1) plant A grown in monoculture and 2) plant A grown with plant B. RCBD design. Using ANOVAs to compare reproductive (flower) mass (continuous), least significant difference comparisons between treatments. 3 runs of experiment. One of runs had no flowers produced in any Plant A for either treatm...
I am given two datasets, from which I am seeking to evaluate if there is any difference in life expectancy/mortality rates between these two male population datasets (approx. 500 and 2000 data points from each group). If curious, one is a group that has been exposed to a certain threshold of a type of radiation, and th...
My understanding of the 95% confidence interval is the interval should contain the true value 95% of the time. Therefore, I test it with the linear regression confidence interval for the mean response. Here is a reproducible r code: set.seed(1234) n <- 100 x <- runif(n,0,10) y <- x+rnorm(n) fit <- lm(y~x) result <...
Context I have two paired groups and I want to test whether their means are equal or not. I cannot assume normality of the distributions of both groups/distribution of the differences. Variables The random variable of the study is the processing time of datasets on a cluster of machines (parallel proccessing). (Data pr...
I have a problem that resembles SEM or factor analysis, but the indicators are estimators of the parameter, not empirical observations of random variables. The model is a one-factor model with two indicators, and I want to get the variance-covariance matrix. I know that a model like this is not identified, but the whol...
I have access to individual data from 3 different studies. The first one has measurements of the variable of interest at baseline and 5 days after the intervention. the second one has measurements at baseline and 15, and 30 days after the intervention. the third has measurements at baseline and 60 days after the interv...
Let's say I have a dataset of characteristics of newly launched products in a retail environment, and the dependant variable Y is total $ sales in the first year of launch. If I train a quantile regression model on this data for every quantile from 0.01 to 0.99, and plug in data from a new unseen product, would this gi...
Please could you help me to figure out how to simulate competing risks survival data? I am aware that I can achieve this using survsim command but I would like to generate this from first principles. The idea is to simulate a HR for treatment for the event of interest and then have a HR for treatment for the competing ...
I'm considering integrating the Boosting technique into a basic XGBoost classification model, in which I'd focus on misclassified instances. Assuming I have already used hyperopt to build a basic XGBoost model ( let us name it xgboost_model), I want to understand if the following approach is sound: a. Identify and isol...
I have a simple order of operations question with sum products, I want to calculate the natural direct effect (NDE) for x and x prime on data similar to those below. My simple question is: Do I first calculate the delta of x and x prime creating a new feature called delta_x, then multiply this by the p_of_product and s...
Let $X$ be a normally distributed random variable with $\mu=0$ and $\sigma=1$. Theory tells us that $\mathbb{V}[\text{ReLU}(X)] = \frac{1}{2}\mathbb{V}[X] = \frac{1}{2}$. Thus, we should have that $\mathbb{V}[\sqrt{2}\times\text{ReLU}(X)] = \mathbb{V}[X] = 1$. However when I run this as an experiment with PyTorch this ...
Background for the data: I have two continuous variables "AGD" and "Weight", a categorical variable with 7 levels "Litter size" and another categorical variable "Breeding_pair" with 4 levels. Basically weight is going to depend on litter size as the smaller the litter size the more nutrients an animal can get and so th...
I am investigating Type I error inflation for the one-sided test $$H_0:\beta_2=0$$ after one step of forward stepwise regression for the following model: $$Y=X_1+\beta_2X_2+\epsilon$$ where $\epsilon \sim N(0,\sigma^2)$ assuming $\sigma$ is known. So when calculating the p-value, I am using the basic procedure for line...
Consider this sample data: import pandas as pd # slice of data df = pd.DataFrame({'experiment': ['A', 'A', 'A', 'A'], 'date': ['20230721', '20230722', '20230723', '20230724'], 'success': [1, 1, 0, 1], 'cum_success': [64, 65, 65, 66 ], 'nobs': [121, 122, 123, 124]...
hope you are well. Does any one knows any service where I can send an image an return its segmentations areas, like using Meta's SAM (https://segment-anything.com/ )? If not, does any one knows a guide on how to deploy a model like it using Azure ML? Thanks!
It is well known that the (sample) mean of residuals becomes zero in an unweighted OLS fitting of a linear regression model. How about the case for the nonlinear model? I have numerically tested whether the mean of residuals become zero in least-squares fitting of the following models for example. y = b1 / (x + b2) + e...
Dependent Variable(s): cognitive test Independent Variable: Sex (covariate), Age (covariate), working memory, long-term memory test, interaction(working memory: long-term memory) However, the interaction was not significant. so I want to investigate whether Working memory or long-term memory would be more influential t...
I think that normalization of data is performed assuming that the samples you train on are "representative" of real-world or "production" data. This means I have to constantly monitor the performance and data of my model after deployment. If I normalize using z-scores or mean data, a non-representative sample will give...
Are there ready-made algorithms to solve the following problem? At each time step $t$ the agent chooses a value $x_t$. There is a function $f(x, t)$ that gives the error on timestep $t$ after choosing $x$. $f$ is assumed to change relatively slowly in both $x$ and $t$. It might reasonably be assumed that for a fixed $...
Aside from additional data and feature engineering, how can I make sure my ML model picks up on patterns that only apply to certain thresholds or ranges? For example, assume I use data about users and movie ratings. I want to predict parameters for user ratings and watch time to predict total revenue from the movie. Th...
I am using $k$ fold cross validation, and I wonder how it can detect overfitting problem or how it can prevent the overfitting issue ? Suppose I split the data into training and test set, applied CV on the training set. Say, I got a mean cross validation score of $0.96$. But it fails to perform well on the test set, be...
I have written a Bayesian model in JAGS that I use to calculate the growth rates of several plant populations as well as their variance while taking into account the observation error during the sampling process. It works well and now I would like to test if those growth rates differ between populations in different ha...
I do have a theoretical question. Let's assume we have a sample of empirical observations (e.g. financial losses thus real > 0) on which we want to infer a stochastic distribution (e.g. log-normal). Let's also assume that, within the data, there is a few observations (e.g. 2 of them) which where unlikely to occur (e.g....
I have a continuous outcome/dependent variable that is measured multiple times before and after an treatment/intervention per subject. The multiple measures are performed very closely together and are done about 10 times, because single measures are known to be variable. So you have 10 measures before, and 10 after int...
this is my code to calculate the pvalue of the fisher test for each pair of successes from two binomial distributions (n=m=20). Number of successes from 0 to 20 so 21x21 possible combinations. In addition to the pvalue for each pair, I would like to calculate the actual probability, i.e. the exact probability that the ...
group by = an sql function that merges all repeating values of each column(regression variable) into a single distinct value. group by can take multiple arguments: group by createdate, ad, campaign creates a table of distinct campaigns for each distinct ad for each distinct createdate(i.e. in this case, each distinct v...
I am doing work on AIC comparisons. For this purpose, I am trying to understand how log-likelihood is calculated for exponential smoothing models (ETS models) in different R packages. In particular, ets in R forecast and es in R smooth appear to give very different log-likelihood values for the same model fitted to the...
update The question is that I have some datas, includes: region/ animal id/ year/ gender/ environment's noise value/ environment's illumination value/ cort1 and I would like to know whether the data I have: the environment's noise and illumination value will affect animals stress value (the cort1 I mentioned) Because ...
Let's say an astrologer is tasked with guessing the star signs of 12, for him, unknown students. The astrologer knows that all 12 star signs are represented among the 12 students, i.e. a single star sign will belong to one and only one student. The astrologer can only guess one star sign per person. Additionally, he wi...
I am attempting to determine how to test the relationship between a discrete variable (the length of a string of text, my IV) and a categorical variable (binary, a yes or no outcome, my DV) but I'm having trouble figuring out the best methodology. Would it be incorrect to use a one-way ANOVA or is that a valid method? ...
I have run a simple linear fixed effects model to understand the relationship between exposure to hate speech and its adoption online. Model 1 is a simple entity fixed effects model with no covariates, while model two adds covariates to this. Model three includes both time and entity fixed effects. I'm struggling to th...
I'm attempting to build a model to predict 6 month survival probability in a cohort of lung cancer patients based on patient demographics (age, performance status, co-morbidity scores etc), tumour staging and treatment details. Initially I thought the best approach would be to use a model (logistic regression, random f...
I want to forecast a dependent variable and I have some independent variables. First I shifted the dependent variable up, such that I have a supervised problem. For instance in January 2000 the independent variables stay the same, but the response is the value of February 2000 in this case (forecast horizon h=1). I wan...
My outcome variable is called PB, and it is a binary variable: 0 or 1. I have used generalized linear mixed models (GLMM) because each subject ($n=238$) was measured twice (overall observations = 476) Using GLMM with a logit function, I have built an empty model with random intercepts. This how I did it in R: FirstMode...
I have several daily single band images (with reflectivity values). there are several gaps in these images. To fill the gaps, I collected several ancillary datasets (including surface temperate stored in an image format) for each image. these ancillary datasets have meaningful correlations with the values provided i...
Let $X$ be a log-normal distribution and consider $Y=aX+b$ for some $a,b>0$. I would like to know if one can compute $$\mathbb{E}[\log(Y)]$$ This would be very easy if it was $b=0$, since in this case $Y=aX$ is lognormal and, in turn, $\log(Y)$ would be normal. Question Is the computation feasible in general? I am inte...
I am tasked to find the wiener coefficients for a time series forecasting dataset with daily seasonality. I split the dataset into 24hour segments an find the wiener coefficients between day N and day N+1 using day N for the autocor matrix and dayn and dayN+1 for crosscor vector. The final solution has 24 coefficients....
I want to compare the Perkins Eye Index (PEI) values, a measure of lobster egg development, between the months of January to June 2023. This is because I want to test the hypothesis that PEI varies significantly month by month, providing insights into the nature of the lobster spawning season. My dataset contains two v...
I have two separate datasets, A and B. I have a score that I am applying in both, and I am testing how well that score predicts a disease (present or absent). One property that I think would be interesting to understand is the information content of each cohort based on the cases and controls. Intuitively I would think...
In my first step of the analysis using the data.org function, I received the error message below. Error in Anova.III.LR.glm(mod, singular.ok = singular.ok) : there are aliased coefficients in the model I've tried to use either column number or variable names in the codes (see below), but both of them showed me the ...
You observe a sample of 100 independent observations $X_i$ from a population with the density $$ g(x)=C \sqrt{\lambda} \exp \left(-\lambda x^2-\lambda^2 x^4\right), \quad-\infty<x<\infty $$ where $C=0.73077$ is the normalizing constant, and $\lambda>0$ is an unknown parameter. (a) Find the minimal sufficient statistic ...
I have some data for a collaborative filtering problem, which can be represented in a user-item interaction matrix. The data consists of 20 million orders, where there are 15000 different items, and we only now if an item was bought or not (implicit data) for each order. It is also important to note that the data is re...
For example, suppose we want to predict y with features x1, x2, x3, x4. If I specify y = fA(x1, x2) * fB(x3) + fC(x4) where each f is nonparametric (e.g. a decision tree), is there any model that can train a model based on this form specification?
What is wrong with this proof? Can you notice that? or I am wrong? In my opinion, in the R.H.S. of the inequality (3.2), the index of 'e' is negative but it must be positive if we use the given proof because if we insert $t=\displaystyle\frac{4a}{n}$ in $ e^{-ta}e^{\frac{nt^2}{8}}$ we get $e^{-ta}e^{\frac{2a^2}{n}}$
I am working on a Convolutional Neural Network for classifying two classes of images whose difference between them is very small. Running the CNN (using PyTorch), it was able to correctly classify practically all of the labels belonging to the second class, but only half of the labels of the first class (the dataset wa...
I have a question regarding the appropriate use/application of a null model simulation. The structure of the study is: -60 pairs (120 total) of nest boxes -surveyed five time per year (April, June, July, August, October) -surveyed for five years I want to statistically assess the differences between sample month. Speci...
Both CLT and LLN are stated in terms of a fixed probability space that admits an infinite sequence of IID RVs. It is a common-place in many probability and statistics texts/notes that such a sequence does not exist on a finite probability space, but that the CLT and LLN apply anyway as "approximations" provided that th...
If a training set has a continious feature, some texts recommend that first the dataset is sorted based on the continious feature, and then split points are chosen. What I am not sure about, is how to handle a case where the training set has more than one continious feature? How can that be sorted and then information...
I want to test which week day is more important for a specific client, given a historical communication in different days and with open email or not . for example: monday Tuesday Wednesday ... email 40 60 34 ... open 20 40 13 ... proportion 20/40 40/60 13/34 ... First I want to test all the days at the...
Can someone please walk me through (or cite a reference to) exactly which fixed probability space is used in an application of the CLT, especially in the finite probability space case? My question comes from the following: generally, the CLT is stated as "let $X_i$ be an infinite sequence of IID RVs on a probability sp...
I have conducted a survey of risk preferences in a specific province of a given country. There is data of risk preferences of this same country/province from 5 years ago, and I would like to test if there are differences between risk preferences, so a simple test of differences in a before and after fashion. The issues...
I am comparing the performance of two AI models across 15 data sets. One model performs heavily better than the other on all the performance metrics. When I perform a one-tailed Wilcoxon signed rank test, I am always getting a p-value equal to 3.0517578125e-05, no matter the performance metric I am using. As an example...
Let's consider I have 1000 unlabeled data points. Out of these 1000 points, I manually labeled 200. Now, I am feeling lazy and don't want to label manually the remaining 800 data points. What would be the next step? I am considering using dimension reduction techniques, such as PCA, to visually assess if the dimension ...
I want to estimate a logistic regression model on a panel data (subject-time) with subject-fixed effects. $$\log(p_{it}/(1-p_{it})) = \alpha_{i} + \beta x_{it} + \epsilon_{it}.$$ To do so, I want to maximize the conditional likelihood function to overcome the incidental parameters problem. The specific issue that I fac...
In ML training and other analytics I often combine features to produce a 'metafeature' and then perform a 'groupby' (pandas) or 'GROUP BY' (SQL) query. What is the technical term for this operation? Example, in my work I will combine taxonomy, e.g. the genus with a given gene function and gene variant. You could instea...
Suppose that we have the following situation. With a predictor $X$ and a response variable $Y$, plus a confounder $C$, we consider two models: one is $Y \sim N(\alpha_0+\beta_0 X, ~\sigma_0^2)$ and the other is $Y \sim N(\alpha_1+\beta_1 X + \gamma_1 C, ~\sigma_1^2)$ Would you consider it a good practice to report both...
I have pain-score outcomes for some patients in my database. Many individuals have repeated pain scores across multiple days. My main question of interest is "Does the treatment (as opposed to being in the control) improve post-operative pain scores? Since each individual may have multiple pain scores recorded over sev...
I have a set of objects for which I measured the variables in two different ways. How can I determine whether these datasets overlap well in the feature space? I was thinking about calculating some correlation coefficient between the two datasets, but I would like to know if there is a better metric or test for this ki...
I am doing my dissertation on the spillover effect between countries' markets and looking to use VAR-MGARCH model to do it. For example how would a change/shock of US market index affect Thailand index. I have found some idea in here: Equations for VAR model with GARCH errors However, I am struggling with the log-likel...