instruction stringlengths 9 38.7k |
|---|
I am trying to derive the expression for the $E(y_i \epsilon_i)$ in simple linear regression. I substitute using $Cov(X,Y) = E(XY) - E(X)E(Y)$, so $E(y_i \epsilon_i) = Cov(y_i , \epsilon_i)- (E(y_i)E(\epsilon_i))$ and $E(\epsilon_i)=0$, so $E(y_i \epsilon_i) = Cov(y_i , \epsilon_i)$, but I don't know how to deal w... |
In Ali Rahimi's and Ben Recht's paper "Random Features for Large-Scale Kernel Machines," there is a line near the bottom of the introduction which I can not reason about...
In addition to giving us access to extremely fast learning
algorithms, these randomized feature maps also provide a way to
quickly evaluate the ma... |
I've got a scenario question of:
An economist interviews 75 students in a class of 100 to estimate the
proportion of students who expect to obtain a ‘‘C’’ or better in the
course. Is this a binomial experiment?
The question is asking:
Is the probability of success the same from trial to trial?
The answer is:
No. I... |
I'm reading this paper estimating excess deaths induced by the pandemic. That is, roughly, it constructs a model to estimate how many deaths (from all causes) would have occurred if the pandemic had not occurred, using historical mortality data. Then it extrapolates this forward into 2021, and compares that prediction ... |
Suppose I take two antigen tests and each test has a specificity of 75.3% (95% confidence interval from 65.8% to 83.4%) e.g. from https://pubmed.ncbi.nlm.nih.gov/33455451/
A. what is the sensitivity of the two tests together?
Taking the equation off of https://radiopaedia.org/articles/sensitivity-and-specificity-of-mul... |
I have an odds ratio of 1.02 for x variable (Age, a continuous variable measured in units "1 year"). My response variable is Y. I would interpret this as for every increase in Age by 1 year the odds of Y happening increase by 2%.
My question is can I say for every 10 year increase in Age, the odds of Y happening increa... |
Suppose I optimize the parameters of k models on a training set (via cross-validation), and then test all of them on a separate test set. Is there some sort of correction for multiple testing that should be done here, when reporting the best result?
|
If I have a response variable and independent variable that are both percentages, should I use a log-log linear model?
|
I am interested in estimating the expected value of a function, $f(x)$ with respect to a probability density function, $P(x)$.
I am exploring a method that requires I change variables from the underlying distribution $P(x)$ to a uniform distribution $u\sim U[0, 1]$. The idea is to map $P(x)$ into the input of $f(x)$ as... |
I am trying to find out the effects of the condition (3 levels) on a dependent variable (intention to use a certain mode of transportation; assumed to be continuous, 1-7 scale), whilst controlling for the influence of demographic variables (education, income, mode_use; all categorical, 8 levels) as random effects.
Basi... |
I have split my data into training and test data, built several prediction models and now I want to evaluate the models using the test data set.The data is very unbalanced so I balanced the training data using smote for the model building.
I wanted to calculate the area under the receiver operator curve to evaluate the... |
I was playing around with a simple linear models when I noticed that, in the ANOVA table, the ratio MSreg/MSres does not exactly correspond to the F-value. Indeed, the two values are very similar but not the same.
Here my script
#quick view of the dataset
> head(my_data)
Diameter Height
1 0.325 0.080
2 0.320 ... |
I have two vastly unequal groups (n1=18 and n2=400), and want to test mean differences between the groups for some 700 parameters (more specifically, RNA expression levels for 700 genes).
While I understand that Welch's t works well for non-normally distributed samples if both groups are large enough, this is not the c... |
I have a question for setting null hypothesis in binomial test.
More specifically, is there any way to assume chance level when it is unknown?
For example, let's say that I have a slightly bent coin. So chance for getting Heads or tails is not equal. Instead, it's more likely that it will give us tail.
To find out the ... |
I have a neural network $F(X)$ which outputs $Y$. The output $Y$ goes to another separate neural network $G(X)$ and is used as a label training example. I minimize $min{(G(X)-F(X))^2}$. The output of both networks is unconstrained and real valued. Additionally, $G(X)$ is not updated at the same moment as $F(X)$, but is... |
I am doing a statistical test (analysis) for the following case:
As part of a product aimed at improving the quality and speed of code writing for developers,
we have implemented a new feature that should make code review faster.
Checking the time for code reviews in these groups :
Before the implementation date of ... |
I have used stratified random sampling on population to generate the sample.
Now the issue is if after the survey is conducted some of the members in the sample didn't respond the survey and I would like to choose other memebers from the population (members to be selected from the same strata of people who didn't respo... |
I fit a model to my data with the following formula after a stepwise selection (x1 to x5 stand for my variables):
lm(formula = outcome ~ x1+ x3 + x4 + x2+ x5+
poly(x4, 2) + poly(x2, 2) + poly(x5, 2) +
poly(x1, 2) + x1:x2 + x1:x4+ x1:x3 + x4:x2 +
x4:x5 + x3:x4+ x3:x2 + x2:x5 +
x3:x5, data = data)
VIF shows strong multic... |
So I am doing Weibull regression in R with the exponential relative risk function. The proportional hazards model formulation assumes that the hazard rate is given by $$\alpha(t;a,\sigma, \boldsymbol x_i) = \alpha_0(t;a,\sigma) exp(\boldsymbol \beta^T \boldsymbol x_i) = \frac{a}{\sigma}\bigg(\frac{t}{\sigma}\bigg)^{a-1... |
so I conducted an experiment in which I am trying to model the relationship between my response yield [dt/ha] and the predictors soil moisture [%] + weed coverage [%]+ treatment + distance + date and site/plot as random effects. Weed_coverage and soil_moisture are continuous, treatment,distance and date are categorical... |
I have a model that outputs 0 or 1 for interest/not-interest in a job. I'm doing an A/B/C test comparing two models (treatment groups) and none (control group).
ANOVA for hypothesis testing and t-test with Bonferroni correction for posthoc testing is my plan. But both tests assume normality.
Can we have normality for 0... |
I have some broker prices incoming in real-time for several products. Sometimes a broker makes a typo and sends a wrong price, or my parsing engine assigns the price to the wrong product - these are the two ways an outlier can occur.
I wish to remove the outliers, in real-time as they come in. I cannot just look at eac... |
Let us consider $X\sim\mathcal{N}(\mu,\Sigma)$ being a $d$-dimensional multivariate Gaussian random variable. I know that it is possible to calculate the distribution of $X|S=s$, where $S$ is the sum over all components of X, and I found it is still a Gaussian. But I thought of a variation of this and I could not think... |
For my research, I am investigating the occurrence of tail biting in pigs. I would like to calculate both the overall standard deviation of all pigs, and the within-pen standard deviation. I am not sure how the latter should be calculated. Should I first determine the SD of each pen, and then take the average of those,... |
What can I do when the p-value of my regression is not significant? I tried to transform it with log or sqrt, it improved a little, but not enough to go below the 5%.
The residuals follow a Normal distribution and there is no strong correlation between the variables.
Does it mean the linear regression just doesn't fit... |
I have random variables $a$ and $b$, which are such that $\mathbb{E}[a|b]=0$. I am trying to compute $E[ab]$. Is the following correct? $$\mathbb{E}[ab]=\mathbb{E}[\mathbb{E}[ab|b]]=\mathbb{E}[b\mathbb{E}[a|b]]=\mathbb{E}[b(0)]=0$$
Where I have used the law of iterated expectations. Thank you.
|
I am currently working out of Time Series Analysis and its Applications (R. H. Shumway & D. S. Stoffer 2ed) and am stuck of something that is said.
The books says that if we have some periodic process:
$$x_t=Acos(2\pi wt + \phi)$$
where $A$ and $\phi$ vary randomly, we can write this as:
$$x_t=U_1cos(2\pi wt) + U_2sin(... |
I am computing the weighted median for a dataset using the R reldist package.
The input data are integers but my result is an integer number too.
Should't my result be a decimal number?
|
I'm wondering about the Wald test when applied to regression coefficients in the Cox PH model.
In linear regression, you have to estimate $\sigma^2$ separately from the mean, which means the standard error for the coefficients is based on an estimate, leading to using t-scores to test the coefficients rather than Z-sco... |
Here is what look like my data
Groupe <- c(rep("A", 7), rep("B", 7))
DiabeteBeforeTreatment<-c(
"no", "yes", "yes", "yes", "no", NA, NA,
NA, "no", "yes", "yes", "yes", "no",
"yes")
DiabeteAfterTreatment <- c(
"no", "no", "no", NA, NA, "yes", "no", NA,
"yes", "yes", "yes", NA, ... |
I have a dataset with 19 variables and 100k observations. All of my variables are categorical, some of them ordinal but I have not taken that into account here. To reduce its dimension, I performed a (actually two) multiple correspondence analysis but ended up having more dimensions that my initial variables and my new... |
I have seven different GLM models. Let's say:
model1 <- glm (a ~ x + y + z, data=somedata,
family=binomial())
model2 <- glm (b ~ x + y + z, data=somedata,
family=binomial())
model3 <- glm (c ~ x + y + z, data=somedata,
family=binomial())
...r
model7 <- glm (g ~ x + y + z,... |
I want to see if my models work better on the original data or on log10 transformed data. But how can I do this? Normally I train the model, calculate the RMSE/MSE on the test data and compare these values. But how can I compare this to log10 transformed data? Is it enough to backtransform the RMSE/MSE values by calcul... |
I have some survey data which tracks the employment status of individuals over time. I am doing an analysis on the effects of different independant variables on occupation, and one thing I wish to capture is how important factors operating at different scales are (see below for description of data). I originally tried ... |
$\newcommand{\doop}{\operatorname{do}}$
The proofs of the front-door adjustment that I've read take three steps:
Show $P(M|\doop(X))$ is identifiable
Show $P(Y|\doop(M))$ is identifiable
Multiply the do-free expressions for $P(M|\doop(X))$ and $P(y|\doop(M))$ to obtain $P(Y|\doop(X))$
where $Y,X,M$ meet the assumptio... |
I am using a function based on the r package stargazer to transform outcomes from a poisson analysis to odds ratio. I want to make sure that the output is correct, because I don't fully trust the function I used.
Here are the summary data from the regression models:
summary(TNC_count)
Deviance Residuals:
Min 1... |
Given a data sample $\{x_i\}_1^n$, instead of hard omitting outliers by e.g. trimming, one can form a weighted average where we soft penalize observations out in the tails.
\begin{align}
\mu = \frac{\sum_{i=1}^n w_ix_i}{\sum_{i=1}^n w_i}
\end{align}
Now the question is the choice of $w_i$.
One method is the distance-... |
I'm doing my final project for my bachelor's on Time Series, I'm using a dataset for precipitation for São Paulo City here in Brazil.
My goal is to divide the dataset into training and testing and then compare the results against each other. I'm looking to use SARIMA as I believe it fits de data and context.
Data looke... |
quick question regarding principal component analysis (PCA) and multiple correspondence analysis (MCA).
I am trying to extract scores to create index variables from ordinal data. I first used PCA, but then have since used MCA. The results are nearly identical, except the scores for one factor/index variable is negative... |
I am trying to explain the variance in "wages" across different groups of the population. In my model, "wages" is a dependent variable. The key independent var is "groups" (Non-immigrant is the reference group). Then I add several controls such as age, education, occupation, etc. However, I have an issue with the occup... |
Suppose $\{a_n\}_{n \in N} $ be a bounded sequence positive numberse bounded by $b$ and $Z_j,j=1,2,3,...$ be a sequnce of complex random variables such that $E(|z_j|)<\frac{1}{\sqrt{(j+1)m}}$ for some paramter $m \in N $.What can we conclude about the expectation of $$\Bigg| \sum_{j=1}^{\infty}a_jZ_j \Bigg|$$ as $m$... |
So, I have a dataset where I need to test the relationship between 2 independent qualitative variables and one dependent quantitative variable.
I wanted to use 2-way ANOVA but my independent variable doesn't follow a normal distribution nor does homoscedasticity.
Any suggestions? I'm not a statistician, just doing some... |
So the actual original question I am trying to solve is a little bit different than the title:
In a binomial setting with probability of success $p$, I keep examining observations until a fraction of success $a<f<b$ is reached. What is the probability of stopping after exactly $N$ observations. This is equivalent of as... |
This is the dummy example that I made up. If I want to know whether
the boxer uses different proportions of punch based on opponents, what kind of test should I use. In other words, how can I tell that by different opponents the boxer plays differently?
|
Given two random variables $X$ and $Y$, it is natural to use the conditional entropy $H[Y|X]$ to quantify the extent to which knowing $X$ decreases the uncertainty about $Y$. However, consider the case where I am not interested in whether $X$ decreases the uncertainty about $Y$: I only want to quantify whether knowing ... |
I have a dataset that tracks the time at which people go to sleep and when they wake up. This data is recorded daily for an entire year. So for each study participant, I have information for when they went to sleep on a given day, and when they woke up.
I am trying to find outliers in these data based on sleep schedule... |
I want to do a multi class classification with 6 classes. Whole dataset has 12750 and 56 features samples, so every class has 2125 samples. Before prediction I reduces amount of outliers by winsorization (for 1 and 99 percentile) and I reduced skewness in features which has more than 1 and less than -1 skewness by Yeo-... |
For purposes of sampling I have the variance v and mean m of a log-normal distribution, I don't want to directly sample from the log-normal distribution so my question is how can I convert this into a normal distribution and do sampling with this latter instead ?
|
For example, there is a school teacher's answering score corresponding to multiple students' answering scores (which like 1 for unlikely, and 5 for very likely). For analyzing the correlation of this kind of data, what statistics method could I use?
|
I am currently looking at this paper:
https://www.nature.com/articles/s41591-021-01487-3
The equation for (1) includes a variable for a baseline value. I am confused as to why they do this as I thought this may cause problems in terms of being correlated with the error term. Any explanation as to why?
|
I have (another) question regarding survival analysis: If I had two groups of participants (rather small, less than 100, well-matched apart for one or two covariates) exposed to treatments A and B respectively (say, a cancer drug) in a time period of about 5 years, with similar distribution (i.e. similar number of part... |
How would I go about deriving gradient matrices w.r.t. W1 and W2 and backpropagation equation in a residual block that is a part of a larger ResNet network with forward propagation expressed as:
$$ F(x) = \mathrm{W}_{2}^{} \mathrm{g}_{1}^{}(\mathrm{W}_{1}^{}x) $$
$$ y = \mathrm{g}_{2}^{} (F(x) + x) $$
and
$$
\mathrm{... |
My data consists of people rating 50 different pictures and I'd like to test whether earlier pictures shown to people have higher scores. I can view this graphically (they do seem to have higher scores) but I'm wondering a simple way to conduct a hypothesis test for this. Can anyone suggest an approach?
|
Under what circumstances would you NOT NEED to assign a basis (ex. basis="cr") type in a GAM model? For a simple model, to see what the effect of one environmental variable is on abundance, would one not need a basis to assign a smooth? I am assigning a K value.
Ex.
View1 <- gam(abundanceA~ s(Path, bs="cr", k=... |
I have an unbalanced design with nested factors. In particular, the nested factor is obesity, with levels: of obese and nonobese. The other factor is group: women with syndrome, control women, and control men. The response let's say is a metabolite.
What I have done, is to set a linear model, with the following contras... |
Many times I read a strong criticism on the change-from-baseline (adjusted for baseline or not) both in randomized and non-randomized. Several people advised "don't even think of reporting the change scores and do the ANCOVA on post values", because of: 1) regression to the mean, 2) being unreliable, 3) being biased, 4... |
Thanks for reading.
I wanted to ask if my logic I used for my experiment makes any sense.
My hypothesis is that watching Pepsi commercial increases Pepsi preference.
My experiment has 2 steps.
(1) Baseline measurement
I have gathered 80 participants and asked them to choose one of 2 drinks (Coke or Pepsi) for 20 days. ... |
Consider the univariate case, suppose we have some sample data on the heights of men and women - we are interested in estimating the average heights of men and women in the population, and the variance of these estimates.
For instance, based on the data (provided we assume that this data comes from an underlying normal... |
Here is the distribution of the data.
It seeme to me that it is a mixture of a poisson distribution at the begining of zero value and a Gaussian distribution. I also used the fitdistr() function in R to estimate the significance of the front part. And the p-value of seems to be more significant for poisson distributio... |
I actually have two questions. Similar questions unfortunatelly do not answer mine.
1)I realize that with anova(model1,model2) one can only compare two models if they are based on the same dataset. Are there any methods to compare two models based on different datasets if one dataset is a subset of another one, but the... |
I'm working through a textbook (Regression and Other Stories) and have come across a particular problem that I am having difficulty convincing myself I understand.
I am specifically interested in part (b), but I include (a) as context.
It is as follows
'Before-after comparisons: The folder Sesame contains data from an ... |
I have the log-normal standard deviation and the mean that I want to use to sample from a log-normal distribution in Python. However after I do the sampling and compute the arithmetic mean and standard deviation I don't get the same values that plugged in. This only happens when the mean is too small, but for my case I... |
I have a set of data (results) that does not follow Normal distribution. In this case, wow can I get Maximum Likelihood Estimation?
Thank you very much
|
Among other things, I am working on dependency structures for the reliability analysis of river embankments and use Copulas for this purpose.
I have 3 questions about this:
Strucure
I am not yet clear when I should use the D-Vine, C-Vine or R-Vine structure? At the moment I only use the D-Vines because they are nicel... |
In a mixed-model setting, I want to estimate the variance components and the pertaining random effects of a random-intercept/random-slope model. The coefficients of the fixed effects have already been determined in a previous iteration step. Thus, I would like to fit a mixed-model on the marginal residuals $\hat{y} - X... |
For example, the sd of the random intercept reported by lme4 when I use lmer or glmer is much higher than if I just calculated the sd on the list of intercepts generated from ranef. Why is this?
|
Quick question, is ordinal logistic regression a linear or nonlinear model?
Finding different sources supporting the other, and the more I read the more I get confused myself.
Perse, it should fall under GLM, as logit does. Or?
|
Formula for Z statistic in One sample Z test of proportion is:
How the denominator is derived?
|
I am conducting a thesis and I created a survey questionnaire that would help to answer the questions in my statement of the problem.
Now, I am wondering if the questionnaire I created is already good to distribute to the target respondents or shall I need to find validators to validate my questionnaire?
My questionnai... |
When performing PCA on a certain dataset and logging the fraction of total variance explained by the components, will this fraction drop for the first component if one or more features (that were present in the component's loadings) are removed and the PCA re-computed?
Asked by one of my students. I said yes but now I ... |
According to the UMAP paper:
Our algorithm is competitive with t-SNE for visualization quality and arguably preserves more of the global structure with superior run time performance.
paper
It seems to me that UMAP is better when it comes to visualizing.
However is there a reason for choosing t-SNE over UMAP?
|
I cant seem to find a clear answer to my question.
I have as a dependent variable a count ( number of times certain companies appeared in the news). One of my explanatory variables is age of the company.
would it make sense to square age in such a Poisson regression?
|
I am not understanding the interpretation of the odds ratio from logistic regression coefficients. I understand that if $\beta_1$ is sex, with male the reference group, then $e^{\beta_1}$ gives the ratio of odds of occurrence of the event for a female versus a male.
What I'm not understanding is why odds are not consid... |
I have the following transition matrices, one for Maria and one for Anna:
import pandas as pd
anna_dt = pd.DataFrame({'source': ['tomato', 'carrots', 'cheese'],
'tomato': [0.1, 0.4, 0.1],
'carrots': [0.5,0.5,0.1],
'cheese': [0.4,... |
I am trying to show the following system of equation
Va+Xb=0 and
X'a=k,
is consistent when a'X=k', where V is nXn and X is nXp (p<n) matrix, a,b,k are vectors.
I could not find the reason how Va belong to column space of X.
The above equation is the consequence of minimizing variance of linear estimator of linear param... |
Suppose I have a binary classifier $f$ which acts on an input $x$. Given a threshold $t$, the predicted binary output is defined as:
$$
\widehat{y} = \begin{cases}
1, & f(x) \geq t \\
0, & f(x) < t
\end{cases}
$$
I then compute the $TPR$ (true positive rate) and $FPR$ (false positive rate) metrics on the hold-o... |
I am using R causal impact to measure the effect of a campaign intervention. Doing some tests, I found some consistent but very strange results.
What I did is to generate a time series with weekly seasonality, a baseline, a trend and some noise. After that, I copy the time series and added some extra noise to generate ... |
Let's suppose $\zeta_k \in \mathbb{R}^p$ is a random variable from a normal distribution with mean zero and 1 standard deviation. why $E[|| \zeta_k ||^2]=p$?
|
I ran a multivariate regression model in R and got an overall F-statistic of 3,525.690 and three stars attached to it. This seems to be quite good from a statistical point of view.
However, should I be concerned about something or is this really that good?
|
I need to compare dependent samples (matched-pairs) from the same group in 2 time frames, simply a hypothesis test to determine if there is any statistically significant difference pre and post an intervention. So likely a paired-t or a signed rank test depending on sample size and shape of the distribution.
The proble... |
Here's the study:
Pam knows from prior research that children who are seated in a room with 4 doors are equally likely to pick any door when asked which door they would choose then leaving the room. Pam wants to demonstrate that children labeled by a psychologist as oppositional are more likely to choose the
door behin... |
I am not sure the title is easy to understand, but this is because I'm struggling to find out if my question is machine-learning related, or just correlation-related, or anything else.
Context: I have a categorical variable that can take three values. And 75 samples, 25 per category. On top of knowing what the category... |
In his book, Statistical Rethinking (2nd edition, p. 137), Richard McElreath states that including parameters with unobserved values, such as residuals, and treating them as if they were perfectly measured in a regression is always a mistake (see full quote below). If this is true, isn't instrumental variables (IV) als... |
I'm trying to understand swap set analysis and the way results from such an analysis are presented. This analysis is a way to compare two models to determine which one is better. The results are typically presented in a table like this:
Source: Experian
I've found two explanations (see below) of this type of analysis ... |
Reading about VAEs here and there, I often get stuck in the confusion about which quantity gets minimized as VAE objective.
After some calculations, here's what we get at:
$\log p_\theta(x) \ge - \mathbb{E}_{q_\phi}[\log \, q_\phi(z|x)] + \mathbb{E}_{q_\phi}[\log \, p_{\theta}(z,x)] $
The component on the right is what... |
Is there a way to calculate P(A|C) from P(A, B|C)? I'm guessing that the following will only work when A and B are conditionally independent: P(A, B|C) = P(A|C)P(B|C).
|
I made value-at-risk forecasts for different models for the 95, 97.5 and 99%. I also made a dummy which equals 1 if the true return was below the value-at-risk, 0 otherwise.
How can I compare those models in their ability to forecast the value-at-risk with the Diebold-Mariano test?
|
I want to apply a data transformation function that produces value between 0 and 1 and also the order is reversed. The max becomes min after transformation and the minimum becomes max value.
Assuming the presence of zero in the original data and i want to preserve the median what are the data transformation functions t... |
I am constructing a two-stage GAM to model capture rate across my study site while accounting for zero inflation.
VarRPA <- gam(p.a ~ s(VarR, k=10), data=landcover, method = "ML",
family = "binomial"(link = "logit"))
VarRAbund <- gam(abund ~ s(VarR, k=10), data=landcover,
method = "ML",... |
Hi guys, I encounter this question for a Business Forecasting module and I am very confused by it. Firstly, this looks like an autoregressive model of order 1. From the looks of it, the φ coefficient is 1. Doesn't this mean that the time series cannot be stationary and the ACF will be 1 at all lags?
Also, how can we f... |
If I perform PCA/NMF on a dataset, and then use the reduced models to reconstruct the original dataset, it seems to me that PCA should typically outperform NMF, simply due to the fact that NMF has the additional restriction of all positive matrix elements. So, are there any guarantees that PCA will outperform (or match... |
I'm a big fan of common language effect sizes (e.g. McGraw and Wong's CL or Cohen's U3 - "what proportion of group 1 are higher than the average for group 2"). I've been scrabbling around trying to find something like that I could pull out of a multiple group comparison (as would be commonly analysed with one-way ANOV... |
I am running a pooled OLS regression on the following model:
Running this regression results in the following results:
The R-squared seems so high that I get the suspicion that something goes wrong. I, therefore, looked at non-stationarity of the individual variables and most of them pose non-stationary time series. ... |
The question is pretty straightforward: how are GAN and WGAN discriminators typically initialized?
I couldn't find much info on this. E.x. for GANs, I imagine you would theoretically want the discriminator to not be very good initially, otherwise your generator cannot start learning. You also don't want the discriminat... |
This question is closely similar, however, the answer only speaks about Logistic Regression being one example.
I am interested in knowing if there are more algorithms that are not affected (at least lesser affected than other algorithms) by datasets that have class imbalance.
|
I have 13 separate hierarchical linear regression models- all models have an interaction term (group by variable of interest) entered as the last step. Since I have 3 dummy coded groups, I have 2 p-values (i.e., a p-value for group A (reference group) vs B, and a p-value for group A (reference) vs C) for each of the 13... |
Apologies if this is the wrong place for questions that overlap with programming. I'm trying to implement my own Bayesian regression class, but I'm finding my credible intervals are coming in much larger than expected. Below is a copy of my code and a picture of the output it currently generates (I've set a seed to a... |
I know how to perform a test of the difference between two proportions. This is one level more complex than that. I have an experiment in which participants (male or female) are randomly assigned to condition A or condition B. Then they have the possibility of making a decision, which we can call Yes or No.
The questio... |
I have a bioassay containing 3 different treatments. A single individual is allowed to choose between the 3 choices and their choice is recorded. This test is perform 30 times, each with a different individual. My data consists of the number of individuals that chose each treatment (so 3 numbers). Which statistical tes... |
It is a similar question to this but it didn't help me When KL Divergence and KS test will show inconsistent results?
I have run into a situation in which I have no clue how to interpret it. I tried to make it reproducible by everyone without having much to set up.
I have to compare a sample set A to some sample set B ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.