instruction stringlengths 9 38.7k |
|---|
I started working on some linear mixed effect modelling, and I'm using lmer() in R.
My question is regarding the number of observations. Is there any assumption or rule of thumb?
I have tens of thousands of observations and want to understand the random effect of four different variables.
It looks quite computationally... |
I wish to study the correlation of responses of 150 participants to two concurrently-administered previously-validated questionnaires (each giving numerical summary scores as output). Both questionnaires give off numerical scores that are directly proportional to perceived quality of life (higher scores = perception of... |
Background
This is related to the following question: Is an experiment's Sample Space always useful?
I understand that Sample Spaces are sets holding all the possible outcomes of an experiment. Thanks to a great answer here, I understand that a Random Variable assigns a value to each outcome in the sample space. And fr... |
I am currently working with signal classification problem, and since I can retrieve as many signal samples as I want, I've always chose to construct perfectly balanced datasets. But recently I became to think that maybe it wasn't such a great idea. Maybe by constructing this "ideal" situations I unintentionally decreas... |
In this tutorial video of normalizing flow, the presenter mentioned that for the original autoregressive flow, the density evaluation is fast and the sampling is slow. In contrast, for the inverse autoregressive flow, the sampling is fast and the density is slow. I could not understand why. Because both the density eva... |
I've recently come across the ALE algorithm and I'm currently trying to get my head around Judea Pearl's theories incl. the "Ladder of Causation" and I'm struggling to understand how the two relate.
In ALE you are nudging values for a single variable to the upper and lower edge of a bin to see how this changes the pred... |
I would like to understand why an anova is made on a lme (or lmer) and how to interpret the anova output.
lm1 <- lme(EWL..mg.h. ~ Condition*Session + Condition*Sex +
Condition*Mass, random = ~1|Individu,
data = data_respiro_acoustic)
summary(m1)
Anova(m1, type = c("III"))
Summary Output :
Linear mixed-ef... |
I am working at a company that invests in ads for apps at different stores. I have a dataset containing the columns date, app, investment, revenue, visualizations and some others. So for a given date and a given app, I know how much money was spent that day (investment), and how much money was generated by that app tha... |
I'm currently working on a Gaussian Process Regression (GPR) model using the implementation provided in skopt.learning.GaussianProcessRegressor which is a wrapper for the sklearn implementation. This wrapper provides gradients for the mean and std of predictive distribution through the predict function.
I'm using these... |
I looked through other questions on stats.exchange, but could not quite find a similar question, this post probably comes the closest to it.
Since (fully-connected) neural networks with only one layer and no activation function is linear regression, even though it is trained with some form of gradient descent, I expect... |
I have a two-level logistic regression model where the outcome is "InfectedqPCR" (Plasmodium-infected as determined by qPCR) at the individual level.
I have a range of individual- and household-level variables.
Household is the grouping structure.
I have been reading Austin and Merlo's (2017) "Intermediate and advanced... |
I have a dataset with three levels:
on the lowest level there are news articles
on the mid level, news articles belong to news outlets
on the highest level, news outlets are grouped by a categorical variable
Each news articles can belong to only one news outlet and each news outlet can belong to only one high-level g... |
How comprehensive is the toolkit for Bayesian inference when trying to make causal inferences with observational panel data?
I can see an easy application with the incorporation of fixed effects or the ADL model, but these models have well-documented problems.
I also understand that there are Bayesian applications for ... |
Background:
We have biological gene expression data of cells (from a single-cell experiment). So, the data is in the form of a gene by cell matrix, where each value is the expression of a specific gene in a specific cell. I am seeking to establish genes that "go together" with another (continuous) property of the cells... |
My question: I liked the Google causalimpact package in R and want to do the same work in Python. Which package should I use?
The very first library I saw is a port of Google's R causal impact package, perhaps the first:
pycausalimpact 0.1.1. But the repository has disappeared (but
there is still a medium.com tutorial... |
I have a dataset with approximately 1800 observations and I'm trying to fit a multivariable logistic regression model (250 cases, 1550 controls). There are 19 covariates (mix of continuous, ordinal and categorical) with P < 0.2 on univariate regression and I am planning to include them in an initial full model. There a... |
I've developed a model using L1 penalized regression using tidymodels and 10-fold cross-validation, and determined the predictors that explain approximately 87% of the variance in test data. I need the penalization to scale unimportant predictors to zero. In the field, however, the top predictor is assumed to be much m... |
I am using the PROCESS macro to do a basic mediation analysis, with variables X,M, and Y. All are continuous. I know from theory that X and M, and M and Y respectively, should have a relationship. I am certain from the theory that X is causing M, not the other way around. Indeed, in my data when I do a regular linear ... |
The Context
Let's say for argument's sake that I have a time series dataset, $X_t$, that is stationary, exhibits strong autocorrelation and is a good candidate for an ARIMA-type model.
I have a series of observations for this time series variable, $(X_{1,0},X_{1,1},...X_{1,N})$ which is evenly distributed in time and h... |
I have a time series Markov Switching model, which is estimated in about 15 different versions. One or two of the time series had to be normalized in order to converge. That is 1-2 out of 15. My question is if I have to normalize all models in order to be able to compare and derive conclusions on the model's combinatio... |
I am trying to forecast electricity consumption using hourly consumption data over a span of 4 years. However, when I plot the ACF and PACF graphs, the confidence interval turns out to be very narrow, rendering the graphs seemingly meaningless. I have experimented with various alternatives for the frequency (e.g., 24, ... |
In Improving support vector machine classifiers by modifying kernel functions, the authors defined Riemannian metric tensor for a kernel as follows:
$$
\begin{align}
g(\vec{x}) &= \text{det}|g_{ij}(\vec{x})|
\nonumber\\
g_{ij}(\vec{x})
&= \frac{\partial}{\partial x_i} \frac{\partial}{\partial x_j} K\left(\vec{x}, \ve... |
I have a computational model that involves having a set of $K$ covariance matrices, $\{\Sigma_1, ..., \Sigma_K\}$ with each $\Sigma_i \in R^{n \times n}$. Storing all these full covariance matrices is memory-expensive because $n$ is in the order of thousands, so I want to store them more efficiently.
The spectral decom... |
I'm working on some economic stuff and the objective is to conduct a panel data analysis. I assumed the following data-generating process:
\begin{equation}
y_{it} - y_{i,t-1} = \eta z_{i,t-1} + \gamma_i x_{i,t-1} + \beta_i y_{i,t-1} + \delta_t + \alpha_i + u_{it}
\end{equation}
where $y_{it} \equiv log (Y_{it})$. Thus... |
I'm running a logistic regression on some data that has a binary outcome and several input variables, one of which is categorical with 5 levels. I'm using one of these levels as the reference, and so interpreting the ORs for the other 4 levels is straightforward - these are "relative" to level 0.
But what I'm not sure ... |
In a non-peer-reviewed (yet?) paper, Bartlett and Partnoy (BP) (2020) discuss some under-appreciated issues related to using ratios as the dependent variable. Some but not all problems are dealt with when taking the natural log of the ratio (see pages 24-28). I want to make sure I'm understanding the ratio problem in O... |
I just study about time series.
I want to ask about in AR(1), why the lag operator, L, need to be bigger than 1 for zt become stationary. And also when |L|>1, it is lie outside of the unit circle and zt is stationary.
|
I have read many times that the interpretation of fixed effects estimates differs in a mixed model, compared to a model without random effects. For example this answer from Dimitris Rizopoulos:
Interpretation of fixed effect coefficients from GLMs and GLMMs
However, in GLMMs and because there you do have random effect... |
I'm working on a research project where I predict fMRI activity using two separate sets of predictors, X1 and X2. In order to do this, I am fitting a linear regression from each predictor to each voxel in the fMRI separately. I then assess the performance of the regression model on held out data with the out of sample ... |
X ∼ Uniform(a,b), a<b (Discrete) where f(x)=1/n where n=b-a+1 and Y ∼ Uniform(c,d), c<d (Continuous) where g(y)=1/d-c. X and Y are independent. Let z = x - y. I was able to find the E(Z), however I couldn’t derive its variance. What is the Var(z)? I couldn’t write the integral from of its variance to begin evaluating. ... |
Is it a valid or useful technique to penalize the model based on the objective function + abs(training error - testing error). The error would probably have to be scaled. This seems useful, and I am considering it for my genetic algorithm. Might this lead to overfitting somehow?
|
My objective is to assess the impact on BMI following the establishment of a new donut shop in the neighborhood, particularly considering that the donut shop commenced operations in 2017.
Researchers have proposed two-way fixed effects (TWFE) models of this type to analyze such events:
$y_{i,t}$ = $\beta_0$ + $\beta_1$... |
Let's say we have a linear process of the form $y\sim \vec{x}\cdot \vec{w}+N(0,\sigma)$, where $\vec{x},\vec{w}$ lie in $\mathbb{R}^p$.
I have $n$ data points, and will assume all feature vectors (which lie in $\mathbb{R}^n$) are independent. I will write $S$ for the subspace of $\mathbb{R}^n$ spanned by the feature ve... |
I am very new to statistics, and I need help determining the the best inter-reliability test for a questionnaire. My questionnaire will be assessed by three raters. I'm just providing the sample of my questionnaire and what it can look like:
dat = data.frame(rater1 =
c(3,3.2,4,4,2.4,3,'Y'),
... |
I am wondering if a K-S test or other test can be used for comparing models' performance. For example, I have two prediction models, the prediction result of first model is [x1, x2, x3, ..., xn], the prediction result of the second model is [z1, z2, z3, ..., zn] . The ground truth of the prediction is [y1, y2, y3, ...,... |
I am fitting an exponential model using GLM regression (assuming Gaussian error and a log link function) to 1000 trials, giving me 1000 slope-intercept pairs that are moderately correlated. I want to understand the reason for this correlation and whether it is simply an artifact of the y variable being measured at more... |
According to the wiki page on Principal Component Regression, it is possible to transform the beta values obtained from doing regression with PCA data into beta values for the original features. This is because, if $X$ is your original data and $Z=\textbf{X}V_k$ is the transformation of that data using $k$ principal co... |
I am trying to use EM (Expectation-maximization) to fill in missing data in R, but am not sure how to model/code it for my specific case. I am generally trying to follow the example format used in this post (How does expectation maximization compute missing data?), with the following structure of the EM process:
librar... |
I am seeking assistance in interpreting the interaction plots of a generalized additive model (GAM). I wish to know:
What does the linear predictor on $y$ axis mean?
What does the arrows along $x_1$ and $x_2$ indicate?
Is the interaction negative or positive? How to interpret positive or negative
interaction in plots?... |
Background
Christoph Molnar's Interpretable Machine Learning book introduces estimation of machine learning model interactions by the decomposition of partial dependences:
If two features do not interact, we can compose the partial dependence function as follows: $$ PD_{jk}(x_j, x_k) = PD_j(x_j) + PD_k(x_k)$$. Likewis... |
I have a simulation (a set of 200 iterations) which I used to compute a confidence interval for average statistical power. In binomial approximation, I know that the standard error is computed as $\sqrt{\frac{p(1-p)}{n}}$ where $p$ is the success probability and $n$ is the sample size. As I mentioned before, my $n=200$... |
I am new to machine learning and have to work with big data (lots of OTUs along with clinical) which I will input into 2 different machine learning models (RF and SVM) that will be used for prediction (classification). The number of samples is around 500.
My questions are:
Will it make sense to apply a feature selecti... |
Suppose we have a sequence of n coin tosses with probability of heads as p for each toss. Then the probability of k heads is defined by the binomial probability Pr(Y = k) = nCk p^k (1-p)^(n-k). I am trying to compute the conditional probability for a specific sequence given the number of heads. Example: if we toss a co... |
I have a simple liner regression model, and I tried validating if the model fit for purposes.
One of the tests is Augmented-Dickey Fuller test on the residuals but the result of the test shows that the error term is not stationary, if I continue using this model, what would be the implication?
In general, if my model f... |
When dealing with a multivariate distribution (e.g., a multivariate t-distribution), how does dimensionality play into degrees of freedom? Let's say you have N measurements of a d-dimensional vector, assume that we have a well-behaved (non-singular) shape parameter matrix that we are estimating from the data,and we wan... |
Considering I have a big data (lots of OTUs and clinical), which I will be using to input into RF and SVM for prediction (classification), will it make sense to perform RFE as a feature selection step?
What method for RFE should I apply for RF and SVM? Since I believe that RF and SVM can be used as methods for RFE but ... |
This is a hypothetical question, so I don't have a lot of additional details to give. However my question is pretty straightforward:
Is it theoretically valid to conduct tests (e.g. for comparing means or percentages), between two samples that have been drawn using different sampling methods?
For instance, what about a... |
For self study, I've calculated $E(X)*E(X'X)^{-1}=[1,0]$ when $X=[1,X_2]$ for any scalar random variable $X_2$ (with finite mean and variance).
Proof:
$\begin{pmatrix}1 & E(X_2)\end{pmatrix}\begin{pmatrix} 1 & E(X_2) \\ E(X_2) & E(X^2_2)
\end{pmatrix}^{-1}=\begin{pmatrix}1 & E(X_2)\end{pmatrix}\begin{pmatrix} E(X^2_2)/... |
Suppose we have some aggregated regressors and some that vary across all individuals. E.g. individual data on workers and aggregated data on the level of the US-states. We could either account for cluster-robust standard errors or aggregate the individual data on the same level and run the regression on the collapsed d... |
Motivation Question
As the title suggests, I'm looking for examples of offsets in regression that make sense in my realm of research (early child development of reading and writing). To be clear, I am aware from a general sense what an offset is...it is simply a way to incorporate a constant, fixed value into a regress... |
How to calculate factor loading manually in CFA? Can anyone explain it by giving the equation and if so, can you give an example too?
|
I collected data from an acoustic localization experiment with a mixed-design, where the factors are populations (one with hearing devices (HA) and one with cochlear implants (CI)), and conditions, four for the first population (with left HA, right HA, both HA, none HA), and three for the second population (with left C... |
I have been reading that people use the one-sample t-test also for skewed underlying distributions, saying that for a high enough number of datapoints (I read for example N=30 and N=100 in some places) the central limit theorem means that you can apply the t-test even to non-normal data. I struggle to understand the ar... |
I have a question, about the effect of two predictors (regressors of interests or main effects) on the mean outcome. I will fit a two-way ANOVA model (type = "III"), which one should I use:
Model 1:
Outcome ~ predictor1 + predictor2 + **predictor1:predictor2** + confounder1 + confounder2 + confounder3 + confounder4 + c... |
I am running single-season occupancy models and I usually have many selected "best models" by AICc criterion. At the time, I am running MacKenzie and Bailey's (2004) goodness-of-fit test for each of these best models. After this step (if overdispersion is revealed) I calculate QAICc with the following function:
aictab(... |
I have two time series $T_{1}, T_{2}, ..., T_{K}$ and $D_{1}, D_{2}, ..., D_{M}$ with $K>M$. Is there a way to compare those two time series, i.e. if the small time series $D$ preserves the trends of the larger time series $T$?
|
I've fitted a GAM model with a set of variables some fitted just as-is while others have been given an s-term due to earlier analysis indicating more complex / non-linear relationships to the target variable.
The GAM model is used for predicting performances on the target variable and with that I am in the processes of... |
(stats newbie here)
The highlighted answer to Can you compare p-values of Kolmogorov Smirnov tests of normality of two variables to say which is more normal? refers to a paper* that says that when the null hypothesis is true, then the p-value is a random variable, i.e. a p-value of 0.9 is just as likely as 0.1.
For my ... |
Let $b=(X^TX)^{-1}X^Ty$ be the ordinary least squares estimate. Then the sum of squared residuals is
$$\begin{align}
(y-Xb)^T(y-Xb)&=y^Ty-y^TXb-b^TX^Ty+b^TX^TXb\\
&=y^Ty-b^TX^Ty.
\end{align}$$
The carbohydrate data below is from the book An Introduction to Generalized Linear Models (Fourth Edition)
carbohydrate <- str... |
I have created a linear mixed effects model testing for shannon diversity index, with flower_quantity, temp, precip, wind and cloud cover as continuous variables, and season as a categorical variable. I have created multiple linear mixed effect models to determine the effects of these variables on shannon diversity val... |
According to this post, the expected correlation between the sampling distributions for the slope and intercept in OLS regression is given by E(Corr) = -E(X) / sqrt(E(X^2)).
Now, let's consider an experiment with N trials where I measure Y at relatively the same X values across all trials, ensuring that E(Corr) is esse... |
In the context of my thesis, i have created a corpus in order to compare the use of "z" vs "s" in specific words like organisation, organised, recognise, authorise etc.
I have created the percentage of "z" for each of those words. So every percentage shows the proportion of the "z uses" within my corpus, for each word.... |
I am working with binomial distribution and understand how I can compute probabilities of a particular number of heads or tails in a sequence of coin tosses. I can also use the distribution to find the number of coin tosses for k heads or tails using the distribution. But I want to compute the conditional probability t... |
I have seen many applications of beta regression when dependent variables are bounded between 0 and 1 (proportions, probabilities, etc.).
However, would beta regression be appropriate when my dependent variable is bounded between 0 and 1, but is neither a proportion nor a probability? For example, say that my dependent... |
I have data that essentially looks like the following:
Patient X1 X2 X3
101 -3 -1 2
102 -5 2 -1
103 1 3 2
,,,
I can normalize X1, X2, X3 so that they are all comparable in scale (and they are all measuring outcomes from a specific procedure). So now I have (note these haven't been normalized):
P... |
I have a series of $n$ observations $i_{1},i_{2},..,i_{n}$, approximately spread across 10 different regions. Each $i$ has an associated $X$ and $Y$ coordinate value in 2-D Cartesian space. Each $i$ also has an associated cluster, where the number of clusters within a region is greater than one and less than $n$. I wou... |
I have a dataset that shows measured 'perceived quality'(dependent variable), by two different sizes in the context of 4 different intensity levels (200 values for perceived quality in each category, and non-normal distribution). So the data looks like this: []
Perceived Perceived
quality when ... |
I'm looking to build a binomial model in R for a fascinating experiment involving flower pollination at various temperatures. In this experiment, plants exhibit a dynamic range of flowers and floral stems. Some plants even boast different floral stems, each with a varying number of flowers.
As bees work their magic and... |
Does the covariance matrix for a discrete variable and a set of continuous variables have extra constraints beyond being positive semi-definite as in the case of a real-valued random vector?
Furthermore is the estimation in this setting the same as the case of real-valued random vectors; that is, $Cov(X,Y)=\mathbb{E}[(... |
Thank you in advance for any help.
I am trying to compute the maximum number of times I should expect to attempt a Bernoulli trial to keep my number of fails (with probability of failing $p$) under some threshold $T$ with confidence probability $\lambda$. I know I can use the Negative Binomial distribution to calculate... |
I have been working with a dataset that I would like to analyze using the Cox PH model in R. The data I have includes:
a start measurement year
an estimated mortality year
survival time that is the difference of these two
multiple complete case covariates (no NAs)
The problem I cannot seem to find an answer to is how... |
For a given household for which I have many years of historical data,
I want to predict the home gas consumption (heating) with a few variables among:
date gas min_temp max_temp mean_temp relative_humidity absolute_humidity other_column
2023-01-01 5.8 m^3 -3.0°C 2.3°C -1.2°C 79 %... |
Background
I'm working on a project on modeling/understanding the intraindividual variance of a repeat measurement. To do this, I'm following a tutorial set out by Dr. Nilam Ram that can be found here which used variance heterogeneity models. Specifically, I am interested in how levels of an antibody affects the intra-... |
Suppose a study with dependent variable $y$, and predictors $x_1$, $x_2$, ..., $x_k$.
Assume that I have access to the covariance matrix
$$\hat\Sigma = \begin{bmatrix}Var(y) & cov(x_1,y) & ... & cov(x_k,y) \\
cov(y, x_1) & var(x_1) & ... & cov(x_1, x_k) \\
... \\
... |
My question is similar to Testing difference in kurtosis between two samples where a comment suggested
Unless you are looking for an enormous difference in kurtosis, it's
unlikely any physically realizable sample size will produce
significant results.
Either I am doing something wrong, or I have an enormous differenc... |
I'm training a pretty standard LightGBM regressor and noticing a strange pattern with the residuals (see images below--I'm bunching the predicted values and taking the observed average for the group). On observations with high fitted values, we consistently underestimate the observed response variable and on observatio... |
In studies of aging, physical performance is assessed using instruments where the result is scored as a discrete integer variable that ranges from 0 to K. For example, a commonly used assessment tool is Short physical performance battery (SPPB), in which the integer score ranges from 0 to 12, with 0 being unable to pe... |
I am doing the following, and the model is getting all of the "True" class predictions wrong. Any idea what I can try on this data? I tried to tune some things, and also tried XGBoost to no luck.
Here is the mix of the true / false cases in the train and test. It is heavily one class, but the mix is not that bad
> tabl... |
I'm trying to find a posterior probability for this model but I can't find the solution. Help would be appreciated!
Prior distribution: $\theta$ follows a discrete probability function: $\mathbb{P}(\theta=d)=0.8=1-\mathbb{P}(\theta=3d)$. $d>0$ is a constant.
I have a sample of 6 exponential random variables ($X_i|\thet... |
Apologies for this poorly titled question, but I've been taking some statistics courses and sometimes when you try to learn too many things in too little time you want to take a step back to check if you're actually understanding. I thought of the following:
Suppose that you hire people to count the number of words in ... |
I have an equation:
$$
\large
y = 0.243x + 0.145
$$
In the form:
$$
\Large
y = ax + b
$$
I use it to predict $y$ when $x = 2$. To estimate the distribution around $\hat{y} = 0.631$ I need an estimate of uncertainty. This I am calculating using the following formula:
$$
\large
\Delta y = \sqrt{(a \cdot \Delta x)^2 + (\... |
I use a statistical program that does not seem to offer the option of conducting t-tests, ANOVA, etc as one-sided tests. Only a 2-sided p-value is returned. Is it equally valid to arrive at a one-sided test result by a) dividing the resulting p-value by 2, or b) keeping p-value as is, but compare it to alpha x 2. So in... |
I am giving a talk on logistic regression and I was going to mention log-binomial models to estimate risk-ratios. I understand the difference between odds and probabilities and that they only converge when the outcome is rare. I also understand that the unit change for the odds ratio is constant across all values of a ... |
I am running a manual EM (expectation-maximization) algorithm in r. My code is the following:
em.norm <- function(Y,mit,sit)
{Yobs <- Y[!is.na(Y)] #Extract the observed values
Ymis <- Y[is.na(Y)] #Extract the missing values
n <- length(c(Yobs,Ymis)) #Length of total observations
r <- length(Yobs) #length of available o... |
Consider the Irwin-Hall distribution, which for me means $X_n$ is the sum of $n$ uniform iid variables in $[-1/2, 1/2]$. I would like an absolute lower bound for $E[|X_n|]$.
By general theory we know that it approaches an explicit constant times $\sqrt{n}$, but I would like a statement of the form: for all $n > N$, we... |
I am currently trying to understand how the Transformer Architecture created by Vaswani et al. in 2017 works. Regarding this I have problems understanding the training process of the decoder.
If the output of the Decoder is sequentially input back into the Decoder, why is there a need to mask tokens that are in a posi... |
prefacing this with the fact I have a concussion and may or may not be making sense/thinking clearly at the moment.
I'm working on rewriting an assignment that asks us to find significant differences between groups using ANOVA and then TukeyHSD as post-hoc analysis. When I originally did the analysis, I merely found th... |
I am reading the wiki on mean value analysis. I am writing a Python implementation of it, and it occurred to me that I was getting some negative values. I want to validate whether that is expected behaviour. It describes the following mathematical setup:
Consider a closed queueing network of $K$ M/M/1 queues, with M c... |
I have a binary classifier whose accuracy is $a$, tested in equally distribute samples, so $p(0)=p(1)=0.5$.
If $p(0)$ or $p(1)$ changes to some arbitrary values, is there a way to quantify the performance of my classifier?
|
I'm planning to perform an experiment in which I will be assessing the role of two experimental variables (A: 6 levels, B: 4 levels) on a defined outcome which, however, might be affected by external factors which I will be able to control in defined blocks.
Given some experimental limitations I will not be able to ass... |
We calculate average processing time (y) to monitor the efficiency of a process. The process can vary in complexity and we observe some proxies to assess the complexity of the process (x1, x2, x3).
Now, it has been argued that the complexity has increased over the last couple of years and that this is the reason for th... |
I am doing a repeated measures Anova
My variables are like this:
Y - continues variable measured pre and post intervention
Intervention - the between group variable with three levels in which participants were randomly assigned to.
M - I want to check for two continues covariates (both measured only before the interven... |
I'm currently grappling with a particular issue. I conducted an event study focused on the M&A activities of major tech companies. For the analysis, I employed an observation period spanning 255 days leading up to the event window. The event window, in turn, comprises three distinct values:
CAR PRE EVENT: The cumulati... |
The Jeffrey test is a tool used to evaluate evaluation of proportions, notably in the IRB Framework to evaluate the probability of default (see: ECB - Instructions for reporting the validation results of internal models art 2.5.3.1).
This paper on Proving Prediction Prudence formulate the hypothese testing further:
I ... |
I am analyzing data from cancer patients that underwent surgery for cancer removal. During surgery, the surgeon checked a variable number of lymph nodes to see how many had cancer in them. This is reported as the number of cancer positive lymph nodes ($a$)and cancer negative lymph nodes ($b$) and can be expressed as th... |
I have a two level factor (treatment 1 and treatment 2) and I want to explore the influence of this factor into a binomial factor (death, yes no, with ref=no). I would like to obtain an odds ratio, but I do not want to contrast treatment 1 vs treatment 2. I would like to contrast treatment 1 vs mean and treatment 2 vs ... |
There are lots of resources out there that mix up residuals with errors, using the terms interchangeably, or saying "residual errors", or not acknowledging the existence of errors at all. (One example here.) In this post on Cross Validated, one comment under the accepted answer says:
After all, normality tests are per... |
My data is a from a family-based weight loss intervention. One of the intervention goals is to reduce intake of energy-dense, low-nutrient foods (we call these RED foods). One major behavioral strategy we encourage is for families to improve their home food environment (i.e., reduce unhealthy foods and increase healthy... |
The problem I would like to solve is the following. It's not the usual data science problem (at least for me) so I don't know if my solution is good and I'm open to any comments.
I have a dataset with (categorical) features and a binary label (yes/no) for some observations. My goal is to build a model not to predict wh... |
Assume I have two populations (pop 1 and pop 2). I also have three treatments (A, B, C).
In population 1, I have $HR_{A vs B}$
In population 2, I have $HR_{A vs B}$ and $HR_{C vs B}$
When I want to calculate the $HR_{C vs B}$ in population 1, I can use the ratio of the $HR_{A vs B}$ in pop 1 and pop 2 to reweight. Shou... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.