instruction stringlengths 9 38.7k |
|---|
I have a model in which $p_i=f(\theta,Z_i)$, where $Z_i$ are iid latent variables distributed with CDF $F_\theta$, and $d_i\sim B(n_i,p_i)$, where $B$ is the binomial distribution. The likelihood function is thus (up to a constant)
$$L(\theta\mid d_1,\dots,d_k)=\int_{\mathbb{R}}\dots \int_{\mathbb{R}}\prod_{i=1}^k f(\... |
I have this dataset:
Treatment
data
T1
0
T1
0
T1
0
T10
0
T10
0
T10
0
T11
0.2
T11
0.2
T11
0.2
T12
0
T12
0
T12
0
T2
0.7
T2
0.6
T2
0.6
T3
0.8
T3
0.7
T3
0.8
T4
0.3
T4
0.3
T4
0.4
T5
0
T5
0
T5
0
T6
0.7
T6
0.7
T6
0.5
T7
0
T7
0
T7
0
T8
0.8
T8
0.7
T8
0.8
... |
Thank you for reading my question.
I used the clustering method to classify the age of the houses.
This graph show the clustered results.
I should to get the age range, mean age, and median age for each age phase.
I calculated them: age range=(maximum age of each phase)~(minimum age of each phase), mean age=sum of age... |
I have a rather limited understanding of statistical estimation theory so I apologize if my question is strange or trivial.
Say I have an expectation-maximization-based algorithm for determining the parameters $\boldsymbol{\theta}$. Let $\mathbf{y}$ denote the incomplete data and $\mathbf{x}$ the complete data. I wish ... |
Trying to understand conditional logic model using the dataset
https://raw.githubusercontent.com/pranavn91/PDF/main/xlstats_cbca.csv
But I am getting all the coefficient as zero (pylogit MNL model)
I read the data, the convert to dummies the product features. Then I dropped the reference terms as suggested here (https:... |
I have a project for predicting credit card approvals (binary classification).
I got stuck on feature selection, hyperparameter tuning and final testing stages, as I don't know how to properly modify (balance) data to avoid data leakage or overfitting, as my datasets are imbalanced
Sets look as follows:
training_set... |
I want to perform an analysis on my panel data, but I have troubles finding the best model for my analysis.
I performed an F-test to detect whether the pooled OLS or the fixed effects is more suitable. The results indicate that I should use the fixed effects model.
I also performed a Hausman test to detect whether the ... |
I'm currently trying to perform feature evaluation using the permutation_importance method. Say that my model is GradientBoostingRegressor() and I have a dataset with 182 rows of data. At first, I was thinking that I should use 10-fold cross-validation in this procedure as well, since it gives a less biased estimate of... |
I'm trying to understand if I should go for a Mixed-ANOVA or a GLMM analysis on my data.
My experiment was as follows:
Independent variables:
Water Temperature (14ºC and 20ºC)
Air Temperature (28ºC, 36ºC, 38ºC, 40ºC)
Region (Population)
Dependent variable:
Growth
Shortly, I sampled a species of algae from 10 popula... |
For a research I am conducting I am looking at the effect of two categorical variables (dummy with values 0 and 1 for each group) on the speed and quantity with which customers make future purchases.
The variables are simply made as follows:
speed is measured as the days until the next purchase
Quantity is measured as... |
I am writing a thesis where I investigate whether ESG/sustainable funds' decision to invest in fossil fuels/weapons affects fund flows.
I am regressing a fund flow variable on a dummy variable x which takes the value of 0 if a fund invests in fossil fuels/weapons and 1 if the fund does not invest. So:
y=β0+β1(0) -> flo... |
My study is about the influence of board diversity (gender and age) and fund size on the voting behavior of pension funds. I have also included control variables that concern the board type, board size, fund type, and also control for time.
This is only a snippet, but I have data on 38 pension funds who have voted on ... |
I have a question about basic statistics: I have a set of data divided in four groups, defined by two variables. I ran the normality test (shapiro_test {rstatix}) and one of the groups does not fit the normality hypothesis (p=0.02).
In this case, can I perform a two way ANOVA or should I run another test? In that case,... |
An Individual possesses a total of $n$ umbrellas that she uses in going from her home to her office, and vice versa.
If she is at home (at the office) at the beginning (end) of a day and it is raining, then she will take an umbrella when travelling to the office (to home) provided there is one to be taken.
If it is no... |
In my area of research (conflict research), it is not uncommon (increasingly becoming to norm) to examine the variability within treatment and how this variability impacts the outcome. I'll demonstrate some examples:
United Nations Peacekeeping Operations (UN PKOs)
Dummy Treatment: Whether or not a country received a ... |
Batlett's formula for asympthotic covariance matrix $C$ is given as:
$$c_{ij}= \sum_{k=1}^{\infty} (\rho_{k-i}+\rho_{k+i}-2\rho_{k}\rho_i)(\rho_{k-j}+\rho_{k+j}-2\rho_{k}\rho_j)$$
where $\rho$ is the sample autocorrelations. Brockwell and Davis (2016) mentions this form of the formula as "more convenient for the comput... |
I am analyzing panel data on various municipalities (id_mun) over several years using the pglm package in R. My dataset contains a variable "treatment" which is continuous but is time-invariant within each municipality. I have fit a fixed effects (within) Poisson regression model to account for unobserved time-invarian... |
I'm doing a mediation analysis to find the 'significant' mediator between variables X and Y. I have 4 potential mediators (M1,M2,M3,M4) and I conducted 4 univariate mediation analysis. More specifically, I conducted mediation analysis in path
X->M1->Y, X->M2->Y, X->M3->Y, X->M4->Y respectively.
Should I do a Bonferron... |
I'm working with binary 3D matrices. I calculate their PCA (or REOF or SVD) and as a test I would like to reconstruct these matrices from the PCA results. However I realized that because I only keep the first 10 modes of my PCA, the reconstruction ends up giving me floats between 0 and 1 rather than binary numbers.
Can... |
I'm trying to figure out which statistical test to use when testing for group differences in a multilevel longitudinal experiment
The scores (y-axis) were produced by a machine learning model, the x-axis is time (unevenly distributed: 0h, 1h, 2h, 3h, 5h)
I'm not confident which stat tests to pick
Is this the correct s... |
I am working with data from an intervention trial with the goal of assessing differences in survival between a control group (n=150) which received no treatment and an intervention group (n=150) which was given prophylactic treatment. Both groups were tested every two weeks for a total of 12 weeks (i.e., six observatio... |
Imagine we are performing Bayesian inference with normal-normal conjugate priors. We have some prior:
$$
\mu \sim N(\mu_0, \sigma_0^2).
$$
We know we will collect some normally distributed data $x$ with known variance $\sigma^2$ distributed as:
$$
x|\mu \sim N\left(\mu, \sigma^2\right).
$$
The prior predictive distribu... |
I have dataset describing aggregated purchases from multiple brands. It contains variables:
Brand (ordinal)
Promotion (ordinal)
Sales (numeric)
I need to use linear regression to describe the effect of different brands and promotions on the amount of Sales. The cardinality of Promotion is low, 2 unique values, but th... |
I would like to run some comparison analysis for sales between 5 different marketing campaigns and see which of these campaigns result in highest sales.
I am wondering if it is possible to use ANOAV test instead of running AB test.
It seems that ANOVA test is having a strict pre-conditions such as normality of distr... |
So I am having an issue I tried on my own but it seemed to no avail. It concerns the ERM (Empirical Risk Minimization) algorithm, used in Ban and Rudin's paper for solving a Newsvendor problem, which consists of the following linear problem:
enter image description here
In the problem above, we are looking for the vect... |
I have been learning about Real Analysis and recently undergone a stats module on regressions etc.. We have come across gradient descent and I was curious about, if we have a complicated loss function, whether we can tell if we are in a local minimum or at the global minimum?
|
Suppose we sample from a distribution of the random variable $x$ that is basically a power law (with exponent $\alpha$) for values of $x$ close to some minimum $x_{\min}$, but differs significantly from that power law once $x$ gets close to some value $x_c$ smaller than the maximum value $x_{\max}$ that $x$ can take. M... |
I'm looking for guidance for how to plan an analysis. I am interested in temporal differences amongst two different populations. More specifically I'm interested in assessing differences in length of stay for patients admitted during the week vs weekend stratified by trauma vs urgent surgery. The hypothesis is that ... |
I am trying to understand more about the geometry of linear modeling. Take for example an experiment with one categorical predictor having two levels and a numerical response. If two data points are collected for each predictor level, then the linear equation for the experiment would be:
Where blue is the design matri... |
Let $X_i$ be i.i.d with distribution $F$ such that for some $a_n>0$, $b_n \in \mathbb{R}$. $F^n(a_n x +b_n) \to \exp(-(1+\gamma x)^{\frac{-1}{\gamma}}$
Define $X_{1,n} \leq \ldots \leq X_{n,n}$ to be the order statistics, and we want to prove $(\frac{X_{n,n}-b_n}{a_n}, \ldots, \frac{X_{n-k+1,n}-b_n}{a_n})$ converges to... |
My task is to study factors that influence the composition of labor force. The latter consists of two types of workers, full-time and part-time. My first approach was to run an OLS regression for the share of part-time workers, defined as
share = (number of part-time) / (part-time + full-time).
The issue is that this v... |
I apologize if this a remedial question but I am trying to determine how best to proceed with my analysis and I would appreciate if someone could explain the differences in assumptions between a zero-truncated model (zerotrunc in r) on zero-truncated data and a glm on zero-truncated data.
For context I am attempting to... |
I'm using early stopping for avoiding overfitting in a task of image classification with a graph convolutional network.
I'm trying to adopt a patience of 5 and a minimal improvement of 0.001.
Is this setting ok?
What are the recommended values for patience and minimal improvement?
|
For a 2-factor experiment, the TukeyHSD function in R (after a significant ANOVA) can calculate P values for the differences between levels of a single factor (basically, comparisons between the marginal means) as well as the interaction between factors. For example:
$FactorA
diff
lwr
upr
p adj
A2-A1
4.8977778... |
Suppose that an observational study was conducted with 100 patients (i.e., 100 level-2 units). The researcher recorded whether a medical condition was present (coded as 1) or absent (coded as 0) in each patient at five different time periods (i.e., the level-1 binary variable of 0 or 1 was measured five times for each ... |
I want to know the calculation of marginal filtering distribution and smoothing distribution from the joint distribution. For example,
Joint filtering distribution: $$
p\left(x_{1: t} \mid y_{1: t}\right) \propto \mu\left(x_1\right) \prod_{k=2}^t f\left(x_k \mid x_{k-1}\right) \prod_{k=1}^t g\left(y_k \mid x_k\right)
$... |
I'm new to deep learning and currently trying to use it for my project. The goal is to predict ship charter prices based on various factors that we have identified theoretically. In this project, we also want to understand how these factors affect ship charter prices and specifically determine the extent of their influ... |
I am using linear regression and I see that if there is a violation of the Gauss Markov assumption and the estimates of the parameteres are not unbiased/ efficient. What are the consequences if the residuals are not normally distributed? I read that the p values are no longer reliable but why is that?
|
I have a continious variable I wish to predict, for which I have sensory data on a fixed time interval t, denoted as y_t. In addition, I have a set of features which are consistent across time, called f_t, but also time itself is a feature, which naturally changes over time. The input could thus look as follows
t1| fe... |
I am using R package mgcv to model spatio-temporal variation in an ecological variable (y). I have data for "y" from across 8 years, and from >2000 locations across the United Kingdom. I added uncorrelated predictors to explain the spatio-temporal variation in "y" using the following model (where Tmax, Rain, Wind and F... |
I wouldlike to know how to calculate a prediction interval manually, without using a library. Ultimate goal is to write some formula in a spreadsheet based on the model params that would let me calculate a prediction interval around a table of new values.
Some data to illustrate (R):
library(tidyverse)
example_data <- ... |
For a confusion matrix, there are a variety of useful rates, ratios and indices. But I cannot find the one I care about:
FP / (FP + FN)
Of course this measure is not defined for a perfect classifier, one in which both false positives and false negatives are zero. But for everything short of perfect, this measure is us... |
In a Bayesian MMM model using pymc3 the variables are scaled. It is said that scaling helps in improving the efficiency of the MCMC algorithm. Also, it is stated that setting priors for the non-scaled data becomes difficult. What is the intuition behind these claims? Why do we need to scale the variables in the data se... |
I use ARFIMA(p, x, q)-GARCH(P, Q) models for time series forecasting and when I calibrate models for selection the best via BIC criteria, I use "slow" approach when I calculate BIC for every p*q*P*Q*count('norm', 'snorm', 'std', 'sstd', 'ged', 'sged')*count(sGARCH, eGARCH, gjrGARCH)*mean(YES/NO)*fixOmega(YES/NO)
For p ... |
From my understanding mutual information can be defined in the following ways:
[1]:
$I(X;Y)=H(X)+H(Y)-H(X,Y)$ where $H(X), H(Y)$ are marginal entropies and $H(X,Y)$ is the joint entropy.
[2]:
$I(X;Y)=D_{KL}(p(x, y)||p(x)p(y))$ which is the KL divergence between the joint distribution and the product distribution.
From... |
I'm looking for the formula to calculate a p-value for statistical hypothesis testing by hand without using the lookup table. I've found something here (Calculating P-Value of a Z-Score without using Z-Table), but I don't really understand the formula. Can someone help me by showing some data and how you come up with a... |
I am analysing data from an experiment consisting of 4 treatments, and I am interested in treatment differences of DNA damage caused by a toxicant. I have consulted a statistician to discuss some of the statistical intricacies. He insists that p-values are not a measure of evidence and are misused in science and eviden... |
Let us assume I conduct an experiment, in which the participants perform four different tasks, getting a tool support or not. We measure the time to complete each task, either with the support of a new tool or not (indicated by the boolean value in brackets in the following table).
The result could look like:
Parti... |
Let $X$ and $Y$ be two positive random variables defined over $(\Omega,\mathscr{F},\mathbb{P})$. We know that if they are both log-normal then the random variable $Z$ defined as:
$$Z:=\ln\frac{X}{Y}$$
is normally distributed.
Is the converse true? Namely if $Z$ is a normal variable defined as above, can we conclude $X,... |
I have two large samples (around ~2 million each) of tweets with a very heavily skewed engagement distribution, and I want to compare their mean difference across several stratifications.
I have tried other tests but given the nature of the data, bootstrapping seemed to be the most reasonable choice to compare the mean... |
I am proposing a cross-sectional study that measures two variables.
Variable A is measured using a questionnaire that returns a value at an interval scale.
Variable B is measured as a dichotomous yes/no response (i.e. it is nominal).
Suppose that literature suggests that A is a predictor of B (say, increased A is conce... |
I'm trying to understand how to compute the derivative of the Softmax activation function in order to compute the gradient of the quadratic cost function w.r.t. the weights of the last layer.
Considering the cost function as:
$$C(W,B) = (A^{(L)} - Y)^2$$
Then
$$Z^{(L)} = W^{(L)}A^{(L-1)} + B^{(L)}$$
$$A^{(L)} = softmax... |
I saw a DRL application in which the input is scaled between -1 and 1 first before training, why it is needed? How does it help with the training?
|
I am doing a research on the effect of Covid on fundraising success. I already implemented logisitc regression models with Covid as interaction variable but my supervisor wants me to use DiD.
I asked a colleague and he suggested "two-way fixed effect DiD". As all the countries in my sample were affected by Covid but in... |
I have a dataset spread across N departments and T years. I am interested in how voting shares change as a reaction to some regressor X. The dependent variable Y is vote shares: every department casts votes of which some go to party A, some to party B, and some to party C. Thus, it would be a compositional variable, su... |
Prior research has demonstrated that the interpretation of a regression coefficient no longer represents the marginal effect once non-linear term transformations (logs, interactions, etc.) are introduced or when a non-linear outcome is being modeled. Under a regression adjustment setting, one can estimate the marginal ... |
I have the following question.
Assume that we have the standard Dynamic Factor Model:
$$
X_{i,q} = \beta_i F_q + \epsilon_{i,q}, \qquad \epsilon_{i,q} \sim \mathcal{N}(0, \sigma_i^2),
$$
and
$$
F_q = \phi_f F_{q-1} + u_q, \qquad u_q \sim \mathcal{N}(0, \sigma_F^2),
$$
where $i \in (1, \ldots, I)$ is the number of firms... |
For some arbitrary data, I have the raw data and a fitted model (not a regression model, but more so a model that accounts for noise and imperfections the data acquisition). I want to see how closely the model resembles my data. I can use a two sample dependent t test, comparing the raw data to the fitted regression mo... |
I am practicing Linear Regression on the Airbnb dataset. The VIF for 2 dummy variables 'room_type_Entire home/apt' and 'room_type_Private room' is coming as '9.546159' and '9.116464'. These dummy variables I got after applying OHE and dummy encoding on the categorical variable 'room_type' which had 3 categories initial... |
I am trying to compare data from the same series of questions that most recently was used with a 5 point scale, but the previous iteration of it used a 7 point scale. Is there a way for me to convert/scale the means from the 7 point scale so that I can compare the means for the 5 point?
|
I'm working on analyzing some hydrological time series/discharge data (for context, I don't have that extensive of a background in statistics or with time series). Essentially, the data is daily discharge measurements from the last ~80 years or so, quite an extensive record. I know from reading various sources that qua... |
I am running a regression like this on Stata to do model diagnostics: xtreg lnTobinsQ l.ESGScore l.lnTotalAssets l.Leverage l.CurrentRatio l.PricetoBookValueperShare, fe
When I run the command vif, uncentered, I receive high VIF scores for lnTotalAssets (13.8) and ESGScore (9.14). Running a regression with TotalAssets ... |
I'm modeling product lifetimes. If I know what I want the average lifetime of a product in my model to be, is it possible to fit a Weibull distribution to only that data point?
|
I wasn't getting much help in the programming forums and thought to try here.
I am testing Pandas exponential weighted moving average (EWMA) function:
import pandas as pd
df = pd.DataFrame({'values': [345,373,373,359,376,376,413,383,467,464,540,628,545,631,617,607,590,576,565,617]})
ewm = df['values'].ewm(span=7, adjus... |
In theory the differential privacy guarantee comes from adding randomness to an algorithm so whatever is output is a sample from a target distribution (e.g., the Laplacian, Gaussian, Exponential Mechanism's distribution, etc.) In practice, one must use a pseudo random generator or other approximation method to generate... |
Participants completed 4 trials. There are two factors of interest: AROUSAL (High/Low) and LOCATION (Left/Right). Each trial was a combination of each (i.e., HIGH AROUSAL/LEFT, LOW AROUSAL/LEFT, HIGH AROUSAL/RIGHT, LOW AROUSAL/RIGHT). I want to confirm that self-reported arousal scores (likert-style variable, normally ... |
I have a longitudinal dataset with visits 1, 2, 3 and 4, several weeks apart. The outcome is binary, and the aim is to assess the covariates associated with the presence/absence of this variable at visit 4.
Most patients adhered to the protocol and attended the final visit (visit 4) in the visit window given, however d... |
I have two set of data from a experiment. I would like to evaluate a linear model between both sets. However, the term corresponding to y variable is composed by two elements: The measure and its standard error. In this case, how i can undertake a linear regression? The data i try to evaluate are the following:
x ... |
First of all, i don't know if "global model" is the right name for this.
The goal is to develop one model to predict the solar energy of PV-Systems in an energy management system for the next day. Whenever a new PV-System is adopted to the energy management system one "global" model will be trained from scratch everyti... |
Let $F$ be a distribution function on $\mathbb{R}^2$, and let $U_i$ be the left continuous inverse of $\frac{1}{1-F_i}$, where $F_i$ is the marginal distribution of $F$.
In my textbook, there is the following definition.
$H(x,y) = 1- \frac{1-F(U_1(nx), U_2(ny))}{1-F(U_1(na), U_2(na))}$ for $\max (x,y) > a$, and this is... |
I am trying to use interrupted time series analysis to figure out the impact of a groundwater recovery program on Well Depth initiated on March 1st. I am trying to understand the difference between using the actual well depth as the dependent variable and using the change in well depth as the dependent variable (which ... |
Are neural networks used for the classification of high-dimensional small sample data like gene microarray data, where the dimension may be on the order of 1000 features per sample with around 100 samples? Do they work well in this setting, and if not, then what kind of classifiers are usually used with this kind of da... |
I collected microplastics falling on an island in a year. The types of microplastics are fiber (F) and miscellaneous (M) particles. I want to know if the number of each that fell are significantly different.
I collected at two sites but I want to combine these sites together for the island as a whole.
The percentages o... |
I would like to check if my overall survival differs be a multi-level categorical variable. I have 300 subjects and 15 levels. Is KM log-rank the most appropriate test?
If so, how do I check the PH hazards assumption with a variable with so many levels?
I know that the log-rank test does not rely on PH, but it would be... |
Say I have a coin with a chance $p$ of landing heads where $p$ is drawn from the uniform distribution from 0 to 1. Now let's say I have some fixed number $x \in (0,1)$. My question is what is the probability that the coin lands on heads, given that $p \leq x$? In other words, what is $\Pr(H | p \leq x)$?
I first attemp... |
I've been handed off some data to analyze and I'm looking for something simple and straightforward. The 1 response variable/dependent variable is average percent mortality from 7 treatment groups (with 1 independent variable). These data can be analyzed using the the proportions (example: 30 of 50 trees died). I'm wo... |
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.