instruction stringlengths 9 38.7k |
|---|
For example, suppose you want to learn some structure for the mean and then you also have some kernel. Is is sometimes not possible to put most things in the kernel? For example, consider extrapolation properties?
|
I frequently come across the terms Permutation and Perturbation within the field of explainable AI.
I understand that both terms refer to methods that make changes to a sample's features. However, I'm not certain of the difference between the two.
From mathematics, a permutation is a rearrangement of elements in a set.... |
I am using an OLS model to predict a continuous variable using several continuous predictors and one binary categorical predictor. I know that usually binary variables are modeled as [0, 1], but I am curious what the effect of giving a binary categorical predictor values of [-1, 1] would be. I had accidentally done the... |
In probability, there are nice “conjugate prior” distributions that enable closed-form Bayesian updating – e.g. if you have a Normal likelihood and Normal prior (on the mean parameter), you get a Normal posterior.
Is there an equivalent concept for “nice” (e.g. closed form) marginal distributions? For example, if I hav... |
In the paper Implications of dynamic factor models for VAR analysis the authors propose a a technique for removing outliers in variables used for dyanamic factors analysis:
"The outlier adjustment entailed replacing observations of the transformed series with absolute median deviations larger than 6 times the inter qua... |
I’m working on a dataset collected from a 2-way Anova design (kind of) on binary data. The purpose of the experiment is to explore how different types of email marketing incentives affect customers propensity to buy certain fruits.
The dependent variable is Purchase rate (Binary; if a customer purchased the offered fr... |
At the instant $t = 0$ a certain radioactive focus starts emitting particles. The infinitesimal probability that the focus emits a particle in the differential interval is $\lambda dt$. Let $N_t$ also be the random variable 'number of particles emitted by the focus in the time interval $[0,t]$'. Hence, we have that the... |
A typical "rule of thumb" for instrumental variables is that an F-statistic of ten or higher indicates a strong instrument. This is mentioned in this Cross Validated post, which contains a reference to a Stock, Wright & Yogo (2002) article (that I cannot access), and I have seen such a value mentioned in primary litera... |
Does anyone know of a python implementation, or have one to share, of Vuong's Closeness test for non-nested models (Vuong, Q. H. (1989). Likelihood ratio tests for model selection and non-nested hypotheses. Econometrica, 57, 307-333.)?
|
From what I have learned, the alpha level tells you that if you repeat the experiment a bunch of times, then (alpha x 100)% of the time you will have a false positive. I'm confused though on if you're the one who gets to pick the alpha level, then how is this always the case? Like if my alpha is 0.05, 5% of the time I ... |
Could anyone provide me with either the steps for derivation for these formulae or a textbook that covers these ols derivations?
The textbook i’m currently using does not go over this.
$$\text{var}(\hat{u})=s^2\left[1+\frac{1}{n}+\frac{(x_{0}-\bar{X})^2}{\sum(x_i-\bar{X})^2}\right]$$
$$\text{var}(\hat{Y})=s^2\left[\fra... |
Say we want to fit some model to predict $\mathbf{E}(A | B)$, which is the expected value for some distribution (ex. Poisson).
What would be the benefit/loss of fitting this vs. computing $\mathbf{E}(A | C) * P(C | B)$ for some variable $C$, where we can fit both $\mathbf{E}(A | C)$ and $P(C | B)$ separately? Intuitive... |
I am trying to determine the MCID of a PROM using a anchor based method (ROC). I have the following dataset.
Delta_PROM
Status Anchor
30,6
1
18,7
0
The dataset has 800 rows. I'm using python, and I did the following:
Train/test split the data
Fit a Logistic model
Predicted probability of 1
Plotted ROC us... |
I have observations collected over a time period of 12 months. For each month, I recorded the total number of observations (n_per_month), the number of "success" events (n_success) and then computed the success rate as n_success/n_per_month (success_rate). Here it is an example of the data:
data_df = data.frame(month ... |
I have a set of data corresponding to several groups (group1, group2,...) split into 7 categories (cat1, cat2...). For each group, I have counted the number of individuals belonging to each category. So all the variables I am dealing with are discrete. In the end, I have tables that look like that :
Cat/group
cat1
... |
Assume I am interested in predicting a time series variable $y_t$ using a vector of possible predictors $X_t$ of dimension $N_x$. I am interested in finding the optimal $N_z < N_x$ predictive factors stacked into a vector $Z_t$. More formally the problem is
$$Z_t=AX_t+\epsilon_t$$
$$y_{t+1}=BZ_t+e_{t+1}$$
Here the dime... |
My study for my Bachelor Thesis consists of 3 independent variables and one dependent variable. I want to analyze whether cooperative attitude predicts a change in defending behavior against bullying in a one-year period AND if the cooperative attitude is moderated by popularity goal.
IV1: Defender Behavior (Time Point... |
Let $X_{1}, ..., X_{n}$ be random variables independent of $Y_{1}, ..., Y_{n}$, where both groups are iid with associated population means $\mu_{1}$ and $\mu_{2}$ and population variances $\sigma_{1}^{2}$ and $\sigma_{2}^{2}$, respectively.
Let $\bar{X}$ and $\bar{Y}$ be their sample means.
What is the variance of $\ba... |
I have a dataset of 1000 previous contests in a giveaway show where the contestant earns a random number of boxes named from "one" to "ten". The boxes contain either 1 or no gift. Each observation in the dataset has 10 independent variables ("one", "two", ....., "ten") representing the count of boxes presented to conte... |
I have a model where I use a negative binomial distribution with quadratic parametrization. I want to test whether some environmental variables affect the number (count) of a bird species:
glmmTMB(Nbirds ~ Jul_DateSc + MoonSc + WindSpeedSc + NmothSc +
DistanceFromCityCenterSc + RainSc + (1|location),
data... |
Nonparametric regression, or smoothing, concerns finding a function that smooths the data, and appears in additive models or generalized additive models. You could say we are trying to fit the model
$$y_i=f(x_i)+e_i$$
with a loosely specified $f$.
One general approach to finding $f$ is a moving average type of approach... |
Suppose I'm doing ordinary least squares with homoskedastic errors, so something like:
$$
y = X \beta + \epsilon
$$
where $\epsilon \sim \mathcal{N}(0,\sigma^2)$.
I know how to estimate the expected value of $\sigma^2$, but I'm having trouble identifying how to compute a standard error on that estimate. Something analo... |
It's common practice to do procedures such as standardization and even missing value imputation (commonly based on some means) after train/test split - otherwise it is treated as information leak from test to train.
But what sort of "leaks" we are worried about? If I impute "Apple" to empty "device_brand" fields, where... |
I am looking for a python library that implements Gaussian Process (GP) with monotonic constraints as the underlying function I am trying to approximate is known to me as monotonic. I am aware of the papers that talk about possible techniques, but couldn't find any python implementations. And I am not inclined to imple... |
Consider the following scenario:
A health insurance company offers a few dozen different health insurance plans.
Within each plan there are many benefits which can take on different values, such as different copays, different network providers, different medical vendors, etc.
Every year, members in each plan rate their... |
I would like some advice or path to follow to solve the following problem.
Consider a random variable $Y$ that follows a Dirichlet distribution $Y \sim Dir(\alpha)$. Let $X$ be a member of the Logistic Normal family of distributions, with density given by
$$ f_X( \mathbf{x}; \boldsymbol{\mu} , \boldsymbol{\Sigma} ) = \... |
Let's say I have a group of 10 students and I want to study the effect of a treatment on their memory.
I will have them each take 20 indistinguishable memory tests. Then I will administer the treatment and give them another round of 20 indistinguishable memory tests.
How would I make use of the fact that I have an ext... |
I have run a multiple regression model using a set of 10 categorical and numerical explanatory variables. This model results in 10 coefficients and their associated p-values. I would like to report the adjusted p-values (to correct for multiple comparisons). However, I would like to use a permutation test rather than t... |
The book I read mentions:
Even though, single features do not correlate with each other, sets of features can correlate with other sets of features.
I have an accelerometer, gyroscope, and magnetometer data where all of which are 3-dimensional [x, y, z]. How to calculate if they correlate with each other (for example... |
Note: this is part of Exercise 5.6 in Design and Analysis of Experiments, 2nd Ed., by Dean, Voss, and Draguljic.
If you go here and download the bicycle.txt dataset, then run some R commands such as
df = read.table("bicycle.txt", header=T)
lmod = lm(rate ~ trtmt, df)
plot(df$trtmt, residuals(lmod))
you will see that t... |
I'm quite interested in the topic of multi-fidelity Gaussian processes, which build a GP based on measurements with different fidelities. I have a very general question about this method.
Background: Assume that we only have two fidelities now. Why don't we just build a deterministic model for the low-fidelity measurem... |
Suppose I'm measuring concentrations of gas over time as well as relative humidity. How can I find the correlation between time series? The author suggests Pearson's correlation and the Cross Correlation Function and has a Ph.D., so I assume he knows what he's talking about. Is the CCF in R okay to use?
Some of his quo... |
I am training a CNN. The whole training process works well. Now the loss and validation metrics are fluctuating and no longer drop, but the maximum absolute weight of convolution layers continues to grow as the number of epoch increase. I am not sure what this means and what's the reason of this. Any ideas? Thanks!
|
I have an issue with specifying the lambda value based on cva.glmnet().
The lowest "binomial deviance" was attained in my data with alpha = 1 and lambda = 0.04126. It said that there were 43 predictors that were non-zero.
After this, I used glmnet() to create a list of the non-zero predictors, but I only got 27 of th... |
I am a physicist, and the following problem has arisen in my research:
Given functions $G_j:\mathbb{R}^2\rightarrow\mathbb{R}$ and parameters $\alpha_j\in\mathbb{R}$, for $j=1,2,\dots, N$, find two functions $\psi,f:\mathbb{R}^2\rightarrow\mathbb{R}$ satisfying $$G_j(\alpha_j x + \nabla \psi(x)) \left(\alpha_j^2 + \al... |
I keep seeing this curve and I understand this basically tells you how well the model is doing in terms of predicting True positives vs. False positives.
I was wondering if there is a version of this curve that plots True negatives vs. False negatives, or combines it with the previous True positives vs. False positive... |
RQ: analyzing the effect of completing a strenuous vs. more relaxing warm-up on reaction speed.
Methodology:
Randomly assigned the population to two conditions: complete a strenuous warm-up or a more relaxing one
All participants took the reaction time test 3 times before being exposed to their condition to establish ... |
How do you compute a binomial probability distribution for large $n$? If I try the following, I get an integer overflow in any programming language:
n!/((n-k)! * k!) p^k * (1-p)^(n-k)
The problem is those factorials. Is there a way to deal with this? An approximation that works well for large $n$? I read that the bino... |
I need to calculate the inherent quality for every sales position inside a retail store. A sales position is a piece of furniture that holds multiple products on display for customers. Given that every product has a different inherent attractiveness, I need to set up data entry and a regression model that will enable m... |
Suppose the correlation between baldness scores in group 1 (fathers) and group 2 (sons) is 0.5. Furthermore, let the correlation between DHT and baldness scores in group 1 (fathers) be 0.4, and the correlation between DHT and baldness scores in group 2 (sons) be 0.45.
How do I then find the partial correlation between ... |
I have fitted a conditional logistic regression model using the clogit() function from the survival package in R, and I would like to identify the influential observations in my dataset. I have tried several functions, including influence(), influence.measures(), and dfbeta(), but none of them seem to work for clogit o... |
When I try to link a file or image from a previous directory cannot load it in the browser says the error.
this is my directory
webdev/
. html/
. index.html
. css/
. para.html
When I link para.html in index.html through it doesn't work in bracey while it works in live-server and re... |
The following is an exercise problem from Hogg, McKean and Craig's book titled "Introduction to Mathematical Statistics" that I am working on.
3.6.16. Let $X_1$, $X_2$, and $X_3$ be three independent chi-square variables with $r_1$, $r_2$, and $r_3$ degrees of freedom, respectively.
(a) Show that $Y_1 = X_1/X_2$ and $Y... |
If I have a 2^3 factorial design (2 levels, 3 factors) with 8 treatments that cover all 7 combinations + control for main effects and interaction effects, how do I model my data?
I want to use a GLMM. Do I use the factors as fixed effects and combine them in all various combinations across the entire dataset, or do I u... |
I have a question about the normalization of datas and batch effect ...
For example, here is a dataset :
(list(PatientID = c("P1", "P1", "P1", "P2", "P3", "P3", "P4", "P5",
"P5", "P6"), LesionResponse = structure(c(2L, 2L, 1L, 2L, 2L, 2L,
2L, 2L, 1L, 2L), .Label = c("0", "1"), class = "factor"),
pyrad_tum_o... |
Slope Hypothesis Testing (Randall Munroe, xkcd)
The problem with this comic is obviously that the "measurements" are not independent, violating a key assumption for computing valid p-values. But I see also a possible problem with the fact that the dependent variable "grade" is constant for each student.
What is the c... |
I have one sample where participants saw ten images, and I am interested in whether there is a difference in which image got noticed first. So I have count data for this where each image will have the frequency of participants that looked at it first. My data looks like this.
A 5
B 4
C 11
D 2
E 0
F ... |
Please allow me to explain the background for my questions first. I ran a specific test comprising of adding various doses of a certain chemical and then measuring the effect of these various doses on the cleanliness of a liquid product. I repeated the same test about 30 times, with the same doses each time (i.e., for ... |
I have some measurements--tissue swelling in response to an injury--with limited precision (mm). Thus, although the underlying phenomenon is continuous, my values are discrete. The values range between 0 and 20 mm. Many of these discretised values are zero (i.e. no measurable tissue swelling, although it might be prese... |
I would like to be able to establish whether a sample (let's call it A) is more likely than another sample (let's call it B) to be drawn from the same distribution as a third sample (let's call it C).
Is it possible to use two two-sided Kolmogorov-Smirnov tests comparing A to C and B to C and then obtain a likelihood r... |
How do I calculate the partial correlation with an intraclass correlation? I tried asking earlier, but provided too much detail because it’s not easy to explain what I mean in a short or simple way. I’ll try to ask again in a more simple way but perhaps in a way that’s more interpretable. I want to know how to find/cal... |
Let's stick to ordinary least squares linear regression for now, and assume the typical conditions for the Gauss-Markov theorem. If it is helpful to assume Gaussian errors, that's fine.
In such a setting, even if the OLS estimator is unbiased when the needed variables are included in the model, when a variable is omitt... |
I have performed a multiple logistic regression because I wanted to see the association between Death and Cardiovascular disease. I adjusted using age, sex, risk factors.
The result came in ODDS RATIO with CONFIDENCE INTERVALS.
How do I do this using RISK RATIO with CONFIDENCE INTERVAL instead?
If I just do the ratio b... |
Let $e$ be a continuously distributed RV with pdf $f$ and let $q( x )$ be a binary RV that depends on the former through the relation $q ( x ) = 1[h( x ) \geq e ]$, where $h$ is a well-behaved function.
Because the binary nature of $q(x)$, it holds that its first two uncentered moments are identical (this holds in fact... |
I'm trying to find a way to get the posterior covariance function for a mgcv::gam fit. Assuming I have a simple model y ~ s(x), how do I find the posterior? Do I simulate and calculate covariances? Do I use some version of the code below?
Will appreciate any pointers!
# Gaussian process posterior
def GP(X1, y1, X2, ker... |
In Spatial Pyramid Pooling, I still did not get why we need Spatial Pyramid Pooling after the input layer. The motivation behind SPP according to the authors is to deal with input features of different sizes and generate a fixed representation output for further layers. But does not the previous layer that produces inp... |
Given that I have $C$ to spend on my experiment, what is the optimal number of individuals $n$ of my experiment?
Say that I want to estimate the mean $\mu$ of distribution of individuals
$$X_i \sim N(\mu, \sigma)$$
and I can sample several values from each individual which is distributed as
$$Y_{ij} \sim N(X_{i}, \tau)... |
I have sampled data and the residuals should be normally distributed, however due to the presence of a couple outliers the residuals are not normally distributed (Kologorov-Smirnov and Shapiro-Wilk < 0.001). The qqplots and residual histograms are “close” to being normal (if you’re being generous).
My questions are: (1... |
I have collected data on ADHD symptoms via questionnaires, so the participants score anywhere from 0-23 on this questionnaire and that would determine severity. Higher score = higher symptomatology. I also have EEG data, and I am looking at specific frequency bands (mainly theta and beta waves), this is in the form of ... |
So, I'm reading Steven Brunton's book, "Data Driven Science & Engineering", and I'm trying to understand what he means by mode in this following excerpt:
Most natural signals, such as images and audio, are highly compressible. This compressibility means that when the signal is written in an appropriate basis only a fe... |
I want to be able to calculate the optimal budget allocations for a number of media channels (TV, display, social) with regards to a KPI (revenue). I want to be able to use linear optimisation, similar to this example found here https://rpubs.com/PE_Stat/569796
However I firstly need to be able to calculate the ROI for... |
There are a lot of publications on missing data and unbalances in mixed models but I missed the issue when unbalances or missings relates to levels of a categorical variables.
Let's assume we want to study an education concept treatin schools. For this kind of analysis a mixed model would be appropriate. In R-notation ... |
I have fitted two linear mixed models, A and B, to a data set using lme4::lme: model B has one more predictor variable than model A.
Using check_heteroscedasticity and check_normality from performance package, I have confirmed that the residuals have homogenous variance in both models, however, both models have failed ... |
I need help with setting up my dataset to perform survival analysis with a time-dependent covariate. I read the Therneau et al. paper but I'm still unsure of how to set up the counting process format for my data.
Below is a test dataset similar to what I have.
Data: Liver transplant dataset where some patients are in g... |
I'm looking to see if a new material has an impact on sample results.
To analyze the impact I am running the samples using both materials.
Using the paired t-test there is one outlier that is keeping the test from failing.
All samples except the one outlier decrease in value with the new material.
The experiment also n... |
I'm not sure if I worded the question well or not, but here's my situation.
I'm trying to figure out how to calculate the average number of instances needed to reach state 3, starting at state 0.
State 0
65% chance of staying at state 0
15.75% chance of moving to state 1
10.5% chance of moving to state 2
8.75% chance ... |
In a multiple regression model, i.e. $y \sim x_1 + x_2 + x_3$, where $x_1$ and $x_2$ are collinear (e.g. present high correlation around 0.8), it is well known that many problems arise regarding parameter estimation or hypothesis testing (on $x_1$ and $x_2$). But how does collinearity affect the third non-collinear var... |
My general understanding is that, before running a clustering algorithm, one typically wants to consider trying to normalize or standardize the data depending on its content and use. In my case, I have a problem where standardizing features (centering and dividing by standard deviation) after l2 normalizing across the ... |
I am a grad student who is fairly new to all of this. I have a matrix likert table that I was wanting to compare across 3 different relationships to the land. I got the means and standard error for all 3 groups, and I was wanting to run an ANOVA to compare each groups vs. the other groups, but I'm not really certain ho... |
I struggle to understand how to implement a logical weighting of sentiment data.
I predicted the sentiment for multiple Reddit comments. How can I weight them according to their scores? The problem is sentiment data is going from -0.003 to 0.08 numerical, while scores can go from -1000 to 1000 (possible more). If you f... |
Question: Is there a straightforward proof of the following relationship between the (lower, non-regularized) incomplete beta function $\mathcal{B}(x; a ,b)$ and the (upper, non-regularized) incomplete gamma function $\Gamma(s,t)$:
$$\mathcal{B}\left(\frac{\alpha}{\alpha + \mu} ; \alpha, k + 1 \right) \sim \frac{\Gamma... |
I'm doing a meta-analysis studing lenght of stay after a particular protocol.
However, some studies report their results (meand and SD) in hours and others in days.
How can i change results in days to hours?
|
I have sampled two groups with different means before treatment. Would it be possible to run a $t$-test after the treatment to see if the original difference between the means changed? Most of what I have reviewed states that the two sample groups have to be the same.
|
I am trying to run PERMANOVA tests on multiomics datasets collected from coral samples using adonis2 (v 2.6-5). I found when the order of samples in my dataset change, the pvalues change, sometimes significantly. For instance, I have 4 time points (0, 1, 3, 5), and if the order of samples is 0, 1, 3, 5 the PERMANOVA re... |
I need to solve a tricky problem:
I have a dataset which has revenue lift data coming from 3 treatments. How do I attribute success to each treatment?
For example, we have a total revenue lift of 10%. This includes Treatment 1 + 2 + 3. How do I know how much credit Treatment 1, 2, and 3 individually get, causally speak... |
I'm currently performing a random slope model to figure out whether the hierarchical factor (categorical: e.g., school A, school B ...) is biasing my results. I've used the following model/code in R:
lmer(results ~ IQ + (IQ|School), data = mydata)
Linear mixed model fit by REML ['lmerMod']
Formula: results ~ IQ + (IQ ... |
I was reading the book foundations of machine learning by Mehryar Mohri, Afshin Rostamizadeh and Ameet Talwalkar, and I came up with this definition of generalization error:
I dont understand what this means. I would like a more formal explanation of what they mean by the notation
$$
\mathbb{P}_{x\sim \mathcal{D}} [h(... |
This is not homework.
This is simple self-learning from real data.
I am fitting a logistic regression model as follows:
$$\text{logit}(p_i) = \beta_0 + \beta_1 race_{i} + \beta_2 x_{2i} + \beta_3 x_{3i} + \beta_4 x_{4i}$$
where
$p_i$ is represents the probability of the event in the i-th person.
$race_i$ is a binary va... |
I am having trouble specifying a model in lme4.
Your help with be greatly appreciated!!
And please let me know if I can improve how I ask this question.
I am looking at the impact of light, temperature and fungicide on disease levels for a set of plants (plant=observational unit).
I think the design is a split-block wi... |
Consider a statistical test $\delta$, whose power function is $\pi(\theta|\delta)=\text{Pr}(H_0 \text{ is rejected}|\theta)$. The size of a statistical test $\delta$ is then given as
$$\alpha(\delta)=\sup_{\theta\in\Theta_0}\pi(\theta|\delta)$$
I understand $\alpha(\delta)$ as a summarization statistic of $\pi(\theta|\... |
I just realized I have not given this issue much thought. In a classification task, there is an argmax happening after the softmax to get the most likely class. So how does backpropagation go through that operation?
|
I am observing mutations in a population. In a population of 2000, I get a list of locations with the number of affected individuals in the disease and the control.
I have done a boxplot of the diseased_individuals variable and matched_control_individuals variable and they are highly skewed.
Which statistical test can ... |
Consider a dataset which has ~ $20$ measurements $m_i$ each of which has an associated uncertainty $\epsilon_i$.
There may be some outlier measurements which can have relatively low uncertainty.
I want to summarise the data and obtain a combined uncertainty. Due to the outliers, a weighted mean/median where the weights... |
So, I am learning a bit about Neural Networks. I have built a code in PyTorch for regression, and I have standardized both the features and the target variables following this answer. My question is that should I destandardize the loss value before plotting the elbow curve to observe the train and validation errors acr... |
Suppose that we are given a sample of input-output pairs of a deterministic function. To make it concrete, I can generate input-output pairs of a function I myself created (for example $y = 240 + 20x - 12x^2)$. The function might be linear or non-linear. But there are no unknown noise or other contributing factors.
Th... |
I know that I can compute t-statistic as following.
for one-sample T-Test:
$$t = \frac{E(x) - \mu}{\sigma / \sqrt{(n)}}$$
for independent sample T-Test:
$$t =\frac{E(x_1) - E(x_2)}{\sqrt{\sigma_1 / (n_1) + \sigma_2 / (n_2)}}$$
But I can't understand how we obtain denominators for both equations.
The only source I found... |
I have a joint distribution from which I want to simulate $f(x,y) = 2(1-x)(1-y)(1-xy)^{-3}, 0<x,y<1$.
I have worked out that the marginal distributions are both $U(0,1)$, so I want to simulate by first simulating $Y \sim U(0,1)$, then use rejection sampling to simulate $X$ from $f_{X|Y}$. I have used calculus to work o... |
I am looking for a way to force lavaan to use positive factor loadings in a latent construct.
I am working on a sem defined as follows:
'
FF =~ NA*ma09 + mp02 + mp03_r + mp19_r + mp18_r + ma02 + mp17_r +
mp16_r + mp07 + ma03 + mp06 + mi02 + ma12_r + ma01 + mi04 + mp08_r + ma04
... |
I was wondering if anyone could help me.
I am trying to analyse the effect of body dysmorphia scores (scored on a scale of 0-4) on ratings of agency (on a scale of -100 to 100) under differing contingencies (positive negative, zero). As I have collected data from the general population, the distribution of scores in my... |
I'm doing an ANCOVA on a fictitious dataset of math test results (DV) by group (n1 = 50 online training; n2 = 50 no training) with previous math ability as a (covariate) to see if there is a difference between students who did an online training or not on their test performance.
I already tested the following previous ... |
Data: I have 1000 independent time series. Each of these 1000 contains two variables A & B.
Goal: My goal is to find out whether there is a statistically significant correlation between A & B for ALL 1000 time series.
Problem: I have performed cross-correlation for each of these 1000 time series separately and found ou... |
I am trying to understand the differences in estimating diff-in-diff in different formulations. To exemplify, I'm using data from Abadie, et al., (2010), in which the authors estimate the effect of a tobacco control program implemented in California in 1989. Ps: I know in the paper they used the Synthetic Control Metho... |
I am trying to understand how Latent Semantic Analysis works, reading demonstrations based on singular value decomposition.
Let's denote $X$ a $N \times D$ document-term matrix. The $D$ rows of $X$ represent documents, and the $W$ columns represent words. Using SVD, we can write $X = U \Sigma V^T$.
To me, this formulat... |
In a logistic regression model, e.g.,
$$logit(\mu_i) = \beta_0 + \beta_1 X_{1i} + \beta_2X_{2i}$$
where $Y_i \sim Bernoulli(\mu_i)$, $expit(\beta_1)$ is the odds ratio.
In a poisson regression model with an offset, e.g.,
\begin{align*}
log(\mu_i) &= log(\lambda_i t_i)\\
&= log(\lambda_i) + log(t_i)\\
&= \beta_0 + \beta... |
In my dataset, there are two distinct species, each with three unique treatments. My objective is to investigate whether there are any significant differences among the various species and treatments. However, my data does not meet the normal distribution assumption for a two-way ANOVA. Is it possible to conduct a non-... |
Suppose I have the PDF
$$
f_X(x) = \frac{12x^2}{7}
$$
with $-1 \leq x \leq 1$.
What would be the PDF of $Y = X^2$?
Would it be
$$
f_Y(y) = \frac{12x^{1/2}}{49},\quad 0 \leq y \leq 1 ?
$$
|
Apologies if this is a very simple question but trying to work through a result in a paper made me realize I missed something a bit fundamental in my undergrad probability and analysis courses. Lets suppose we have $A\in \mathbb{R}^n$ which is a random variable with CDF $F_{A}(\cdot)$ and pdf $f_A(\cdot)$. For $h(\cdot... |
I am confused about the presentation of using variogram in simple kriging in the book of Multivariate geostatistics by H. Wackernagel (1995).
I understand the process of derivation of simple kriging equations which follows from determining the minimum of the variance of the estimation error. One challenge with the simp... |
I have some variables in an OLS that are very skewed to the right, so it could make sense to the log transformation of it, however there are lots of 0s in the variable, so that would mean I have to remove those, thus resulting in a loss of observations. Can I argue that I didn't want to take the log for this reason? (T... |
So I ran a regression with an outcome variable (CSI) and a categorical predictor variable (RT) than has two levels (A and B). I made A my baseline variable, and found that the difference between A and B was significant p = .001.
CSI ~ RT
Then I added in a continuous predictor variable (ACI), without an interaction.
CSI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.