instruction stringlengths 9 38.7k |
|---|
Let $\mu$ be some probability measure and consider its information projection defined by $P_* = \arg\min_{P \in \mathcal{P}} KL(P || \mu)$ and $\mathcal{P}$ is some convex family of probability measure. $P_*$ satisfies the following inequality
$$
KL(P || \mu) \geq KL(P || P_*) + KL(P_* || \mu), \quad \forall P \in \mat... |
I have collected data at regularly spaced time intervals, and at each time, the observed data is commonly fit by a simple parametric functional form involving several parameters.
A naive approach to forecasting would be to treat each parameter as a univariate time series and use some forecasting method, like ARIMA, to ... |
Here and here and on the Wikipedia page it is stated that for estimating the variance of Kaplan Meier estimator $S(t)$ using delta method one can use the fact that: $$Var(log\hat{S}(t)) \approx \frac{1}{\hat{S}(t)^2}Var(\hat{S}(t))$$
My question is why $\frac{1}{\hat{S}(t)^2}$ is used instead of $\frac{1}{E(\hat{S}(t))... |
I'm very confused with the use of MCMC to estimate distributions that have a complex shape, like multiple peaks, or that aren't generated from a known distribution. In particular, when calculating the acceptance probabilities (e.g. Metropolis acceptance ratio) how would you evaluate the likelihood of your proposal, if ... |
I am training CNNs for image segmentation on a limited dataset and apply some on-the-fly data augmentation. I measure mean intersection over union (mean IoU) to evaluate the training and select models. This metric increases at the beginning but it slows down strongly and almost stagnates after a while (see TensorBoard ... |
(The title may be somewhat confusing.)
In my machine learning problem, I want to classify an individual based on the samples I have of each individual (i.e. each person has multiple samples).
Once I have made the prediction, I get the predicted class for each of the samples, but what I want is a global classification o... |
Assume $\{ x_i \}_{i=1}^n$ to be i.i.d. normally distributed with mean 0 and covariance matrix $\Sigma$.
What can we say about the convergence of the eigenvalues of the samples covariance matrix $\Sigma_n = \frac1n \sum_{i=1}^{n}x_i x_i^t$ to the eigenvalues of $\Sigma$?
I found this thread, but can we say something mo... |
I am trying to understand the practical implementation of the Gaussian process regression problem and some questions concerning a research paper.
A research paper, "Multi-View Stereo by Temporal Nonparametric Fusion" tries to solve the depth estimation of the input frames by temporally fusing the information from the p... |
I am training an ID3 (classification) and regression tree. When testing against my testing set, I come across instances where there are no branches that meet the criteria in my training set. This leads to an inability of my tree to make a prediction. Is there something I am not accounting for in my code to prevent this... |
I'm relatively new with gams, yet handling a complex dataset.
I have a set of related questions and none of the posts on the topics fully answer my questions.
Let's start with a simple question and example.
We simulate a dataset using example 2 from mgcv, which according to the help file is "A smooth function of 2 vari... |
I'm a bit confused on how to properly compare a known trend to an estimated one. I've got two sets of data which are of the following format,
$$y_{t_1}=x_{t_1}+WN$$
$$y_{t_2}=x_{t_1}+MA(2)$$
Where $WN \sim N(0,1)$, $MA(1)$ is a simulated 2nd order moving average and $x_{t_1}$ is a known trend function. Now I have gone ... |
I wonder how to perform the z proportion test to check which COG category of Shewanella_sp_Alg231_23 is significantly high p (<0.05) from other genomes. To undersatnd I have attached a bar braph.
COG<-c("C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V")
Shewanella_sp_OPT2<-c(171,33,2... |
I am estimating a proportion p and believe it to be 0.8. I want to show that it is almost certainly greater than 0.7. I have done a power calculation by simulation, and I have figured out that I need n samples to be 80% sure that the lower confidence limit for p will be greater than 0.7 (given p is really 0.8)
I am usi... |
I'm struggling when trying to understand some aspects of multiple imputation when intending to do Cox regressions with my data.
First of all, my dataset is not adapted for survival analysis yet. I know what my time_to_event variable will be, and I know what my event indicator variable will be, but they are not coded ye... |
I am new to Bayes' theorem and like many others, am having a hard time wrapping my head around it. Here's a question that I am trying to answer:
Question:
Imagine there's a bot detection tool that identifies a rare automated attack:
Only 1 in 100,000 website visits involve the type of attack this tool detects
The tool... |
I'm currently writing my master thesis about the topic
"How do firms respond to rising cost of carbon - an analysis from the EU Emissions Trading System (EU ETS)?"
In general, research on the EU ETS is always about whether the introduction of this policy instrument has led to a reduction in emissions. For my case, I sp... |
I assume that lifelines.CoxPHFitter is using a Likelihood-ratio test (or is it using Wald?) to calculate p-values when testing for significance. But I have to be sure: is there an official source where I can find what test are used? (I was not successful searching threw the documentation of lifelines)
Is lifelines.CoxP... |
I have a question about the root mean square error and Wasserstein distance on the paper https://arxiv.org/abs/2111.08736?context=stat. Consider two discrete probability distributions $P=\{P_i\}_{i=1}^n$ and $Q=\{Q_i\}_{i=1}^n$ so that $p_i\ge 0$ for all $i$, $q_j\ge 0$ for all $j$, and $\sum_i p_i=\sum_j q_j=1$.
In t... |
I am trying to understand how much power we lose by selecting a categorical exposure versus a continuous exposure in a generalised linear model (GLM).
I didn't have problems calculating power using the effect size from the original dataset. We did that using SIMR package.
For model 1 (continuous exposure)
model1b ... |
So basically I understand that in stata, one should utilise XTSET to declare panel data and then xtreg for the regression so for instance:
(xtreg dependentvariable independentvariable1 independentvariable2 independentvariable3,
fe)
The fe at the end is fixed effects but am slightly confused about exactly which variab... |
Given a binomial distribution of, say, unfair coin flips:
1 1 0 1 0 0 1 1 0
I'm trying to determine: given an x% probability of flipping heads, what are the odds of producing this result?
What formula can I use? So the input would be the number of heads, total flips, and heads probability. And the output would be the ... |
Across a many types of networks (simple feedforward, ResNets, RNNs, transformers, etc.) the model's output or prediction is produced by performing a single forward pass per input. Are there examples of network architectures that permit multiple forward passes per input?
|
I'm a political sciences undergraduate student working on a study of the activity of the Upper Chambers in the UK and other former British colonies. I came across a 2008 study by Russell and Sciara called 'The policy impact of defeats in the House of Lords' (https://journals.sagepub.com/doi/abs/10.1111/j.1467-856x.2008... |
GAME_DATE TEAM_ABBREVIATION MIN
0 2019-10-22 LAC 9.633333
1 2019-10-22 LAC 26.433333
2 2019-10-22 LAC 31.350000
3 2019-10-22 LAC 38.350000
4 2019-10-22 LAC 31.550000
5 2019-10-22 LAC 19.266667
6 2... |
P(bright light outside window, saucer-shaped object in sky) = very low
This equation means: “The probability of observing bright lights outside the window and a saucer-shaped object in the sky is very low.”
However, is it reasonable that
P(P(bright light outside window, saucer-shaped object in sky)) = sometimes
represe... |
I wonder how to draw survival curves (Kaplan-Meier) when there is no missing information on the survival variables but on the stratification covariate.
For example, we know for all patients the follow-up and the status at the end of the follow-up but there is missing data on the sex variable. And we need to plot the su... |
Typically, in a regression equation, the dependent variable is unbounded i.e. follows normal distribution. But sometimes it may happen that dependent variable is bounded i.e. dependent variable is ratio of something bounded by $[0, 1]$ with both values included.
There are some regression model available to handle such ... |
I am trying to use regularization methods for a classification problem, but without neural networks. I searched online and I found that the most famous algorithms are Ridge, Lasso, Elastic net but these are for regressions, and other methods for neural network. Are they any algorithms for my problem using a random fore... |
disclaimer: this is part of an assignment.
I am trying to compare the accuracy of different non-analytic minimisation methods for maximum likelihood estimation.
As a simple example, where we have an analytical solution, let's say that we want to test minimisation using the univariate Gaussian likelihood.
Generate a sa... |
I am working with cluster models. I tried to find an accuracy rate/misclassification rate manually. I found an example that confuses me.
The example can be accessed from here. I think the author find the accuracy rate wrongly. I think it should sum the diagonal values of the matrix (the result of the table function), t... |
I have a set A. For example, the set of high school graduates.
I have a subset $B \subset A$. For example, the enrollees in STEM college majors.
I have a dummy variable $G$. For example, gender.
I want to test whether females enroll in STEM majors at a lower rate than what they are represented in high school graduate c... |
In systems epidemiology such as in metabolomics, sometimes we are interested in identifying putative biomarkers of intake e.g., intake of a food item. So we analyse the metabolome to investigate signatures/pertubations of intake. Expectedly, most metabolome datasets are n<<p. Partial least squares regression (PLS) and ... |
I have just started to learn order statistics so please feel free to correct my notation/terminology.
In my field is common to provide data as the median of some sample (for example several simulations of an experiment) and the uncertainties in therms of $16th$ and $84th$ percentiles. The problem that I am facing is th... |
I want to perform MCMC or HMC for solving minimization problem of a function $f(x)$, then define the corresponding density $$g(x) = \exp\left(-f(x)\right)$$
Because the function of the future apply is only valid in a finite domain, I perform a variable transform by
$$y = \log(x - lb) - \log(ub - x)$$,
where $lb$ and $u... |
In the article Johns, S. "On identifying the population of origin of each observation in a mixture of observations from two normal populations." Technometrics 12.3 (1970): 553-563, the matrix $S$ is defined by the "corrected sum of squares and products of N observations".
Unfortunately I don't understand what is meant ... |
I need help with the following question (sorry for not formatting, I do not know how):
$X$ and $Y$ are random variables, each have standard deviation of 3. The Pearson correlation equals to 0.6 (in this case the correlation is of the probability meaning $(\operatorname{cov}(x,y)/\sqrt{\operatorname{var}(X) \operatornam... |
I want to measure the dependency of voltage against temperature and humidity: V ~ rH + T.
The humidity will be at rH = {10 %, 40 %, 70 %} and the temperature at T = {5 °C, 10 °C, 15 °C, 20 °C, 25 °C, 30 °C, 35 °C, 40 °C}.
I've seen the pwr.f2.test in R:
pwr.f2.test(
u = 2
, v = NULL
... |
I have dataframe as follow:
y <- c(35.3, 37.2, 33.1, 35.7, 35.7)
x1 <- c(141.0, 142.5, 139.5, 141.7, 138.4)
x2 <- c(61.2, 55.8, 66.4, 58.7, 70.1)
x3 <- c(67.1, 69.7, 64.5, 65.6, 72.5)
x4 <- c(14.5, 15.1, 13.9, 14.2, 15.7)
df <- cbind(y, x1, x2, x3, x4)
In here, 'y' calculated by x1 ~ x4, but the model is black-box.
-... |
Suppose that the target variable consists of n distinct classes. Suppose also that the goal is to maximize the accuracy (F-score) of the specific class, say i.
What will be the effect of grouping some of the remaining target classes on prediction accuracy? The variables can be grouped because of either the insufficient... |
I have constructed a gamma glm modelling hormone concentration with three predictors: treatment (treatment or control), sex (male or female) and site (thyroid, parathyroid). The work is mostly exploratory, and I had no a priori hypotheses regarding the effects of sex or site, but I have seen previously that the experim... |
I have a dataset with response variable y (e.g Starch content) and independent variable x (e.g. Size of Load) and used smoothing cubic splines to fit the data. The data is binned by a categorical variable (e.g. Method). So the number of spline lines will correspond to the number of countries being compared.
The scenari... |
I've been normalizing a dataset and after tokenizing my words I've noticed that some records contain combinations of words where the spaces between them are missing.
ie. The quickbrown fox jumped over thelazydog.
I was thinking about trying to work with a spell checker where if I find that the word is misspelled then ... |
I'm a non-mathematician trying to get a better intiution into how we can go about saying if one distribution is closer, or further away from another.
For example, if we have a set of patients who each have 20 blood test results and a multiclass label of diagnoses (A, B, C and D). How would one meaningfully say one clas... |
Hello I am trying to undestand the message propagation algorithm of GraphSAGE(https://arxiv.org/pdf/1706.02216.pdf)
In step 7 there is a division with l2 norm (if I understand the notation correctly ). I think it is some kind of normalization step but is there some intuition behind dividing a vector with its l2-norm ?
... |
everyone. I have a question which involves statistics and the R programming language, thus I believe that this question pertains to this forum, but if any of you know someplace else where I could go to for answers, I'd thank you.
So, I'm helping a friend who's doing her doctorate thesis. Her objective is to evaluate th... |
When specifying it's formula GAM has s function for smoothing.
Let's say I want to fit mtcars.
I can do the following:
Approach 1:
mgcv::gam(mpg ~ cyl + disp + hp + drat + wt +
qsec + vs + am + gear + carb, data = mtcars)
Approach 2:
mgcv::gam(mpg ~ s(disp) + s(cyl, k = 2) +
s(hp) + drat + wt + qsec + vs +... |
I am analysing the observed distribution of certain amino acid sequence motifs across the superkingdoms against that predicted based on theory using chi-square goodness-of-fit test. In order to find out which motifs contribute the most to chi-square, I plot residuals versus their relative abundance and get a plot as sh... |
I am currently building a xgboost model to classify data into 6 categories of risk for insurance policies. I have 5 years worth of policy holder data, including policy year. When building a GLM for a similar model I have controlled for policy year and removed the variable's effect. My current ideas for controlling this... |
I wanted to do a Monte Carlo simulation for some of the electoral districts in my state in the upcoming US midterms. My methodology essentially was as follows:
I have a list of populations and vote percentages per district averaged over the last few elections
To simulate one district, I generated one random number per... |
I am looking to model potential scenarios of wind generation for next year (specifically August). I have read through the literature and decided on using an ARIMA model. I have 10 different data sets for August from 2013-2021 or so.
So my question is, I use my historical data to create a projection, but I would like to... |
I am currently working on a case study where I have to estimate how much a person makes by giving their property for rent. They provided me with a constraint which is as follows:
"avoid estimating prices that are more than 25 dollars off of the
actual price"
At first, I tried modeling without considering the constrai... |
I understood bootstrapping in the statistical context.
Example: we have a sample of 1000 people. We want to know their mean. We pick 5 people at random (with replacement) for 20 times and we compute the mean of the 5 people for each extraction. We end up with 20 means and we can have an estimate of the real mean and of... |
I'm working with a Python implementation of the Multivariate T distribution, and I've noticed when I evaluate the PDF at certain points, the likelihood returned is > 1. This is causing issues in other parts of my project.
The implementation looks right to me, I've read through it multiple times and compared to the PDF ... |
I have a time-series analysis problem, that I am having trouble finding a suitable regression technique for.
I have a coupled linear three dimensional system
\begin{align*}
X_{t} & =\left(1+J\right)X_{t-1}+GU_{t},
\end{align*}
where
\begin{align*}
J & =\left(\begin{array}{ccc}
J_{11} & J_{12} & 0\\
J_{21} & J_{22} & 0\... |
I am currently using (general) linear mixed models as a mean to avoid pseudoreplication and control for measures made on various individuals in the same location (transect). I'm now starting to think using mixed models is not necessary and would really appreciate some guidance by more knowledgeable folks.
For clarity: ... |
How can I calculate the optimal formula for predicting an outcome based on a lab value?
e.g. a rise in liver function tests can be predictive of liver disease.
Having liver disease (or not) is the outcome I want to predict, based upon the change in the value of liver function tests during the last year.
Is there I way ... |
Setup:
The relationship between the beta and binomial distributions is well known.
$$\frac{\pi^{\alpha - 1} (1 - \pi)^{\beta - 1}}{B(\alpha, \beta)} \leftrightarrow {{n}\choose{x}}\pi^{x} (1 - \pi)^{n-x}$$
By comparing the two, one can see:
$\alpha - 1$ is analogous to the number of successes, $x$
$\beta - 1$ is analo... |
I am trying to solve the following at work and will dummify for the sake of making it easier to explain myself and getting an answer. My main query is about Step 4 below. But if something is wrong or missing in any other steps, please do correct me.
My system $\Phi$ has $N$ random variables which are actually real-worl... |
Motivation a special case
A special case of this question is an inequality between the Spearman's rank correlation and the Pearson correlation (Why is the sum of individual Spearman's rho squared less than 1 as opposed to Pearson's r in a synthetic example? ). The expectation of the squared sample Spearman's rank corre... |
I’m working with a toy data set to get a basic understanding of longitudinal data analysis and I’m having a difficult time with a conceptual understanding of the intraclass correlation (ICC) as a proportion of variance. As I understand it, one way to interpret the ICC in a random-intercept model is it’s the proportion ... |
In a VAE, my understanding is that the encoder takes in $x$, outputs a vector $(\mu, \sigma)$ that characterizes a certain normal distribution $q(z|x)$. Then we sample from this distribution to get a latent vector $z$, which goes into the "probabilistic" decoder to produce a generated output $\hat{x}$, which is how now... |
The way I learned about Central Limit Theorem in school is illustrated in the following example:
Suppose you have a population of 100,000 basketball players. You are interested in knowing the average height of all these basketball players - but you only have the time and money to measure 5,000 of these players. If you... |
I am doing fixed effect regression after conducting hausmann test on panel data.
I received significant results in line with what's expected for my model. My data set has around 6000 observations and is not normally distributed. If do log transform, I get normal distribution for some variables only. For both the transf... |
When I am reading the Wikipedia page on the chi-squared distribution, it states that if $X_1, \ldots, X_n$ are $\text{N}(\mu, \sigma^2)$, then $\sum^n_{i=1} (X_i - \bar{X})^2 \sim \sigma^2 \chi^2_{n-1}$ where $\bar{X} = \frac{1}{n} \sum^n_{i=1} X_i$ is the sample mean.
I am wondering if a similar result holds when we d... |
I have spent some time looking for a package in R to estimate the required sample size for a difference-in-difference design with continuous outcome. However, I could not find any package. Is there a package available that I have overlooked? Or is there a procedure in Stata 15? Thanks a lot for your guidance on this ma... |
I've seen a number of questions like this asking whether certain parameters can be treated as a hyperparameter. Why can't we just treat everything as a hyperparameter? I understand that this is an extreme stance, but the way I see it, hyperparameters (along with the parameters) ultimately determines the set of all poss... |
A recent NYTimes article states that
The minuscule chances of the two highest-ranking F.B.I. officials — who made some of the most politically consequential law enforcement decisions in a generation — being randomly subjected to a detailed scrub of their tax returns a few years after leaving their posts presents extra... |
Say I wanted a representative sample to estimate the portion of a population that is compliant on "doing their taxes correctly". Normally, I'd do a random sample of that population to make inferences within a certain confidence level and margin of error (e.g. the proportion of those who did not do their taxes right).
B... |
In a textbook Causal Inference in Statistics - A Primer (p. 81), it says
Given the regression equation $$y=r_{0}+r_{1} x_{1}+r_{2}x_{2}+\cdots+r_{n} x_{n}+\epsilon$$
if $r_{i}=0$, then $Y$ is independent of $X_i$ conditional on all the
other regression variables.
I get that if $r_{i}=0$, a correlation between $Y$ and... |
The NYT reports:
The former F.B.I. director and his deputy, both of whom former
President Donald J. Trump wanted prosecuted, were selected for a rare
audit program that the tax agency says is random.
The odds of being selected for that audit in any given year are tiny —
out of nearly 153 million individual returns fil... |
Given two independent random variables $X\sim N(0, \sigma^2), Y\sim N(0, \sigma^2)$, what is the distribution of a variable $Q = (X-Y)^2/4$ ? What would be the expected value and variance of $Q$?
|
The accelerated failure time model (AFT) can be expressed as:
$S_{1}(t) = S_{0}(\frac{t}{\gamma})$ where $S_{0}$ is a specified baseline survival distribution and $\frac{1}{\gamma}$ is the accelerant/decelerant.
The probability of survival in group 1 ($S_{1}$) at time t is the same as the probability of survival in the... |
A company is planning to setup the option for self checkout (SCO) in all of its stores.
As a trial, they are looking to estimate the benefits of SCO in terms of increase in transaction volume by installing in only 1 or 2 stores first and collecting data for a period of n months (n <5 ) from it.
The claim is that it wo... |
The skewness formula that shows up when I Google it is:
I know what each of these values are individually, but I’m having a hard time seeing intuitively why this specific formula give a value for skewness, especially why parts of it are being cubed.
I also am curious how this formula was derived, and if it has any pra... |
I am not at all good with statistics which also doesn't help me looking for a proper answer.
I am trying to calculate an agreement value in a vote between multiple people. And people can vote in numbers (1, 2, 3, 5, etc).
What would be a nice way to have like a percentage of agreement in each voting round?
lets say i h... |
I have some samples taken from a normal distribution of unknown $\mu$ and $\sigma$, and I know someone took away the top and bottom $p$ percent of the original samples ($p$ is known).
Is there a formula or a simple algorithm to estimate the parameters $\hat\mu$ and $\hat\sigma$ of the original, untruncated normal distr... |
I have been reading the Meinshausen paper on Stability Selection that can be found here: https://stat.ethz.ch/~nicolai/stability.pdf
From what I understand, the method is to carry out monte carlo simulations and for each data subset generated by the fold, fit a lasso model with different alphas (penalisation parameters... |
I have some count data on woodland species which appears to be fairly normally distributed (See histogram below). I am fitting it as the response variable in a glm with multiple explanatory variables. As the distribution appears normal, in this instance is it better to use a Gaussian family for the glm despite it being... |
I have questions about linearHypothesis() function in the car package. I would like to see the post hoc comparisons of the interaction A:B, e.g. is A significant when B is "1"? I read the manuscript but really couldn't understand it. Can anyone help me, please?
Here is the model:
Here is only a small proportion of data... |
I want to use MARS algorithm. But my dataset consists of 48 data. In Friedman(1991) article, I saw the lower limit as 50. Do you think there is any harm in my application? Do you know of studies with less data? Secondly, something came to my mind. Do I need to standardize the data between 0-1 for the MARS algorithm?
Th... |
I have a dataset with N ≈12800 with two types of variables: independent continuous (distances in m) and a dependent binary variable (yes and no), associated with each distance. I have to test the correlation between the two variables. The test that seemed appropriate for that was Point Biserial correlation. However, th... |
Here is my design:
Participant must judge their ability to perform an action at several distances (condition). The result is binary (yes/no).
The participants perform this test on 3 different blocks in a row. That is, the participants performs the tests in an environment, then in a different environment and finally a f... |
So as far as I understand from watching 3Blue1Brown's video on neural networks, all neurons operate on numbers ranging from 0 to 1. Since a weighted sum goes larger than that, a sigmoid function is used to squish it back into that interval. How does a ReLU work then if it doesn't force numbers into that interval? Or is... |
I recently computed pairwise correlations with a data set that consists of 1200 participants which all completed 5 questionnaires. So i computed 10 correlations ( each questionnaire with all other questionnaires).
Do I have to adjust the p values of my correlations for multiple tests?
|
Suppose I have variables $(X_1, \ldots, X_n)$ and $(Y_1,\ldots,Y_n)$ such that $X_i$ is independent of $X_j$, and that $Y_i$ is independent of $Y_j$ for $i\neq j$. However, it may not be that $X_i$ is independent of $Y_i$. Also, $X_i$ is strictly smaller than $Y_i$. For example, $Y_i$ can be a time variable in seconds,... |
I've seen a lot of applications of survival analysis in predicting death under certain medical conditions. Obviously, death is guaranteed eventually. For problems where the event of interest is not guaranteed (if cancer is recurring or not), is survival analysis still applicable? i.e. does it implicitly perform classif... |
A large class of machine learning problems are posed as regression/inference problems trying solve for the mapping $f: X \rightarrow Y$, with $y \in Y \subset \mathbb{R}^n$ and $x \in X \subset \mathbb{R}^m$, from finite subsets : $\hat{X}=\{x_1,x_2,...,x_T\} \subset X$ and $ \hat{Y}=\{y_1,y_2,...,y_T\} \subset Y$
W... |
I'm using the oaxaca package to implement a Blinder-Oaxaca decomposition on a logistic model with binary outcome.
The vignette says that:
Note that, if a non-linear function such as glm() is chosen, the
decomposition will be based on the linear systematic component – usually associated with
the estimation of the corre... |
I would like to fit a piecewise exponential model using survival data. However, many of the event times are interval-censored with overlapping intervals (see the example below, where each row is an interval). It seems inevitable that some events will span multiple time periods. For example, if I select the time periods... |
I have measured a continuous outcome at 4 timepoints (t1, t2, t3, t4), spaced evenly apart. The measurements at each time point are on different groups (i.e. the responses at t1 come from all different subjects than at t2, t3, t4). The scientific question is whether the mean of the outcome plateaus or decreases at some... |
I want to conduct an A/B test in order to measure the impact of an offline voucher promotion to our company's collection rate.
We are trying to incentivise customers to not miss an instalment by offering this voucher to every customer who won't miss a payment for a specific period of time.
Question 1: We are planning t... |
I've fitted a Zero-inflated negative Binomial (with an offset) to a count variable where there is overdispersion and a large frequency of 0's.
I've done this with the pscl package (similar to countreg I believe) and I have been trying to find the references of the package in order to write this model's equation. Also, ... |
I am trying to understand what statistical test is best in circumstances where you have both a before/after (so paired data) and a control group
There are t-tests available for one of each scenario (two independent samples t-test and paired t test) but I cannot find any information on what to do when you have a mix of ... |
I have a dataset of roughly 1000 measurements of body size in an invertebrate species collected from 15 different sites, with substantially variying sample size per site. Now I want to test how the concentration of three amino acids in the substrate collected at each site affects body size, so the concentration of each... |
I am facing the following situation. I asked my class of 19 students to rate their interest about a certain topic on a 1-5 (discrete) scale. I then spent some time teaching them about this topic for a few hours after which I asked them to answer the same question. I now have two sets of 19 values and also know the pair... |
I am struggling with the following problem and I hope I can get some hints.
I would like to model the result of sampling balls from 2 urns, each one with a somehow infinite number of black and white balls present at a known rate. Let $p_a, p_b$ determine the fraction of black balls in urn $A, B$ respectively. $p_a$ and... |
I have a probabilistic Machine Learning model that models the data distribution using a multivariate T distribution. This distribution can have density > 1, and so when I compute log likelihood of the data, I sometimes get positive values (meaning likelihood was > 1).
What do researchers typically do in this scenario? ... |
my friends at Stackexchange,
I have been contemplating and searching the literature for the best options to probe the interaction effect between treatment integrity (or fidelity) and treatment effect in RCTs. Let's focus on the simplest "gold standard" RCT = pretest-posttest control group design first. (fidelity = the ... |
I have grown interested in double Machine Learning (ML) for causal inference because it answers an intuitive question: if the relationship between a variable $X$ (the treatment) and a variable $Y$ (the outcome) is confounded by a third variable $Z$ (the confounder), can't we extract some unconfounded signal to get an u... |
Handling confounders in continuous variables
In Statistical Rethinking, the author shows that in different situations, a confounder (fork, pipe, collider, descendent) will induce spurious correlations. For the collider, he shows that if Z is Bernoulli variable dependent on both X and Y, X and Y could appear uncorrelate... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.