instruction stringlengths 9 38.7k |
|---|
Suppose the correlation between vectors $A$ and $C$ of size $N$ is some value $r_{AC}$, and likewise for $B$, $C$, and $r_{BC}$. What is the distribution for $r_{AB}$?
Because correlations are cosines of angles between unit vectors, it is easy enough to compute the minimum and maximum potential values for $r_{AB}$. I h... |
In Metropolis - Hasting sampling, the proposal distribution does not necessarily have to have a form similar to that of the target distribution from which attempts are made to sample from.
For one, I understand that a symmetrical choice of proposal kernel can vastly simplify the conditional proposal which yield a simpl... |
I am running a test of association between a categorical/multinomial variable (example: hair color) and a continuous/nominal variable (example: ratings of happiness 0-100). I believe the correct test for this is the eta (η) coefficient / eta (η) correlation coefficient / correlation ratio. I am using SPSS.
I have found... |
I have used the JonckheereTersptraTest function in R and got a significant p-value. I would like to calculate effect size, but cannot figure out how to do this in R. Any help would be appreciated!
|
I am trying to evaluate the following integral marginalized across all possible functions.
$$\mathbb{P}(y|X,\theta) = \int \mathbb{P}(y|f)\ \mathbb{P}(f|X,\theta) \ df$$
In G.P. we assume prior to be of zero mean and a covariance matrix i.e. $\mathbb{P}(f|X,\theta) \sim \mathcal{N}(f;0, K)$. The likelihood is modeled ... |
I am running a binary logistic regression with splines in R (using the rms package). I do not know what p-value I can report in an article. Should it be the nonlinear p-value or the main p-value?
> knots1
[1] 284.00 314.55 366.15 640.00
> knots2
[1] 19.00 24.85 45.90 109.00
> knots3
[1] 32 104 139
...
model2 <- lr... |
I am using a generalized linear mixed model after multiple imputation on survey data. However, after performing the analysis, I cannot extract random effects and confidence intervals for the estimates. I am using the following code:
library(survey)
library(mitools)
library(lme4)
data(nhanes)
# Set up the survey desig... |
I'm just checking that I understand things correctly. If one wants Cohen's d-style effect sizes, and you have estimates from a GLM -- say a logit model -- there is no such thing--right? Because there is no error variance to reference.
Nonetheless, I came to the startling and upsetting realization that it's easy for use... |
I have a panel of observations, where there are $T$ days and each day there are $N$ observations. So the panel is $X \in R^{T \times N}$. The question I'm trying to answer is: is the cross-sectional variance in March higher than average? To answer this question, I have 31 observations of cross-sectional variance in Mar... |
I want to impute missing data in univariate meta-analysis. My outcome (no. fractures) is a binary variable. Below is the WinBUGS code I have tried. The code is compiled and I got an output. My question is, why there are no meaningful values in this output, i.e. why most of them are zeros?
model{
for(i in 1:11)
{
rt[i]... |
I'm editing a dissertation that has this sentence: "The regression analysis equation demonstrates a F(1,44) = 6.220 and p = 0.016 was significant on Problem 2 with the following question." I'm not well versed in statistics, but the syntax of the part in bold doesn't make sense to me. It appears this should be "demonstr... |
I am trying to comprehend what the authors are asking me to show in this following exercise problem from Hogg, McKean and Craig's book titled "Introduction to Mathematical Statistics."
3.5.22. Readers may have encountered the multiple regression model in a previous course in statistics. We can briefly write it as follo... |
I am new in stratified sampling. I have a regression task to analyse the relationship between income, household size and expenditure, using python. Both income and expenditure are continuous variables, while household size is categorical. I have following questions:
I asked chatGPT, it said if it is regression task, i... |
In this post Karpathy says
verify loss @ init. Verify that your loss starts at the correct loss value. E.g. if you initialize your final layer correctly you should measure -log(1/n_classes) on a softmax at initialization. The same default values can be derived for L2 regression, Huber losses, etc.
I understand that h... |
I need to build an overall survival regression model that can show the survival plots for id's with multiple rows.
I have used the Weibull function to define the baseline hazard function h0(t) and Cox hazard model to evaluate the effect of covariates.
Then I evaluated the hazard function h(t), followed by cumulative ha... |
Consider the following problem:
You have 3 groups. Your null hypothesis is that the 3 groups are distributed uniformly. Your data consists of 90 observations. Under the null hypothesis we expect to observe 30 outcomes in each of the 3 groups. The actual data consists of the split 40/30/20. We would like to test our hyp... |
The exact problem I am trying to solve is as follows. I have a Probit specification:
$$ P_t = \Phi(\beta^T x_t) $$
where $\Phi$ is a standard normal CDF and $x$ is a matrix of independent variables measured at time $t$. $P$ is the probability of success.
I am trying to calculate the marginal effect of change in each $x... |
YOLO v1 model predicts the confidence score $\hat{C_i}$ but I am not clear with the purpose of $\hat{C_i}$.
Definition of the confidence score in the YOLO v1 paper.
$\hat{C_i}$ is used in the loss function as in the paper.
It seems to me that $\hat{C_i}$ might be redundant because the confidence that the predicti... |
I am working on a dataset of longitudinal (baseline and control) data about some values in blood in two treatment groups
I performed a propensity score matching with the matchthem methodology in R (first imputing the data with mice function, and then matching with the matchthem package). After that the package suggest ... |
Given a set of n points, I have to find a subset of given size m<n, so that the m points are as uniformly distributed as possible across the volume enclosed by the convex hull of set n. See example figure:
Here we have a toy 2D example of the problem with n=600 and m=100. I am solving this problem using Evolutionary A... |
Which statistical test/algorithm should I use to compare the customers from 2020-2021 (group 1) and customers from 2021-2022 (group 2). There is one instance for each customer in the data. There are >100 variables for the customers, like age, nationality, total purchase count, gender etc. Which test/algorithm can I use... |
CONTEXT:
I gathered data from 1000 participants in five different countries, with each line in my dataset corresponding to a unique participant. My study examines how much individuals support the idea of their government being more open to their input related to policy making, with the dependent variable being the mean... |
An student want to estimate
$\phi(a)=\int_{-\infty}^{a}\frac{1}{\sqrt{2}\pi}e^{-\frac{1}{2}x^2}dx$.
He made one computational experiment as follow:
Simulated the draw, with replacement, of 1000000 (one million) balls in a urn which contain 8 green balls and 2 red ones.
Repeated the above simulation 500000 (five hundred... |
The stype argument in boot of R can take 3 values: "i" which is the default, "w" or "f".
What is the concept of "w" and "f"? I really tried to find articles about this stuff, but they are scarce. Can anybody explain them to me and show examples of codes on how to use them for linear regression models (implementing boot... |
For example, suppose you want to learn some structure for the mean and then you also have some kernel. Is is sometimes not possible to put most things in the kernel? For example, consider extrapolation properties?
|
I frequently come across the terms Permutation and Perturbation within the field of explainable AI.
I understand that both terms refer to methods that make changes to a sample's features. However, I'm not certain of the difference between the two.
From mathematics, a permutation is a rearrangement of elements in a set.... |
I am using an OLS model to predict a continuous variable using several continuous predictors and one binary categorical predictor. I know that usually binary variables are modeled as [0, 1], but I am curious what the effect of giving a binary categorical predictor values of [-1, 1] would be. I had accidentally done the... |
In probability, there are nice “conjugate prior” distributions that enable closed-form Bayesian updating – e.g. if you have a Normal likelihood and Normal prior (on the mean parameter), you get a Normal posterior.
Is there an equivalent concept for “nice” (e.g. closed form) marginal distributions? For example, if I hav... |
In the paper Implications of dynamic factor models for VAR analysis the authors propose a a technique for removing outliers in variables used for dyanamic factors analysis:
"The outlier adjustment entailed replacing observations of the transformed series with absolute median deviations larger than 6 times the inter qua... |
I’m working on a dataset collected from a 2-way Anova design (kind of) on binary data. The purpose of the experiment is to explore how different types of email marketing incentives affect customers propensity to buy certain fruits.
The dependent variable is Purchase rate (Binary; if a customer purchased the offered fr... |
At the instant $t = 0$ a certain radioactive focus starts emitting particles. The infinitesimal probability that the focus emits a particle in the differential interval is $\lambda dt$. Let $N_t$ also be the random variable 'number of particles emitted by the focus in the time interval $[0,t]$'. Hence, we have that the... |
A typical "rule of thumb" for instrumental variables is that an F-statistic of ten or higher indicates a strong instrument. This is mentioned in this Cross Validated post, which contains a reference to a Stock, Wright & Yogo (2002) article (that I cannot access), and I have seen such a value mentioned in primary litera... |
Does anyone know of a python implementation, or have one to share, of Vuong's Closeness test for non-nested models (Vuong, Q. H. (1989). Likelihood ratio tests for model selection and non-nested hypotheses. Econometrica, 57, 307-333.)?
|
From what I have learned, the alpha level tells you that if you repeat the experiment a bunch of times, then (alpha x 100)% of the time you will have a false positive. I'm confused though on if you're the one who gets to pick the alpha level, then how is this always the case? Like if my alpha is 0.05, 5% of the time I ... |
Could anyone provide me with either the steps for derivation for these formulae or a textbook that covers these ols derivations?
The textbook i’m currently using does not go over this.
$$\text{var}(\hat{u})=s^2\left[1+\frac{1}{n}+\frac{(x_{0}-\bar{X})^2}{\sum(x_i-\bar{X})^2}\right]$$
$$\text{var}(\hat{Y})=s^2\left[\fra... |
Say we want to fit some model to predict $\mathbf{E}(A | B)$, which is the expected value for some distribution (ex. Poisson).
What would be the benefit/loss of fitting this vs. computing $\mathbf{E}(A | C) * P(C | B)$ for some variable $C$, where we can fit both $\mathbf{E}(A | C)$ and $P(C | B)$ separately? Intuitive... |
I am trying to determine the MCID of a PROM using a anchor based method (ROC). I have the following dataset.
Delta_PROM
Status Anchor
30,6
1
18,7
0
The dataset has 800 rows. I'm using python, and I did the following:
Train/test split the data
Fit a Logistic model
Predicted probability of 1
Plotted ROC us... |
I have observations collected over a time period of 12 months. For each month, I recorded the total number of observations (n_per_month), the number of "success" events (n_success) and then computed the success rate as n_success/n_per_month (success_rate). Here it is an example of the data:
data_df = data.frame(month ... |
I have a set of data corresponding to several groups (group1, group2,...) split into 7 categories (cat1, cat2...). For each group, I have counted the number of individuals belonging to each category. So all the variables I am dealing with are discrete. In the end, I have tables that look like that :
Cat/group
cat1
... |
Assume I am interested in predicting a time series variable $y_t$ using a vector of possible predictors $X_t$ of dimension $N_x$. I am interested in finding the optimal $N_z < N_x$ predictive factors stacked into a vector $Z_t$. More formally the problem is
$$Z_t=AX_t+\epsilon_t$$
$$y_{t+1}=BZ_t+e_{t+1}$$
Here the dime... |
My study for my Bachelor Thesis consists of 3 independent variables and one dependent variable. I want to analyze whether cooperative attitude predicts a change in defending behavior against bullying in a one-year period AND if the cooperative attitude is moderated by popularity goal.
IV1: Defender Behavior (Time Point... |
Let $X_{1}, ..., X_{n}$ be random variables independent of $Y_{1}, ..., Y_{n}$, where both groups are iid with associated population means $\mu_{1}$ and $\mu_{2}$ and population variances $\sigma_{1}^{2}$ and $\sigma_{2}^{2}$, respectively.
Let $\bar{X}$ and $\bar{Y}$ be their sample means.
What is the variance of $\ba... |
I have a dataset of 1000 previous contests in a giveaway show where the contestant earns a random number of boxes named from "one" to "ten". The boxes contain either 1 or no gift. Each observation in the dataset has 10 independent variables ("one", "two", ....., "ten") representing the count of boxes presented to conte... |
I have a model where I use a negative binomial distribution with quadratic parametrization. I want to test whether some environmental variables affect the number (count) of a bird species:
glmmTMB(Nbirds ~ Jul_DateSc + MoonSc + WindSpeedSc + NmothSc +
DistanceFromCityCenterSc + RainSc + (1|location),
data... |
Nonparametric regression, or smoothing, concerns finding a function that smooths the data, and appears in additive models or generalized additive models. You could say we are trying to fit the model
$$y_i=f(x_i)+e_i$$
with a loosely specified $f$.
One general approach to finding $f$ is a moving average type of approach... |
Suppose I'm doing ordinary least squares with homoskedastic errors, so something like:
$$
y = X \beta + \epsilon
$$
where $\epsilon \sim \mathcal{N}(0,\sigma^2)$.
I know how to estimate the expected value of $\sigma^2$, but I'm having trouble identifying how to compute a standard error on that estimate. Something analo... |
It's common practice to do procedures such as standardization and even missing value imputation (commonly based on some means) after train/test split - otherwise it is treated as information leak from test to train.
But what sort of "leaks" we are worried about? If I impute "Apple" to empty "device_brand" fields, where... |
I am looking for a python library that implements Gaussian Process (GP) with monotonic constraints as the underlying function I am trying to approximate is known to me as monotonic. I am aware of the papers that talk about possible techniques, but couldn't find any python implementations. And I am not inclined to imple... |
Consider the following scenario:
A health insurance company offers a few dozen different health insurance plans.
Within each plan there are many benefits which can take on different values, such as different copays, different network providers, different medical vendors, etc.
Every year, members in each plan rate their... |
I would like some advice or path to follow to solve the following problem.
Consider a random variable $Y$ that follows a Dirichlet distribution $Y \sim Dir(\alpha)$. Let $X$ be a member of the Logistic Normal family of distributions, with density given by
$$ f_X( \mathbf{x}; \boldsymbol{\mu} , \boldsymbol{\Sigma} ) = \... |
Let's say I have a group of 10 students and I want to study the effect of a treatment on their memory.
I will have them each take 20 indistinguishable memory tests. Then I will administer the treatment and give them another round of 20 indistinguishable memory tests.
How would I make use of the fact that I have an ext... |
I have run a multiple regression model using a set of 10 categorical and numerical explanatory variables. This model results in 10 coefficients and their associated p-values. I would like to report the adjusted p-values (to correct for multiple comparisons). However, I would like to use a permutation test rather than t... |
The book I read mentions:
Even though, single features do not correlate with each other, sets of features can correlate with other sets of features.
I have an accelerometer, gyroscope, and magnetometer data where all of which are 3-dimensional [x, y, z]. How to calculate if they correlate with each other (for example... |
Note: this is part of Exercise 5.6 in Design and Analysis of Experiments, 2nd Ed., by Dean, Voss, and Draguljic.
If you go here and download the bicycle.txt dataset, then run some R commands such as
df = read.table("bicycle.txt", header=T)
lmod = lm(rate ~ trtmt, df)
plot(df$trtmt, residuals(lmod))
you will see that t... |
I'm quite interested in the topic of multi-fidelity Gaussian processes, which build a GP based on measurements with different fidelities. I have a very general question about this method.
Background: Assume that we only have two fidelities now. Why don't we just build a deterministic model for the low-fidelity measurem... |
Suppose I'm measuring concentrations of gas over time as well as relative humidity. How can I find the correlation between time series? The author suggests Pearson's correlation and the Cross Correlation Function and has a Ph.D., so I assume he knows what he's talking about. Is the CCF in R okay to use?
Some of his quo... |
I am training a CNN. The whole training process works well. Now the loss and validation metrics are fluctuating and no longer drop, but the maximum absolute weight of convolution layers continues to grow as the number of epoch increase. I am not sure what this means and what's the reason of this. Any ideas? Thanks!
|
I have an issue with specifying the lambda value based on cva.glmnet().
The lowest "binomial deviance" was attained in my data with alpha = 1 and lambda = 0.04126. It said that there were 43 predictors that were non-zero.
After this, I used glmnet() to create a list of the non-zero predictors, but I only got 27 of th... |
I am a physicist, and the following problem has arisen in my research:
Given functions $G_j:\mathbb{R}^2\rightarrow\mathbb{R}$ and parameters $\alpha_j\in\mathbb{R}$, for $j=1,2,\dots, N$, find two functions $\psi,f:\mathbb{R}^2\rightarrow\mathbb{R}$ satisfying $$G_j(\alpha_j x + \nabla \psi(x)) \left(\alpha_j^2 + \al... |
I keep seeing this curve and I understand this basically tells you how well the model is doing in terms of predicting True positives vs. False positives.
I was wondering if there is a version of this curve that plots True negatives vs. False negatives, or combines it with the previous True positives vs. False positive... |
RQ: analyzing the effect of completing a strenuous vs. more relaxing warm-up on reaction speed.
Methodology:
Randomly assigned the population to two conditions: complete a strenuous warm-up or a more relaxing one
All participants took the reaction time test 3 times before being exposed to their condition to establish ... |
How do you compute a binomial probability distribution for large $n$? If I try the following, I get an integer overflow in any programming language:
n!/((n-k)! * k!) p^k * (1-p)^(n-k)
The problem is those factorials. Is there a way to deal with this? An approximation that works well for large $n$? I read that the bino... |
I need to calculate the inherent quality for every sales position inside a retail store. A sales position is a piece of furniture that holds multiple products on display for customers. Given that every product has a different inherent attractiveness, I need to set up data entry and a regression model that will enable m... |
Suppose the correlation between baldness scores in group 1 (fathers) and group 2 (sons) is 0.5. Furthermore, let the correlation between DHT and baldness scores in group 1 (fathers) be 0.4, and the correlation between DHT and baldness scores in group 2 (sons) be 0.45.
How do I then find the partial correlation between ... |
I have fitted a conditional logistic regression model using the clogit() function from the survival package in R, and I would like to identify the influential observations in my dataset. I have tried several functions, including influence(), influence.measures(), and dfbeta(), but none of them seem to work for clogit o... |
When I try to link a file or image from a previous directory cannot load it in the browser says the error.
this is my directory
webdev/
. html/
. index.html
. css/
. para.html
When I link para.html in index.html through it doesn't work in bracey while it works in live-server and re... |
The following is an exercise problem from Hogg, McKean and Craig's book titled "Introduction to Mathematical Statistics" that I am working on.
3.6.16. Let $X_1$, $X_2$, and $X_3$ be three independent chi-square variables with $r_1$, $r_2$, and $r_3$ degrees of freedom, respectively.
(a) Show that $Y_1 = X_1/X_2$ and $Y... |
If I have a 2^3 factorial design (2 levels, 3 factors) with 8 treatments that cover all 7 combinations + control for main effects and interaction effects, how do I model my data?
I want to use a GLMM. Do I use the factors as fixed effects and combine them in all various combinations across the entire dataset, or do I u... |
I have a question about the normalization of datas and batch effect ...
For example, here is a dataset :
(list(PatientID = c("P1", "P1", "P1", "P2", "P3", "P3", "P4", "P5",
"P5", "P6"), LesionResponse = structure(c(2L, 2L, 1L, 2L, 2L, 2L,
2L, 2L, 1L, 2L), .Label = c("0", "1"), class = "factor"),
pyrad_tum_o... |
Slope Hypothesis Testing (Randall Munroe, xkcd)
The problem with this comic is obviously that the "measurements" are not independent, violating a key assumption for computing valid p-values. But I see also a possible problem with the fact that the dependent variable "grade" is constant for each student.
What is the c... |
I have one sample where participants saw ten images, and I am interested in whether there is a difference in which image got noticed first. So I have count data for this where each image will have the frequency of participants that looked at it first. My data looks like this.
A 5
B 4
C 11
D 2
E 0
F ... |
Please allow me to explain the background for my questions first. I ran a specific test comprising of adding various doses of a certain chemical and then measuring the effect of these various doses on the cleanliness of a liquid product. I repeated the same test about 30 times, with the same doses each time (i.e., for ... |
I have some measurements--tissue swelling in response to an injury--with limited precision (mm). Thus, although the underlying phenomenon is continuous, my values are discrete. The values range between 0 and 20 mm. Many of these discretised values are zero (i.e. no measurable tissue swelling, although it might be prese... |
I would like to be able to establish whether a sample (let's call it A) is more likely than another sample (let's call it B) to be drawn from the same distribution as a third sample (let's call it C).
Is it possible to use two two-sided Kolmogorov-Smirnov tests comparing A to C and B to C and then obtain a likelihood r... |
How do I calculate the partial correlation with an intraclass correlation? I tried asking earlier, but provided too much detail because it’s not easy to explain what I mean in a short or simple way. I’ll try to ask again in a more simple way but perhaps in a way that’s more interpretable. I want to know how to find/cal... |
Let's stick to ordinary least squares linear regression for now, and assume the typical conditions for the Gauss-Markov theorem. If it is helpful to assume Gaussian errors, that's fine.
In such a setting, even if the OLS estimator is unbiased when the needed variables are included in the model, when a variable is omitt... |
I have performed a multiple logistic regression because I wanted to see the association between Death and Cardiovascular disease. I adjusted using age, sex, risk factors.
The result came in ODDS RATIO with CONFIDENCE INTERVALS.
How do I do this using RISK RATIO with CONFIDENCE INTERVAL instead?
If I just do the ratio b... |
Let $e$ be a continuously distributed RV with pdf $f$ and let $q( x )$ be a binary RV that depends on the former through the relation $q ( x ) = 1[h( x ) \geq e ]$, where $h$ is a well-behaved function.
Because the binary nature of $q(x)$, it holds that its first two uncentered moments are identical (this holds in fact... |
I'm trying to find a way to get the posterior covariance function for a mgcv::gam fit. Assuming I have a simple model y ~ s(x), how do I find the posterior? Do I simulate and calculate covariances? Do I use some version of the code below?
Will appreciate any pointers!
# Gaussian process posterior
def GP(X1, y1, X2, ker... |
In Spatial Pyramid Pooling, I still did not get why we need Spatial Pyramid Pooling after the input layer. The motivation behind SPP according to the authors is to deal with input features of different sizes and generate a fixed representation output for further layers. But does not the previous layer that produces inp... |
Given that I have $C$ to spend on my experiment, what is the optimal number of individuals $n$ of my experiment?
Say that I want to estimate the mean $\mu$ of distribution of individuals
$$X_i \sim N(\mu, \sigma)$$
and I can sample several values from each individual which is distributed as
$$Y_{ij} \sim N(X_{i}, \tau)... |
I have sampled data and the residuals should be normally distributed, however due to the presence of a couple outliers the residuals are not normally distributed (Kologorov-Smirnov and Shapiro-Wilk < 0.001). The qqplots and residual histograms are “close” to being normal (if you’re being generous).
My questions are: (1... |
I have collected data on ADHD symptoms via questionnaires, so the participants score anywhere from 0-23 on this questionnaire and that would determine severity. Higher score = higher symptomatology. I also have EEG data, and I am looking at specific frequency bands (mainly theta and beta waves), this is in the form of ... |
So, I'm reading Steven Brunton's book, "Data Driven Science & Engineering", and I'm trying to understand what he means by mode in this following excerpt:
Most natural signals, such as images and audio, are highly compressible. This compressibility means that when the signal is written in an appropriate basis only a fe... |
I want to be able to calculate the optimal budget allocations for a number of media channels (TV, display, social) with regards to a KPI (revenue). I want to be able to use linear optimisation, similar to this example found here https://rpubs.com/PE_Stat/569796
However I firstly need to be able to calculate the ROI for... |
There are a lot of publications on missing data and unbalances in mixed models but I missed the issue when unbalances or missings relates to levels of a categorical variables.
Let's assume we want to study an education concept treatin schools. For this kind of analysis a mixed model would be appropriate. In R-notation ... |
I have fitted two linear mixed models, A and B, to a data set using lme4::lme: model B has one more predictor variable than model A.
Using check_heteroscedasticity and check_normality from performance package, I have confirmed that the residuals have homogenous variance in both models, however, both models have failed ... |
I need help with setting up my dataset to perform survival analysis with a time-dependent covariate. I read the Therneau et al. paper but I'm still unsure of how to set up the counting process format for my data.
Below is a test dataset similar to what I have.
Data: Liver transplant dataset where some patients are in g... |
I'm looking to see if a new material has an impact on sample results.
To analyze the impact I am running the samples using both materials.
Using the paired t-test there is one outlier that is keeping the test from failing.
All samples except the one outlier decrease in value with the new material.
The experiment also n... |
I'm not sure if I worded the question well or not, but here's my situation.
I'm trying to figure out how to calculate the average number of instances needed to reach state 3, starting at state 0.
State 0
65% chance of staying at state 0
15.75% chance of moving to state 1
10.5% chance of moving to state 2
8.75% chance ... |
In a multiple regression model, i.e. $y \sim x_1 + x_2 + x_3$, where $x_1$ and $x_2$ are collinear (e.g. present high correlation around 0.8), it is well known that many problems arise regarding parameter estimation or hypothesis testing (on $x_1$ and $x_2$). But how does collinearity affect the third non-collinear var... |
My general understanding is that, before running a clustering algorithm, one typically wants to consider trying to normalize or standardize the data depending on its content and use. In my case, I have a problem where standardizing features (centering and dividing by standard deviation) after l2 normalizing across the ... |
I am a grad student who is fairly new to all of this. I have a matrix likert table that I was wanting to compare across 3 different relationships to the land. I got the means and standard error for all 3 groups, and I was wanting to run an ANOVA to compare each groups vs. the other groups, but I'm not really certain ho... |
I struggle to understand how to implement a logical weighting of sentiment data.
I predicted the sentiment for multiple Reddit comments. How can I weight them according to their scores? The problem is sentiment data is going from -0.003 to 0.08 numerical, while scores can go from -1000 to 1000 (possible more). If you f... |
Question: Is there a straightforward proof of the following relationship between the (lower, non-regularized) incomplete beta function $\mathcal{B}(x; a ,b)$ and the (upper, non-regularized) incomplete gamma function $\Gamma(s,t)$:
$$\mathcal{B}\left(\frac{\alpha}{\alpha + \mu} ; \alpha, k + 1 \right) \sim \frac{\Gamma... |
I'm doing a meta-analysis studing lenght of stay after a particular protocol.
However, some studies report their results (meand and SD) in hours and others in days.
How can i change results in days to hours?
|
I have sampled two groups with different means before treatment. Would it be possible to run a $t$-test after the treatment to see if the original difference between the means changed? Most of what I have reviewed states that the two sample groups have to be the same.
|
I am trying to run PERMANOVA tests on multiomics datasets collected from coral samples using adonis2 (v 2.6-5). I found when the order of samples in my dataset change, the pvalues change, sometimes significantly. For instance, I have 4 time points (0, 1, 3, 5), and if the order of samples is 0, 1, 3, 5 the PERMANOVA re... |
I need to solve a tricky problem:
I have a dataset which has revenue lift data coming from 3 treatments. How do I attribute success to each treatment?
For example, we have a total revenue lift of 10%. This includes Treatment 1 + 2 + 3. How do I know how much credit Treatment 1, 2, and 3 individually get, causally speak... |
I'm currently performing a random slope model to figure out whether the hierarchical factor (categorical: e.g., school A, school B ...) is biasing my results. I've used the following model/code in R:
lmer(results ~ IQ + (IQ|School), data = mydata)
Linear mixed model fit by REML ['lmerMod']
Formula: results ~ IQ + (IQ ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.