instruction
stringlengths
9
38.7k
I am trying to compare the paired pre to post-responses in a student survey to see if gender plays a role. I was told to do a wilcoxon signed ranked test, and I can get the mean and p-value by each gender, but it won't compare the genders just the pre-post data. Am I using the wrong test?
Given 5 Lines(table) X values and corresponding Y1,Y2,...Y5. How can I calculate the approximate X value given the corresponding Y's? How can I tweak the formula if I want to weight to bias the calculation towards corresponding line, say Y1? Right now, I am just looking at the Line chart to estimate the X. I am using E...
I am currently stuck in one line in the paper named "Divide-and-Conquer Reinforcement Learning"(Ghosh et. al., 2018 ICLR). It is the equation (1) in the page 4 which is like below. $$E_\pi[D_{KL}(\pi \Vert \pi_c)] \leq \sum_{i,j}\rho(\omega_i)ρ(\omega_j )E_{\pi_i}[D_{KL}(\pi_i\Vert \pi_j )]$$ Here, the policy in the Au...
I have n Poisson random variables with the same parameter $\lambda$: $x_i\sim POI(\lambda)$. I know that $\frac{\sum(x_i)}{n}$ is a MLE of $\lambda$. My question is, observing the weighted sum of these Poisson variables $X=\sum \alpha_i x_i$, is the MLE of $\lambda$ equal to $\frac{X}{\sum \alpha_i}$? If no, only know...
Doing a work project where I created a simple multivariate linear regression model in python with sklearn. My model performs well, now I'd like to discuss some takeaways with my team, namely the "weight" or "strength" of each input variable. I have the coefficient matrix from sklearn, and I understand the coefficients ...
I have read a paper entitled "Attention is all you need" by Vaswani et al. (2017). This paper use the so-called position-wise feedforward neural network, where the input of this network is a matrix $\mathbf{X} \in \mathbb{R}^{n \times d_\mathrm{model}}$ (not a vector $\mathbf{X} \in \mathbb{R}^{d_\mathrm{model}}$). If ...
If the data is time series, and the null hypothesis, assuming the feature has the same distribution in both sets, is rejected, would it be valid to perform feature selection or engineering based on this result (e.g., removing the feature or applying a transformation)? Or would it introduce bias and compromise the model...
In Bishop's "Pattern Recognition and Machine learning" in chapter 1.2.2, the author introduces the concept of expectations of functions of two random variables. In pg 20, introduces the following term, $$ E_x[f(x,y)] $$ And goes on to remark on it, saying that it- denotes the average of the function f(x, y) with respe...
I have conducted a PCA and identified that the principal components (PC) are not driven by a single environmental parameter but are affected by several for each PC. I was then advised to retrieve the coordinates of PC1 and PC2 for each site and plot them onto my NMDS of species assemblages to visualize the potential ef...
Lets say i have a table which has 10 categorical features for each customer and these features are recorded on a daily grain. This means that I have 10 categorical time series for each customer.Now I need to find wether there are data quality issue in the table ie I want to create a model for outlier detention. How do...
I try to distinguish under which group a specific instance is over-represented, if any. My data has 3 groups (columns), and 150+ instances (rows), and the values are counts each instance is present in a group. I would like to perform a chi-squared test for each row to conclude if an instance is over-represented (i.e., ...
I am training three models, ANN, LSTM and RNN to predict the PV energy production. The data contains two features which are the irradiation which is normalised (highest value 1) and the historical production values which are also normalised. The data is available in a 15min interval which correspond to 94 observations ...
I have a double question related with expressing the variability (as standard deviation) of a dataset. Let's say I want to give an average value of the nitrogen content in "fruits" (units: percentage over dry matter). I have the nitrogen content of apples, oranges and bananas. apples oranges bananas 1.15 3.15 5...
Suppose I have many sensors recording a certain measure at discrete times (not too many times, something around 20/30 max). I want to get an idea of the average trend of the measure over time without necessarely fixing a functional form. Would it make sense to simply have a param for each time and have partial pooling?...
I have quite a generic problem. I have a collection of videos, and a collection of tags that identify an action on a specific timestamp. I wish to be able to classify the correct neighborhoods of such events using these videos (which consist of both frames images and audio). Even though there are many great sources for...
Data and background of the study: The data is a repeat measurement of metabolite levels in responses to 2 types of stimuli. The data measured in 4 sessions— sess1, sess2, sess3, sess4. Sess1 and sess3 are the baseline blocks of no stimuli, so one level of possible stimulus type- rest, while sess2, sess4 blocks are bloc...
As far as CrossValidated allows users to ask for reference, does anyone know (top-notch, authoritative) books, resources, or references about ML, DL, or AI for social scientists? If there are still " The Two Cultures: statistics vs. machine learning? ", perhaps reflected in StackExchange Cross-Valited and Data Scienc...
First of all, apologies but my stats knowledge is limited and based on very isolated topics! From what I understand, regression splines are used when the covariates "aren't linear". What does that mean? Interaction of the covariate with what needs to be linear (if you could provide an example based on survival models i...
I would like to validate a 30-item questionnaire. There is a a lot of missing data. How do I handle missing data. My questions are the following: a) Do I have to use only complete case data to validate the questionnaire? b) Can I use Multiple Imputation to perform a Confirmatory Factor analysis? c) If yes to b) Can you...
I have a very unbalanced 2 data sets, the first is the one that the model was trained on (old training data), and the second is the newly collected data I want to see if the model performance dropped due to a shift in the data patterns before considering retraining the model with new data. Both Datasets have the exact ...
I am new on this site, so excuse me, if I made any mistakes writing this post. I want the describe the results of a linear regression of a variable "cost_difference" which has some positive values, some negative values and a lot of 0 based on the variable "days". As I'm not allowed to share further information about my...
My data set consists of time series of consumption of 4 countries, and the average temperature of each country during the time period. I know that consumption is largely dependent on temperature, so for each country I have a linear model with consumption as the dependent, and temperature as the independent variable. I ...
I am building a super learner ensemble model using the classifiers SVM, kNN, AdaBoost, XGBoost, and Random Forest. However I am not sure the logic behind what classifier to use for the meta learner I have seen many applications using logistic regression but I am not using this algorithm since I am doing a classificatio...
I am currently working on intraclass correlation in the context of inter-rater reliability. There are different forms of ICC (Shrout and Fleiss, 1979; McGraw and Wong, 1999) and according to the literature three questions need to be answered to make the right choice between these different forms: Which model to choose...
I have two continuous variables and would like to determine which of these is more strongly associated with a third continuous variable. I realize I could perhaps do a multiple regression and see if both remain significant in this model but I fear my two independent variables are rather correlated to each other and col...
I've been running Granger causality tests on stationary time series in Python. Testing the same time series with itself gives me p-values of 1 for all tests (i.e. no causality), except for the parameter F test, which returns p = 0. However, when testing the relative change of a time series against the log change of the...
I am interested in what determinants may drive a car manufacturing firm to sell its products only in specific countries. The same car can be available for sale in countries A and B but not in country C, and these choices from firm might be strongly correlated. That's why I'm thinking of a multivariate probit as one pos...
I developed the ordinal model where the outcome (high, middle low) is predicted from variables socioeconomic status (low, middle or high), child/adult relationship (family type A, B or C), and some other variables. I fitted the interaction between the status of the family and the adult-child relationship, but I am not ...
I'm working on a project to predict the category of music segments in an audio file (represented in pianoroll format with an additional column for the corresponding class). Each row represents the state of the notes after 50ms, and the last column is the class into which this state was labelled. I've got 150 such music...
The current model we are working on is a multilevel SEM model with an 18-item scale (Mplus, ML estimation), between-level (the country-level) is saturated by letting each item correlate with one another. At the within-level, we've specified a six-factor structure (3 items per factor) and fixed variances for each factor...
Let assume that we have a training test and a test set with unseen data. I perform monte carlo cross valitation on training set to tune hyper-parameters. The question is related to feature selection. The standard approach is to implement FS inside the MCCV, so for different MCCV iterations different features are select...
I have a research question where I argue that X1 and X2 affect M which ultimately affects Y. My problem is I expect the effect of X1 on M to be positive and X2 on M to be negative. In this case, how do I interpret the b path? My problem is, X1 and X2 are mutually exclusive and do not appear on the same individual. I am...
After using the DCC-GARCH model to find the estimated correlations between 2 time series, I would like to perform linear regression with these daily correlations as my dependent variable and test the influential significance of several independent variables (ex: CPI, long term interest rate ...). The problem is that th...
Context: Suppose that I run a Sequential Monte Carlo simulation with likelihood tempering to perform parameter inference on a filtering problem. This takes me from my (unspecified) prior distribution to a particle approximation of the posterior distribution on the model parameters. Question: Can I use this posterior di...
I fit a Poisson regression model where I used $x$ and $x^2$ to predict $y$. Let's say the coefficients of $x$ and $x^2$ are $\beta_1 = 0.8$ and $\beta_2 = -0.1$. Exponentiating the coefficient (${\beta_1}$) gives us the multiplicative factor by which the mean count changes when we increase $x$ by one unit: $e^{\beta_1}...
Using the house price data from kaggle and xicorpy, I have done some experimentation about how Chatterjee correlation coefficients behave in comparison to Pearson. Since Chatterjee's coefficient is a non-symmetric measurement of correlation power and ranges from 0 to 1, I have taken absolute value of the pearson coeffi...
I have a strange and maybe stupid question about cross-correlation. Let's imagine having 2 times series, for example, asset A and asset B. Both time series have enough history. Suppose, I've calibrated an ARFIMA-GARCH (or maybe just a GARCH) models for both and want to calculate cross-correlation between series based o...
I have the following data: For a group of patients, the number of hospital visits in a 6 month period both before and after receiving a treatment has been measured. I wish to demonstrate that the treatment is effective by showing that the number of hospital visits after receiving the treatment is significantly lower th...
I have a fuzzy cognitive model of inter-organizational collaboration that is represented by a 27x27 matrix. I want to analyze the effects of individual variables. I've read I can do this best with a SOBOL sensitivity analysis. However, I am open to any and all other ways of accomplishing this task. I am a total new...
In an exam question I was asked to consider the following data related to education loan taken or not for pursuing higher education and formulate a suitable hypothesis and validate it by using an appropriate statistical procedure. Education Loan Boys Girls Loan Taken 300 100 Not Taken 150 250 The most obv...
I am performing regression analysis based on a full sample and two sub samples from the full sample. Is it always the case that the coefficient of the full sample lies between the coefficients of the two sub samples?
I have a time series with realized sales prices on monthly basis in a large European city which comes as an index and I would like to do 1 period ahead forecasting. I have run ADF and KPSS for unit root / stationarity as well as Ljung-box for white noise, I get the following results: Detrended series: ADF p-value: 0.8...
Could someone explain me in simpler terms what a cross sectional dependence and panel unit root tests does in practice? How is panel unit root tests different from any other unit root tests such as ADF for instance? What if I get a result that indicates cross sectional dependence (Pesaran CD) but is stationary accordin...
To what extent can I apply lessons learnt about the model performance on a simple "cheap" model (e.g. Naive Bayes, LDA) to a more flexible model (i.e. ensemble of trees, neural networks)? For example: How irresponsible is it to evaluate preprocessing strategies (e.g. should I use Fourier transform? PCA? Which signal s...
I can't understand some steps in this example, my question is about the encircled steps in red. How to find these values ($x_1, x_2, x_{11}, x_{21}, x_{22} $), and what is its relation with that of $Y_1$ and $Y_2$ Please illustrate steps of finding what to do, to find these values.
I have 4 categories for cytogenetic risk to find the survival I ran this TMB_NONSYNONYMOUS = survfit(Surv(OS_MONTHS, Status)~ RISK_CYTO, data = Final_cox_146) Where RISK_CYTO is Good, Intermediate, Poor and N.D The output figure is this When I check the survfit object I see this TMB_NONSYNONYMOUS Call: survfit(formul...
I'm currently working on a fraud detection problem with a dataset of 300,000 rows and 500 columns, 70 of which are categorical with over 10 categories each. I'm facing memory constraints and exploring target encoding as a solution to deal with the categorical columns. I've recently come across the CatBoost Encoder, whi...
We know that in econometrics it is common to work with population models and relationships. Thus, when we are faced with the data, we appeal to the analogy technique to emulate the population condition. This is the principle of analogy (see, for example this). Well, I'm reading a little about Principal Component Analys...
Say that we have a cross-sectional dataset with two variables, A and B. Also suppose that A and B are related to each other in some way. Now, there are some rows for which only A is missing, and some for which only B is missing. There are no rows for which both A and B are missing. Now say that I want to impute these m...
Many questions seem to ask something similar, but I could find none that seemed to really match. Suppose there are two potentially distinct archaeological cultures "East" and "West". Both East and West produce statues that are either red or blue. Five eastern sites are known, and six western sites are known. The percen...
I need some help for a statistical analysis. I have the following contingency table : I would like to compare p3 and p2, that is the comparing the proportion of event in G2 and the proportion of not-event in G1. How it is possible ? I have a small sample size : p1 = 3, p2 = 4, p3 = 8 and p4 = 2. Thanks for your help
I have several questions regarding equation (2) from the paper: Calibrated Structured Prediction (Kuleshov, 2015). I believe most of my questions stem from not understanding the quantity: $T(x)=\mathbb{E}[y|F(x)]$ defined as "the true probability $y=1$ given that $x$ received a forecast $F(x)$. Q1: How would you write ...
Let us assume we have the data modeled $D|\pi\sim Binomial (N,\pi)$, where we assume $N$ is given throughout. We also have that $\pi|\theta \sim V( \theta )$ where $V$ is a known distribution and $\theta$ is a vector of parameters. Let us assume we know $f(\theta)$ and it is easy to compute. I tried applying this model...
I am trying to determine which group (A or B) would be better suited for my final analysis. Group a was derived from certain occupations in a specific industry while group B was derived from different types of industries (including the specific industry in group A). I am just trying to figure out how big of a differenc...
I'm testing a number of ideology scales for IVs and seeing how they predict a number of well-being scale DVs. Turns out that my ideology scales individually seem to predict well-being, but when taken together, they don't, as the lack of fit table shows a Pillai's trace for the combined effect on the DVs as non-signific...
I know how to calculate $E[Y|X=x]$ from knowing how to calculate $P(Y|X=x)$. What I don't understand is the meaning of $P(Y=y|X)$. Wouldn't be $P(X)$ = 1 since it is taken over the entire random variable? Or is it constraining X to some implicit set like $x_1 < X < x_2$, so you can then apply Bayes' theorem? I have see...
We are usually told the following: In the Frequentist Probability Approach, we are told that: the data is random but the parameters being estimated are fixed In Bayesian Probability Approach, we are told that: the data is fixed but the parameters being estimated are random Conceptually, both approaches have their adv...
This question was flagged as offtopic, but I am sorry, this is NOT a question which "focuses on programming, debugging, or performing routine operations, or it asks about obtaining datasets". This is the question about the very essence of statistical quality control. Again: I got stuck on a simple application of ISO 28...
Using R language, I was mainly trying to understand if 0.25 quantile means value < 25 percentage of the values or value <= 25 percentage of the values And similarly for 0.75 quantile I tried the following code : test <- c(1, 2, 3, 4, 5, 6, 7, 8) quantile(test) 0% 25% 50% 75% 100% 1.00 2.75 4.50 6.25 8.00 I'm u...
I have a dataset of blood pressure recordings measured over 36 hours, which I plotted with BP (aka MAP) on the Y axis, and minutes on the X axis. I then plotted the blood pressure percentiles for age (horizontal lines - 1st%ile, through 99th%ile) running across the graph. I filled in the entire area under the blood pre...
Suppose I have a feed forward neural network which approximates a value, say $Y_0$. The analytical value of $Y_0$ is given. The plot of the network approximation of $Y_0$ each step is given as follows. We can see (visually) that the approximation of $Y_0$ converges to its analytical value. But, how can we mathematical...
I am a beginner in ML and in my company i have been asked to come up with models that can check if there are data quality issue in any given table. It will be an unsupervised learning task and I only need to do univariate analysis ie at a time i will look for data quality issue in a single column of a given table. Now ...
I am trying to understand the interpretation of an "Odds Ratio calculated the Simple Way" vs the interpretation of an "Odds Ratio calculated from a Logistic Regression". Suppose I have a (sample) dataset that contains information on medical information on some patients and if they have a certain disease or not: gender...
This question is more generally related to block averaging but to set the scene: I am doing molecular dynamics simulations (e.g. computer simulations of atoms) wherein i have 3 repeats of a system. The repeats have identical starting structures but they have had their starting velocities generated independently. From t...
I'm using sklearn.feature_selection.f_classif(X, y) function to compute the ANOVA F-value for a sample. I noticed that the returned F-statistic is not in a specific range, that is, it can take on very large values. This makes it difficult to evaluate how relevant a feature is to the target variable. For example, Pearso...
Is it valid to test the following hypothesis with a binomial test? Or should a chi2-test be applied in this case? A factory produces different products (A-G) with different rates of production errors in % (i.e., a product can be defect or okay). The question of interest is, if a newly introduced product is more prone t...
i am appling k means and DBSCAN to the same data set which is in csv format, but i'm unable to get good results. I have attached the DBSCAN results.I,m getting overlapped clusters and can't figure out why is that so. The dimensionality of my data set is 10+ and i have plotted 2D graphs . When i did pre-processing i pl...
Let $f_n(x)$ by the probability distribution function of a continuous r.v. $X_n$. $X_n$ converges in distribution to $X$, i.e. $|P(X_n < x) - P(X < x)| \rightarrow 0$. On the top of that, $E[|X_n|^p]$ converges to the $k$th moment of $X$, i.e. $\int |x|^p (f_n(x) - f(x))dx \rightarrow 0$. With these ingredients, I wou...
Suppose that we want to test a restriction $\alpha=0$. Unfortunately, we cannot directly estimate the parameter of interest $\alpha$. Instead, we can calculate the log-likelihood functions with and without the restriction. That is, we have $\mathcal{L}_r(\beta,\gamma)$ and $\mathcal{L}_u(\beta)$ (the restricted and unr...
I have conducted research as to if problem based learning is effective in language acquisition. I have a set of 6 questions used in a pre and post test There was a control group and a test group. So for each question i have 4 sets of data taken from 2 groups of students, before and after intervention. What test is appr...
I want to find a method to compare two dendrograms. I have documents that were read by some people and they made a dendrogram that indicates which documents they think are more similar. Now I want to make dendrograms based on those documents using a few different document similarity scores starting for example from tf–...
Suppose we take draw $k$ IID samples from multinomial distribution $$\mathbf{p}=p_1,p_2,\ldots,p_d$$ What is the smallest $k$ such that probability of drawing the same class twice is at least 50%? In numerical simulations, the following appears to be a good fit $$k\approx \sqrt{\frac{\pi}{2\|\mathbf{p}\|^2}}$$ Why? He...
For GLM model, we have the linearity assumption that the transformed response variable (through) the link function) is linearly dependent on the variables. I'm checking this assumption using the Residuals vs Fitted plot (plot the Deviance residuals against the Transformed fitted value eta_i) and have the plot shown bel...
I am suffering from to understand a proof of a paper. (Nádas, Arthur. "The distribution of the identified minimum of a normal pair determines' the distribution of the pair." Technometrics 13.1 (1971): 201-202.) Consider a normally distributed random vector $[X_0,X_1]$ (mean: $\mu_0,\mu_1$, variance: $\sigma^2_0,\sigma^...
I have tried to follow the steps indicated on this page and it doesn't work as it doesn't identify the function "recipe" (which I fail to understand anyways...). I am trying to find the best Box-Cox transformation to stationaries in variance my time series. https://recipes.tidymodels.org/reference/step_BoxCox.html Here...
The image attached shows the amount of accidents per speed limit by year for 1 region. I have two other tables showing similar data. I want to do a three-way ANOVA on these sets of data to see if there is any variance in the mean amount of accidents under each speed limit compared to each of the regions I am looking a...
I've segmented my data using UMAP (dimensionality reduction, with a fixed random seed) and subsequently HDBSCAN to generate a number of clusters. I've also looped through different values to fine-tune both UMAP and HDBSCAN to generate the optimal solution based on the relative_validity score embedded within HDBSCAN. I ...
I am trying to understand why the impliedConditionalIndependencies function of the rethinking package returns the same value for a mediator and confounder. They both return that D is independent of M, given A. Here is some reproducible code to show the output: library(rethinking) library(dagitty) mediator <- dagitty('d...
I am struggling to prove that the quantile function of Irwin-Hall distribution is subadditve over n (the number of uniform distributed random variables that the Irwin-Hall distribution is created of). $$ Q_{n+m}(p)\leq Q_{n}(p)+Q_{m}(p) $$ in which $Q_n(p)=F_n^{-1}(z)$ and $F_n(z)$ is the CDF of the random variable $\t...
So gglasso in R appears to allow the user to implement adaptive group lasso by specifying group-wise penalty factors as you would with a typical adaptive lasso. Typically, when I want to train an adaptive lasso then I train a ridge regression and use the ridge coefficients more or less like this, but in this situation ...
Having looked at the discussions for similar questions I find none quite equate with this apparently simple case I present here. It has been calculated that the average age between female generations in the past is 23.2 years +/-3 (1 sigma). So if I go back two generations this will be on average 46.4 years, but what i...
I want to investigate the statistical properties of the signal from a radar sensor, both simple quantities (e.g. mean, std dev, PSD) as well as investigating distributions between different measured quantities. My question mostly relates to sampling frequency dependent metrics, like power spectral density. If we say th...
I have a set of two-dimensional shapes, each represented by one or more closed paths, which enclose one continuous area. My objective is to establish a measure of similarity between these shapes. I do not have a rigid definition of similarity; it might encompass characteristics such as slightly jagged edges or a small ...
Cureently, I am conducting a regression study of household expenditure (target variable) from a set of determiants (income, household size, ...) in Malaysia using OLS and Random Forest. It is a long question... In my study, result shows that OLS regression (0.853) performs slightly better than Random Forest regresion (...
I'm developing a mathematical (SIR-style) model for cholera transmission in the Bengal Delta which is fit to data using MCMC. The purpose of the model is more explanatory rather than predictive, and I would like to find out which parameters are most influential to the output (and especially how particular combinations ...
My question is around applying undersampling methods to an imbalanced, and highly dimensional dataset, with mixed data. Lets say as an example, I have 150 features, also a highly imbalanced binary target variable. I want to apply a sophisticated undersampling method, not random undersampling. Lets say something like OS...
How do we calculate sample sizes (and power) for an outcome that is discrete and is only measurable between two individuals of a group? Suppose we have $n_A$ individuals in group A, and $n_B$ individuals in group B. The outcome we measure is the number of metabolites that are common between any two individuals within g...
I am using proc autoreg in SAS to conduct an ITS analysis and I have a question about stationarity. Proc autoreg is able to perform the augmented Dickey-Fuller (ADF), the Phillips-Perron (PP), and the KPSS test for stationarity. I believe I have a good understanding of the difference in their interpretations between th...
New to meta-analysis. I am conducting a systematic review and meta-analysis which is investigating a single health score across both interventional studies and observational studies in different patient populations. I am unsure of how to conduct the meta-analysis as the reviewed studies do not posses a control group wh...
I am super stuck on the question. I looked up on how to find the mean on a Box-and-whisker plot, and never got a clear answer.
There are two random variables defined as follows: $X \in \mathbb{R}^n$ ($n$-dimensional random vector) and $X \sim N(0, I)$ where $I$ is an identity matrix $Y \in \mathbb{R}^m$ ($m$-dimensional random vector) and $Y|x \sim N(\mu+W x, \Psi)$ where $\Psi=\sigma I$ is a diagonal matrix $n \ll m$ What are the ways to sh...
One of the hyperparameter tunning approaches that I came across recently is Sequential Model-Based Optimization (SMBO), which is a very smart approach that uses previous iterations in order to find the best values for the hyperparameter. I just want to make sure I understand it right. So there are several steps and fac...
I'm developing a mathematical (SIR-style) model for cholera transmission which I am fitting to data using MCMC. The model is reasonably complex (4 compartments, 6 parameters, simulation over 11200 days, fit to 270 data points) and is externally forced by time-varying temperature and precipitation time-series. When I ru...
The number of significant terms in ACF = 17 The number of significant terms in PACF = 8 We are going to use AR in this model since PACF is less than ACF. AR is 8 and MA is 17. Since we only took the first difference for the trend, then d is 1. P is the number of significant terms in PACF for trend. Q is the number of ...
If a stochastic process is generated by a vector autoregressive process of order $d$, can it be strictly stationary. I know that under the stability condition, that this is weakly stationary process. $\begin{align} \mathbf{y}_t = A_1\mathbf{y}_{t-1} + \dots + A_d\mathbf{y}_{t-d} + \boldsymbol{\epsilon}_t, \quad t \in ...
I am trying to formally evaluate and visualize the satisfaction of the positivity assumption when estimating the ATT using R and I am having a tricky time figuring out how to do so. As Greifer and Stuart point out, the positivity assumption can be relaxed a bit for estimating the ATT because we would only need counterf...
If $\boldsymbol{X} \sim \mathcal{N}_N(\boldsymbol{\mu},\boldsymbol{\Sigma})$ is an $N$-dimensional gaussian vector, where $\boldsymbol{\mu} \in \mathbb{R}^N$ and $\boldsymbol{\Sigma} \in \mathbb{R}^{N \times N}$, what is the distribution of $$Y=\lVert X \rVert^2$$ where $Y=\lVert \cdot \rVert$ denotes the $L_2$-norm (...
I have some data that I have modeled as a function of two Gaussian Process Regression models $X_i(p_i)$, where $p_i$ is a parameter, so my regression models is: $y(p_1, p_2) = f(X_1, X_2) = X_1(p_1)*(1 - exp(a/X_2(p_2)) $ I know how to compute confidence intervals for $X_i(p_i)$ for a given value of parameter $p_i$, bu...
I'm conducting an experiment in which participants receive either an object A or an object B. Next, we ask participants if they want to trade their objects with the alternative object (i.e., object B for participants receiving object A, and Object A for participants receiving object B). I want to compare the proportion...
The above picture is an excerpt from a paper I am reading. (Roads and Loans, Review of Financial Studies). I think based on the reporting of the results from the authors, beta1 is their interest? Is that correct? But even if so, what are the other variables doing here? Also, if one wants to include an interaction effe...