instruction stringlengths 9 38.7k |
|---|
Suppose we have three sequences of random variables, $(Y_n)_n$, $(W_n)_n$, and $(X_n)_n$ such that:
If $Y_n=a$, then $X_n=b$. If $X_n=b$, then $W_n=c$. That is
$$
1_{[Y_n=a]}\leq 1_{[X_n=b]}\leq 1_{[W_n=c]}
$$
for all $n=1,2,\dots$, where $a,b,c$ are real numbers.
$(1_{[Y_n=a]})_n$ are i.i.d.; $(1_{[W_n=c]})_n$ ar... |
I am developing an R shiny app that contains more than 1,000 variables as choices for the user. It plots a choropleth map and an histogram. However for many of those, the visual information is helpless since data are extremely skewed. I tried to find criteria to apply log scale automatically when it is appropriate, but... |
This question is currently making my head spin, and I haven't been able to find a discussion on it so far:
Suppose I am interested in the effect of an intervention, such as a healthcare reform, on a monetary outcome, for example, healthcare expenditure in Euros. My pre-period is 2014, and my post-period is 2016.
In a d... |
I'm working on a dataset of bird electrocutions. There are 300 instances of electrocuted birds and I have a range of environmental data that I want to input as my predictor variables. The aim is to see which of these, if any, is useful at explaining whether a bird gets killed.
Because this is presence-only data my idea... |
I have been delving into non-parametric tests recently, and I've come to realize that most of these tests offer only a partial perspective.
For example, lets say the underlying distribution is $\theta$ and we have a sub-region $R$ in the total space of distributions of concern $\Theta$ (e.g. $R$ being the parameter spa... |
Using a dataframe which looks like this (with 3 raws per "id"):
data_rt = data.frame (id = c("sub-a", "sub-b","sub-c","sub-d","sub-e","sub-f","sub-a", "sub-b","sub-c","sub-d","sub-e","sub-f","sub-a", "sub-b","sub-c","sub-d","sub-e","sub-f"),
group = c("group1", "group2","group3", "group1", "group2","g... |
I have a dataset with 10,000 patients, and for each patient, I have the following information:
Biological sex (male/female)
Baseline age (age at the time the patient joined the study)
Age at the event of interest or age at the end of the follow-up period
An event column (1/0) indicating whether the event occurred or n... |
The response variable in the dataset is highly skewed with a "ceiling effect". The errors of a fitted regression model, will thus also be skewed. I tried to fit a regression but as expected errors were not normally distributed. I doubt that transformation will help much.
The dependent variable (DV) ranges from 1 (not... |
Scores on the Sexual Attitudes and Beliefs Survey in this sample will be significantly higher, indicating less comfort, than scores in the published national sample collected by Tennille et al. (2022).
|
I'm using the R package candisc to perform canonical correlations.
Since my dataset has missing values (only 36 rows without any NAs out of 88 rows total), I have two options:
I can use the raw dataset as is and run cancor(..., use = "complete.obs",...)
I can delete rows with missing values in the dataset and then sim... |
I have run a latent growth curve model in R using lavaan and got the below warning. It would be good to hear suggestions on how to resolve this warning. The full output is below.
Note that I dummy-coded one covariate (i.e., employment). However, removing one of the dummy coded variables (i.e., FTvUN_w0) seems to lead t... |
My data consist ~130 observations. Each observation has several thousand features (including many collinear or otherwise useless features) and a position along a single spatial dimension. Some sets of features vary linearly with the spatial axis and I have had success selecting the spatially sensitive features with a l... |
I have a group of >10,000 right-censored survival cases, composed of a large number of small batches, with 1 to 7 cases in each batch. Failure rate overall is low, with 95% survival at maximum time. I would like to determine the effect of batch on survival, i.e. whether some batches are more predisposed to failure th... |
I have little statistical experience, but am helping to run a community needs survey for my organization. Many of the questions have a yes/no or multiple choice answer format. For example, "Do you have health insurance?" and if they aren't yes no, they are multiple choice "Why don't you have health insurance?" "1) Can'... |
I'm interested in modifications of Kendall queueing networks where agents in the network can be arbitrarily (according to a distribution or a deterministic function) moved from one part of the network to another part of the network. I try to provide some examples below to explain what I mean.
Examples
Redirected While ... |
So I'm working on my dissertation and I'm trying to figure out a binary logistic regression power analysis to show how many participants I should collect. My proposed analysis is as follows and the range of sample sizes I've gotten. My question is, am I doing this correctly using R and if not, where would you suggest m... |
Alice and Bob play the game - the rules of the game are not important, and after 8 rounds Alice has 5 points and Bob has 3 points. Every round one of 2 players gets 1 point and the winner of the game is the one who gets 6 points first.
What is expected probability of Alice winning the game considering:
Frequenstist ap... |
One sample test statistics (i.e. for null hypotheses about the relationship between a population quantity and some constant term) can be inverted straightforwardly to produce a confidence interval for that relationship.
Two sample test statistics (i.e. for null hypotheses about the relationship between two population q... |
From my understanding the only difference between MSE and LSE is that with MSE you divide the sum of squared errors by the total number of values to get an average rather than just using the sum.
This means that when LSE is used as a loss function, the loss will scale up with the batch size.
Isn't that pretty undesirab... |
I am estimating the effect of endogenous X on Y using 2SLS estimator with an instrument variable (Z).
X: Safety net program participation (binary), designed to increase household income
Y: Household income
Z: Generosity of program eligibility
I tested my Z is relevant (passed weak IV test), and I think Z affects Y on... |
If I were to measure some quantitavie metric of a sample population and record its mean, and then I were to split by random selection all members of the population into two groups of equal size and record the means of each group on the same metric. Is their a statistical term/measure of the difference of those means fr... |
Say I have either logistic regression or simple linear regression and I am not sure if I have a moderate number of observations, $n = 40$.
How do I know when to switch to using a non-parametric standard error estimate instead of the Wald intervals? It seems to be we can look at residuals and in particular at the RSS or... |
I am conducting a simulation involving 40 different stores in a specific area. Each store receives a varying number of customers in a given time period. I am calculating the expected final margin and the confidence intervals (CI) for each store over 100 repeated simulations.
My question is: once I have obtained the exp... |
This is an update from my previous question.
I'll put my Model Development code here for your reference:
# Splitting the data into training and testing sets
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)
# Create a neural network model
model = Sequential()
# Convolutional la... |
I am analysing a range of clinical outcomes for a drug treatment and need to compare the values pre and post treatment - I’m using excel to do this and have found that for most of my outcomes the data is not normally distributed. Sample size is 69 patients - as such id imagine I’m best presenting my results as median a... |
I'm trying to understand the difference between a Monte Carlo simulation vs. a Discrete event simulation. I learned from googling( for eg.: https://bookdown.org/manuele_leonelli/SimBook/types-of-simulations.html) that Monte Carlo simulations are static and do not account for time. However, I know that "time" in Discret... |
I have a dataset I split in training/validation/testing data for a binary classification model. The data is used as following:
Training data: for training the model (model weights, etc.)
Validation data: for model selection
Test data: to report the final results
The validation data is used both for early stopping, as... |
The score test says that we take the derivative of the log-likelihood at $H_0$ and divide it by the fisher information at $H_0$.
$U(\theta )={\frac {\partial \log L(\theta \mid x)}{\partial \theta }}.$
$I(\theta )=-\operatorname {E} \left[\left.{\frac {\partial ^{2}}{\partial \theta ^{2}}}\log f(X;\theta )\,\right|\,\t... |
I am examining a cohort of cases against controls, matched at a 1:5 ratio (on sex, birth year, and residency/postal code at time of diagnosis).
Education level
Cases (n=206)
Controls (n=957)
p-value
Low
10(5%)
81(9%)
?
Mid
78(38%)
398(42%)
?
High
118(57%)
461(48%)
?
I want to examine if the proportions ... |
I would like to use Permutation Feature Importance (PFI) with a set of different models coming from a bootstrap procedure.
I was looking at the algorithm here and was wondering how it can be used when the model is not just one.
$Algorithm$
Compute the reference score $s$ of the model $m$ on data $D$ (for instance the ... |
I have a dataset of 10 people who share the cost of a service at the end of each month. The cost of the service is constant. Is there a fair way to split the cost of the service such that the difference between the maximum and minimum amounts paid is not too large?
This is the dataset that I am referring to:
Thanks in... |
If $(X_n-\mu_n)/\sigma_n\rightarrow_{d} N(0,1)$ (i.e., $X_n$ is $AN(\mu_n,\sigma_n^2)$), I want to show the following two statements:
(1) $X_n$ is $AN(\bar{\mu}_n, \bar{\sigma}_n^2)$ if and only if $\frac{\bar{\sigma}_n}{\sigma_n} \rightarrow 1$ and $\frac{\mu_n - \bar{\mu}_n}{\sigma_n}\rightarrow 0$.
(2) $a_nX_n + b_n... |
I am having difficulty understanding how to interpret a one-unit increase/decrease for continuous variables in a Cox model.
Specifically, I have created the variables gender, age & nationality diversity using the Blau index and coefficient of variation.
So for example, I have a Hazard Ratio of 1.7 for nationality diver... |
Is there a way to analyze the "aggregate" impact of multiple sequential interventions on a time series within the framework of CausalImpact, using the same set of control variables (predictor series) for all interventions?
Imagine that I have three sequential (complementary) interventions occurring one after the other ... |
I am using linear regression to do inference and know how much each predictor affects sales.
In have data for several stores with features and sales during a certain time frame.
There is not much variation in sales in each individual store across time (as sales and all features are quite stable per store). There is a l... |
I'm considering using time series data to compare Spain's and China's economic performance during various years of economic growth. However, I'm wondering if it's valid to compare them when they experienced economic growth in different years.
Regression is about the return to education, and I want to compare the recove... |
I have a group of patients who are subjected to treatment A. I wish to compare the number of events/patient before and after the treatment. The duration of follow up of before and after therapy is different since this is a retrospective study. How do I compare the number of episodes/patient before and after the treatme... |
I study school grades in children with brain tumors (=cases), using databases.
Every case in the database has five healthy controls, matched on sex, birth year and residency. The hypothesis is that cases have worse school grades than controls (this is of course already known, but I will also look at other covariates he... |
This answer to Data normalization for RBF kernel points out that RBF kernel implies Eucledean distance. Are there kernels corresponding to other popular distance/dissimilarity measures, such as Bray-Curtis or Jensen-Shannon? Or could they be easily designed? What are the constraints to take into account (e.g., does Bra... |
Consider a random variables $Y, X, Z$. Denote by $f$ a function of the expectation of $Y$: $ f(x,z) = \mathbb{E} [Y\mid X=x, Z=z]$. Define a marginal function $$g(x) = \mathbb{E} [Y\mid X=x] = \int f(x,z)dF_Z(z).$$
Given an iid sample from $(Y,X,Z)$ of size $n$, we can estimate $f$ by many different machine learning m... |
Suppose I have a continuous variable representing the outcome of a multiplicative process. I measure it using an instrument, but even samples without the process yield numerical readings. I've been subtracting this background, but now I realize it might not make sense since my variable is best modelled multiplicatively... |
I am planning to analyse clustered data with a structural equation model and as I am planning on submitting my project as a registered report, I am first trying to do an in-depth power analysis (it is a secondary registered report, so the data already exist, but I have not analysed them). Since my data are clustered in... |
I have been wondering how the central limit theorem may be useful in Bayesian statistics with potentially misspecified model distribution. Suppose $x$ is a random variable that follows an unknown (and possibly non-normal) population distribution $P_x$. $P_x$ depends on two parameters, the mean $\mu$ and variance $\sigm... |
This is a follow-up question for this post
This question is related to what is written in 19 page of ESL.
We have two statements. The following is a quote from the post.
The one below is the matrix notation of the Least squares equation,
after derivating w.r.t . (eq: 2.6)
$\widehat{\beta} = (\mathbf{X}^{T}\mathbf{X})... |
I know there are a couple posts asking about why we whiten the data for ICA. I understand why we whiten to fix scaling invariants between the sources and to increase the computationally efficiency.
But most answers mention something saying we want to decorrelate our data before running ICA or it should be orthogonal. C... |
Is there a survey or some other resource that goes over commonly used methods for p-hacking in scientific literature?
I can broadly think of three ways -- 1) adjusting dataset, 2) adjusting reported metric, and 3) adjusting distribution of the null hypothesis, looking for more examples.
This is for a talk I'm giving on... |
Both reviewers of my latest article suggested better to work with credible intervals instead confidence intervals. Unfortunately, I am not familiar with Bayesian statistics. Until today, I was (obviously) more in the frequentist world, why I feel completely lost how I can obtain credible intervals from my data. After I... |
I have two separate models that both use the same set of 10 continuous predictor variables.
Model_1 predicts one binary outcome (symptom_1: present vs. not present) and model_2 predicts another binary outcome (symptom_2: present vs. not present).
I am interested in the question if "interactions in general " play a stro... |
I'm currently working on a sample size calculation for an upcoming AB test related to our mobile app. Up until now, I've been dealing with binomial metrics, such as the conversion rate, which is calculated as the number of customers who make a purchase divided by the number of customers who visit the page.
To perform t... |
Can someone help review my analysis below and provide any feedback?
Problem
In a Computer Science class of 30 people comprising of 6 females, is there statistical significance of gender discrimination if only 3 students failed and all 3 were female?
Approach
Since the sample size is relatively small, we can use Fisher'... |
In maximum likleihood, we believe that the y-variable is conditionally normally distributed. So this means that errors are also normally distributed.
In ols regression, things seem to be more algebra/geometry driven. I am trying to fit a line of best fit between some points. I have done this in high school in my vecto... |
I would to understand more on the multivariate and integral representations. I am fascinated by the possibility of a multivariate distribution like this one:
$$\mathbb{P}(X_1 \le Z + a, X_2 \le Z + a, ..., X_n \le Z + a),$$
to be transformed into:
$$\int \limits_{- \infty} ^{+ \infty} {\Phi(z+a)^n \phi(z)dz}.$$
and vic... |
I am conducting a study where I have ordinal categorical outcome variables representing frequency for two distinct periods. My goal is to consolidate the responses from these periods into a single outcome with three categories: decreased, unchanged, and increased.
Given the ordinal nature of this new three-level outcom... |
So I have somewhat of a clustering problem. What you see in the image is a set of points that need to be classified or clustered in six rows. These particular points have already been classified, that is why they are coloured.
The current algorithm is custom made and essentially picks the leftmost point and looks for t... |
While playing around with the formula for covariance, I discovered something I wasn't expecting. Replacing the $E[Y]$ in the definition of covariance with an $E[X]$ appears to simplify back down to the covariance via the alternative formula for covariance.
$$\begin{align}
E[(X-E[X])(Y-E[X])] &= E[XY -E[X]Y -E[X]X + E[X... |
Let's say I want to model children's reading scores as a function of family income, type of school (K-6 or K-8), and an interaction. Therefore my model is
\begin{align}
Y = \beta_0 + \beta_1 X_1 + \beta_2 X_2 + \beta_3 X_1 X_2 + \epsilon
\end{align}
where $X_1$ is for income and $X_2$ is a dummy for school type (baseli... |
Suppose I set up a multiple regression with one continuous variable $X_1$, one (2-level) categorical variable $X_2$, and their interaction $X_1 X_2$.
This will result in four parameter estimates ($\beta_0, \beta_1, \beta_2, \beta_3$) and two different lines with different slopes ($\beta _0$ versus $\beta_0 + \beta_2$) ... |
I am conducting a meta-analysis in the ecology discipline, such as on the effect of elevated CO2 on soil organic carbon. In my case, treatment and control groups have different sample sizes within the same study. For example, in 5 studies, combined control n is 43 and treatment n is 90. So, what will be the sample size... |
I want to investigate the coping strategies employed by households during health shock in Vietnam and India. In place of regular chi square or independent sample t test, I want to use PSM by controlling and matching the covariates. Is it possible? Because most of the literature and articles only use it to compare contr... |
I did one experiment two times with the same subject. I want to find the repeatability of my result. repeatability in a sense is the fraction of behavioural variation that is due to differences between individuals.
Formally, repeatability is r = s A 2 s 2 + s A 2 where s A 2 is the variance among individuals and s2 is ... |
Given a data frame structure similar to the following:
Population_ID Sample_ID Treatment Subject_ID Cells_in_Sample Total_in_Sample Percentage
1 1 patient1_sample1 No patient1 4 630 0.6349206
2 1 patient2_sample1 Yes patient2 ... |
I have selected to compute the Cohen's d effect size for the fixed effects of my linear mixed model. However, it's a little unclear why I'm getting the results I am. First, I am using the method presented by Westfall 2014. Here is an example of the formula:
This is based on the lmer() output. So here is an example of ... |
Say we have some model, $f(x) = \hat{Y}$, such as linear regression, that estimates an output dependent value for some set of input data.
We want to do inference on the coefficients of the model to estimate features' influence on the dependent variable.
We also want to properly evaluate the predictive accuracy of the m... |
I came up to something strange. I know Boruta should select everything that is important.
I have a dataframe of 200 observations and 2000 features. if I shuffle the order of the features in the dataframe, Boruta (Random forrest classifier) will return different important features. I understand the random_state, but if ... |
I have a dataset, $y$, that is on some arbitrary range. I would like to transform this data to be on the range [-1,1]. This is accomplished using a linear transformation, such as the one described here: scale a number between a range
However, I would also like to specify the mean of the re-scaled data, within the range... |
I am running the following code for a ZINB GLMM, using the glmmTMB package in R:
glmm_complex <- glmmTMB(
count ~ group
+ season_cut * group
+ region * group
+ (1 | bird_ID),
data = df_noDT,
family = nbinom2,
ziformula = ~.,
offset = offset,
control = glmmTMBControl(
optimizer = optim,
optArgs... |
I have mice which need to poke a device to receive food across a one hour period. The device records the number of pokes and poke_time which is the duration that the mouse remained in the poke hole. This is recorded for each individual poke. I administered two different treatments to the same mouse on different days so... |
I am studying the best linear predictor part of Conditional Expectation and the Projection part about the regression model.
while we are looking for the Beta that minimizes S(B), I quite do not understand how the first function can be written in the second one:
S(B) = E[(Y-X'B)^2] - first
S(B) = E[Y^2] -2B'E[XY]+B'E... |
This questions seeks for discussion to find theoretical support for normalizing cumulative log-returns vs normalizing log-returns
By "normalizing" (also known as standarizing) I mean it in the statistical sense, where we subtract the mean and divide by the square root of the variance of a random variable, i.e. $$ Z = \... |
I need to evaluate my generative model using FID (Fréchet inception distance). However, the dataset of real images that I have only contains 2719 examples. I've read that the authors of the metric recommend using a minimum sample size of 10,000 to calculate the FID, otherwise the true FID of the generator will be under... |
I have the working out below but is this correct. I just want the posterior distribution of when mu=0 given x.
What I have tried is setting mu=0 after rewriting the first pdf with the summation symbol. Then this allows me to bring the absolute value in the other exponential over. But I am unsure as to whether the jump... |
I need to design a survey such that the margin of error for a binary, categorical variable is bounded at a certain level. The survey needs to be a one or two-stage cluster sample where clusters are of unequal size. For the purposes of this question, let's ignore nonresponse, etc.
Clusters of equal size
When you have cl... |
I have tried reading the documentation in sjPlot but couldn't figure it out.
In a multilevel / hierarchical / mixed-effect model, ran with lme4 in R, the summary() output give an estimated variance and standard deviation for each random effect.
I wanted to plot this variance by level of one of my random intercepts (sti... |
Cities are getting hotter due to climate change. I want to communicate this intuitively through a concept of 'city climate twins': ie. which other city will my city's climate resemble several decades from now?
Available data:
(1) monthly average temperatures for a set of global cities: present-day reference period (eg.... |
Assume a simple example motivating a causal research design. Say that I collect a data set on rural counties in Texas and I wish to understand if rainfall causes a change in crop sales. Working with this observational data, I run a regression, conditioning on a necessary adjustment set (to the best of my capability) an... |
In section 4.4.5 "Logistic regression or LDA?" of Elements of Statistical Learning by Friedman, Tibshirani and Hastie, it is claimed the following:
From the mixture formulation [that is, equation 4.38], it is clear that even observations without class labels have information about the parameters. Often it is expensive... |
I conducted an exploratory factor analysis on a 5-point Likert scale utilizing polychoric correlations, identifying and retaining 4 factors. Subsequently, I computed factor scores through the Anderson-Rubin Method.
Now I want these factor scores to serve as covariates in an ordinal probit regression, with the dependen... |
I would like to forecast demand count time series of taxi fleets at different locations on the map at different points in time. I.e. multivariate demand Time series forecasting.
Given hierarchinal demand time series. where the region level time series is the sum of district level time series at each point in time and d... |
The question I have is previously posted here in detail by someone else but the main question is not answered.
what exactly is the fitted sigma? Is it always standard deviation?
If yes, why can't it be used to calculate Z-scores as in this formula:
z = (y - mu)/sigma
|
I'm analyzing # of days a particular bird species was observed in a forested area, let's say out of 100 days. I have a control plot, a masticated plot, and a burned and masticated plot. I have pre and post treatments. I conducted this at 6 sites that are mostly similar. What kind of test would you recommend I run? Data... |
I was going through this nice paper ” A Simple and General Duality Proof for
Wasserstein Distributionally Robust Optimization”, and one quick qu on applying Theorem 1 to my poject:
What if in my problem, I can show as an additional lemma, that the necessary condition for optimality is that the primal problem’s inequali... |
I have two lognormal rvs $X$ and $Y$, and a third rv $Z$ which is the product of the former two. I know the mean and standard deviation of the three.
Is it possible to calculate an alternative pair of $\mu$ and $\sigma$ the mean and standard deviation of $X$ that follows a specific coefficient of variation ($\sigma/\mu... |
I would like first to mention that I am not statistician but I work with lineal mixed model and like to know more about statistic behind them.
Here my question:
I have a mixed model where I have response variable (e.g. protein content), and I have a set of variables (from spectra decomposition) that are highly corelate... |
Consider the following multiple linear regression model
\begin{equation}
y=\beta_0 + \beta_1 x_1 + ... + \beta_k x_k +u
\end{equation}
If the variance of the error is not constant for any value of the regressors, we have heteroskedasticity and Gauss-Markov assumption of homoskedasticity is violeted, i.e., $Var(u_i|x_{i... |
i have collated a significant body data for a local badminton league (> 20000 indvidual games)
and while i have the means to extract data on a:
per player
per couple
per team
per club
per season
per division (across 4 or 5 divisions)
per gameType (mixed, mens, ladies)
the piece i am missing is a way to understand how... |
First time posting, so apologies for any missing info and the like.
I have some microbiome data collected from two different treatment groups over two timepoints. I want to look at the compositional changes that occurred between the treatments. To do this, I CLR-transformed my data and I was wondering if there are any ... |
Again, today I heard about the same thing. That is, in any lab experiment, if some subjects (ex: medical patients) have 2 observations, some have 3 observations, some have 4 observations.... apparently anova/hypothesis tests dont work .... but longitudinal regression apparently can still work.
Why? Can someone explain?... |
why the in-sample looks very different from the out-of-sample? Is the in-sample overfitting? Horizon is 12, using pycaret time series function.
|
I am studying machine learning and wanted to work on a project of my own so that I have better chances after graduating college. I'm studying the application of ML to improve searches using a toy dataset. Here's a couple of scenarios:
Document retrieval (search) system: We have a (source) document with us and we're tr... |
Background
Suppose I have data $\mathcal{D}_1, \cdots, \mathcal{D}_n$ with each $\mathcal{D}_i$ containing $m$ observations $X_{i1}, \cdots, X_{im}$; these observations are of unknown distribution, but we may safely assume that they have moments of all orders.
If $\overline{X}_{n-1}$ represents the sample mean over the... |
The dual problem for hard margin SVM is:
\begin{align*}
&\max_{\alpha} \left( \sum_{i=1}^{N} \alpha_i - \frac{1}{2} \sum_{i=1}^{N} \sum_{j=1}^{N} \alpha_i \alpha_j y^{(i)} y^{(j)} \langle x^{(i)}, x^{(j)} \rangle \right) \\
&\text{subject to } \sum_{i=1}^{N} \alpha_i y^{(i)} = 0 \text{ and } \alpha_i \geq 0 \text{ for ... |
I am currently learning about Bayesian methods. One of the first clear distinctions is the lack of hypothesis testing and usage of sampling distributions.
I began to wonder about the approach to designing experiments from the Bayesian point of view. In my experimental coursework we discuss power and sample size selecti... |
I have a measurement Y, with 2 factors(A,B).
For A, I have two levels: A1, and A2.
For B, I have 3 levels: B1,B2 and B3.
All together, I have 4 groups:
group1: A1+B1
group2: A2+B1
group3: A2+B2
group4: A2+B3
My intended comparisons are group2 vs group1 to check the effect of factor A on B1; group3 vs group2, and group4... |
Hi I use a difference in difference framework to study the policy effect. My outcome variable has a lot of zero, actually 75% are zero. My question is that how to interpret the aggregate effect based on the estimation from the regression. Is it okay if I calculate the aggregate effect by multiplying the estimation of t... |
In the original t-SNE paper, the authors explain the use of the t-distribution with one degree of freedom (i.e. Cauchy distribution) for the map points, $(1 + |y_i - y_j|^2)^{-1}$, as follows:
...[it] approaches an inverse square law for large pairwise distances in the low-dimensional map. This makes the map’s represe... |
I am trying to read a research paper (link) that involves a permutation test. My (limited) understanding of a permutation test is that you get two samples of data, compute a statistic based on both samples, then compute the same statistic based on many permutations of the gathered data and calculate the proportion that... |
I have limited knowledge in statistics, please bear with me!
I am trying to develop a model based on the following conditions:
I have a finite population P to draw from, essentially between 1 and 10 billions
I draw an element from that population
the element has a probability of being successful S
regardless of the ou... |
I am trying in Stata to analyze the effect of an exposure on the risk of an event, and to determine whether this risk increases or not after a temporal cut-off.
I have two groups of subjects, with multiple observations per subject. Every observation is in a separate row.
One group keeps being exposed after the cut off ... |
I want to calculate R-squared from LST and CO data in GEE. However, after considering the revisit time and cloud masking, I get very few data for Landsat-8 with respect to CO data. For example I have 15 LST samples for the specific months. In return, I have almost 70 samples for CO data. Since the total number of LST a... |
first time posting here so please let me know if I can improve my question.
As an exercise, I have to simulate 1000 iterations of a sample of 500 observations from a linear model:
$$ y_i = \beta_0 + \beta_1 x_i + \varepsilon_i $$
$$\varepsilon_i \sim N(0,\sigma_i^2) ,\ \ \sigma_i^2 = a + b\,x_i^2 $$
Notice the errors ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.