instruction stringlengths 9 38.7k |
|---|
We have two networks (G1, G2), one with 4 times more nodes than the other, and we want to compare the eigenvector centrality of their three most central nodes (e.g. top_1 node of G1 vs top_1 node of G2).
How should we normalize the eigenvector centrality scores to account for the difference in node size between network... |
My data are for an experiment asking participants to detect a tone (Response= 1 or 0) in different (within-participant) conditions. I am interested in how participants' scores on separate questionnaires affect task performance.
I run a series of logistic mixed models with different covariates and predictors of experime... |
I am investigating MIMIC (Multiple Indicators Multiple Causes) models since with them I can do regressions, including factors (made up of several items), and the observed variables (glycemia, cholesterol, blood pressure, etc.)
The issue is that I only get the probit coefficients, which beyond the sign and magnitude, do... |
I am trying to inspect the data from a 2 x 2 factorial design. The experiment was run by other researchers and the design was settled upon before.
Participants were tested 3 times using 3 different texts. These texts can be defined by two factors with two levels each. I will give you a comparable example:
Factor 1: Lex... |
I have a log-density of the form:
$$P(\mathbf{x}) \propto \exp\left( - \mathbf{b}^{\top} e^{ \mathbf{x} } - \frac{1}{2}\mathbf{x}^{\top}A\mathbf{x} \right)$$
where $A$ is a symmetric positive definite matrix. Here $\mathbf x, \mathbf b \in\mathbb{R}^N$ are vectors in $N$ dimensions, and $A$ is $N\times N$. The componen... |
Say I have population $ n_1{} $, where each individual samples is unique and contains multiple traits. A subset of population$ n_1{} $ forms a population that I'm interested in, called $ n_2{} $. Each member of the population $ n_2{} $ contains a unique trait that is normally distributed. Is it possible to calculate th... |
I've derived some clusters from categorical data using a few of different methods - k-medians, k-modes, k-medoids, etc etc.
I've used validation-style methods for the determination of optimal k. The validation methods agree on $k^*$, however, I'd like to assess intra-cluster quality.
So, for example, I'd like to test t... |
I am using xgbclassifier to do feature selection by removing variables based on feature importance. I checked the roc_auc_score through 10 cv, and got an average value of 0.785 when 5 features were removed and 0.786 when 12 features were removed. However, the simple average is not clear whether the model with 12 variab... |
I aim to sort random values from a normal distribution, but solely based on knowing the distribution parameters (mean and standard deviation) without resorting to traditional sorting algorithms.
Since there is an analytical solution to a normal distribution, knowing its mean and standard deviation, I am interested in m... |
I've got a question about the usage of Global Average Pooling layer (GAP).
I am working on the classification of sea level pressure data, where obviously the location of high/low pressure system matters.
The original paper on GAP states:
Furthermore, global average pooling sums out the spatial information, thus it is ... |
I would like to do regression analysis (linear/non-linear) using gam models for soil toxic elements and epigenetic age acceleration; here, we have measured soil elements (mg/kg) using ICP-MS in four different cities.
I have used the below code with the interaction (cities) term. Still, it has been advised that this is ... |
Title:
Variance of EM Estimator in GMM with Respect to Observations
Body:
I'm estimating a parameter S from observations X and Z using a Gaussian Mixture Model (GMM) for P_{S|XZ} and the Expectation-Maximization (EM) algorithm. I seek to understand the variance of this estimator concerning X.
Model: P_{S|XZ} follows a... |
I have seen a few Kaggle notebooks that list without reason that RFE works better when removing correlated variables. I struggle to see the reason why so I conducted some of my own research and would like to verify if my conclusions are correct.
From my research with sklearn's CART algorithm, I have taken a good predic... |
I am currently in a position where I have two datasets, one consisting of longitudinal data collected at 4 different time points, and another consisting of only single time points (e.g. data collected at the first time point only, and data collected at the second time point only etc.). It has come to my attention that ... |
In the field of cryptography, one is concerned that algorithms execute in so-called "constant time" (more precisely, independent of the input data, or at least the parts of the data which are secret; variability in execution time correlated with public data is acceptable). Otherwise, this may leak data that an attacker... |
Is there any difference between using a masked autoencoder and applying masked augmentation (as proposed in the Hide and Seek Paper) when training a regular autoencoder?
Follow up: Any issue with using masked augmentation with CNNs as opposed to ViT?
|
I have the following regression including an interaction term and fixed effects
feols(work ~ i(age_cohort, log(tot_bomb_per)) + yrschool + nchild +
married + as.factor(minority) | geo1_vn1989 + age_cohort,
subset(phc89, female == 1 & birthyr > 1925 &
birthyr < 1974 & migration == 0),
w... |
We have an experiment with 102 individuals in total. We have an outcome $Y$ (which is a variable related to the structure of a given bone), and we want to know whether this variable $Y$ differs depending on sex. For most of the individuals (but not all), $Y$ was measured on both the left and right sides of the body, so... |
I have a big dataset of 2304 values : 384 different genes expression values in triplicates and for 2 different groups (ie, different treatments). I only want to compare the same genes between the 2 groups: e.g., gene A-treated vs gene A-control, and so on... and get the p values. I am NOT trying to compare different ge... |
Introduction
I'm delving into Gaussian Mixture Models (GMMs) within unsupervised learning frameworks and am particularly interested in their statistical properties, with a focus on entropy. Entropy measures the uncertainty or randomness within a probability distribution. For a singular Gaussian distribution, its entrop... |
In frequentist hypothesis testing, the value $P(\text{data as extreme as observed} | H_0)$ is calculated, and if it is less than a certain threshold, $H_0$ is rejected. I understand that the notion of "extreme" needs to be defined, which depends on $H_1$. It might be defined explicitly using likelihood ratio, but often... |
My question here is a specific example of what was discussed in part in the answers of Bootstrapping test set? .
Suppose I train a model where I cannot mathematically derive a confidence interval for the error (think random forest or neural network), and further suppose that the test set and training set have roughly t... |
In Chapter 10.3.4 of Introduction to Statistical Learning with Applications in Python by James et al. there is a sentence on data augmentation for CNNs (adding natural transformations of images into the training set to improve generalization) which says:
This kind of fattening of the data is similar in spirit to ridge... |
I have some data and need to know the average commission of all the items. For each row, I calculate the percent of items sent out. If I wanted to know, "What is the average commission", which is correct, $14.96$% or $12.89$%?
Item Cost Revenue Commission
1,000 289 28.90%
... |
I'm a biology researcher, working on a manuscript that involves folks from outside of my discipline. They are using PCA to create indices of demographic variables, to categorize geographic areas. For one of the cases, they actually used subsets of the variables, ran 3 separate PCAs, and then used the results of those a... |
I'd like to build a classifier for my widgets! Here is my data:
Class
Feature 1
Feature 2
...
[1,5]
0.1
"E"
...
4
1.7
"B"
...
[2,3,5]
0.8
"D"
...
...
...
...
...
I.e., for some observations I only know that they belong to one class within a subset of the 5 possible class labels, but I don't know exactly... |
I have a repeated measures experiment with 5 factors each with 3 different levels. I'm trying to figure out a way to reduce the demand on participants by making them not have to sit through every condition.
I had been looking into part factorial designs, but it occurred to me that I could possibly run a multi-level mod... |
The study analyses the eye gaze of users and sees whether eye gaze can be used to predict the memorability of the scenario. My goal is to look at the interaction between time and visual target (screen, robot, and others) and see if the user's gaze distribution at an earlier stage (specifically, the first 25 seconds out... |
I'm working with spatial data and I have the following log-linear model for count data. Let $y \sim Poisson(\lambda_{i})$ such that
$$
\log \lambda_{i} = \text{x}_i^\top\beta_{} + \epsilon_{i}
$$
such that $\epsilon_{ij}$ is the spatial effect at site $i$.
I have counts for each site that I want to analyze as a respons... |
I am wanting to run a linear regression to better understand how force is a function of position in terms of delaminating/warping face frames. This is with respect to a product manufactured related to mechanical engineering. So I took force measurements at 8 different locations around the face frame for 20 separate uni... |
This is regarding cointegration or VAR analysis of bivariate systems. The Granger causality will either say that instrument 1 (say fund) and instrument 2 (say index) are either not Granger causing each other or that the instrument 2 is Granger causing instrument 1.
However, when I see the FEVD output, more than 90% of ... |
I'm working with data that fit the Skillings-Mack test: unbalanced incomplete block design. Or Friedman-test-like with missing data.
In case of negative test result I'd like to estimate the maximum effect size that can "hide" in the data.
With Friedman-test I can fairly easily estimate the size of the effect by taking ... |
Needing some help with verbiage and opinions on how I am approaching this model.
I have counts of people over the past 24 months.
month
count
1
100
2
105
...
...
24
200
First, I reverse the months to this:
month
count
24
100
23
105
...
...
1
200
I create multiple custom periods from mont... |
I know that this isn't always a straight forward question to answer, but I am working on a provincial wide wetland classification model that has $7$ classes and $32$ or so explanatory variables. In my model, I have a $92 \%$ OA and somewhere in the ball park from $90 - 98$ PA and UA. After inspecting the model and usin... |
This answer to a question on Math Stack Exchange got me thinking about a confusion matrix as more than just a rectangular array of numbers. We don’t talk about a confusion matrix as a linear transformation, but we do call it a “matrix,” so why not think of their linear algebra properties.
It seems that the determinant ... |
By definition, the T distribution is the ratio of standard normal variable and sqrt of scaled $\chi^2$ variable. The "popularized" version of (one sample) t statistic goes like this: $\frac{\bar{x}-\mu}{S/\sqrt{n}}$. But really, this is derived using $t = \frac{Z}{\sqrt{\frac{\chi^2_{(n-1)}}{n-1}}} = \frac{\frac{\bar{x... |
I find important differences for the confidence interval values between the two methods below with bootstrap :
First : quantile(Rs, prob=c(0.025, 0.975))
and Second : tanh(atanh(R) ± 1.96 sqrt(n-3))
(second explained [there]How to calculate a confidence interval for Spearman's rank correlation? )
Is there a mistake or ... |
In Wang "Multiple testing correction in time series: rolling window analysis with applications of GWAS methods" (2022), the author mentioned that bootstrap minimum $p$-value can be applied on the residuals of fitted AR model (p. 26). Is it possible to apply it on a DLM with daily death count as dependent variable and t... |
I was fitting a linear model and there was strong multicollinearity present in the data. So, I decided to residualize one regressor variable to reduce the multicollinearity and fitted the model again. The beta cofficient for the variable before and after residualizing the variable was same. But should the interpretatio... |
In A practical guide to methods controlling false discoveries in computational biology, the author mentioned 'Exchangeability':
According to Wiki, the definition of 'Exchangeability' is :
In statistics, an exchangeable sequence of random variables (also sometimes interchangeable)[1] is a sequence X1, X2, X3, ... (whic... |
I experimentally tested the relation between dependent variable $y$ (continuous) and independent variable $x$ (continuous) for $10$ replicates of $2$ plant varieties (categorical) of $3$ species (categorical) each (Variable $A$) that were grown in $3$ differently pre-treated soils (categorical, Variable $B$). The exper... |
Setting
Let data $\sim N(\mu, \sigma^2)$ where we consider $\sigma^2$ known.
Prior: $\mu \sim N(m_0, \sigma^2 / n_0)$.
Question
I'm trying to calculate $A / B$, where
$A = p(data | \mu = m_0, \sigma^2)$
$B = \int p(data | \mu, \sigma^2) \,\, p(\mu | m_0, n_0, \sigma^2) \,\, d\mu$
Can yo help me to obtain the result... |
Is there a way to calculate p-values from bootstrapped CIs extracted with the quantile function?
bs1 <- replicate(1000, sd(sample(c(10,23,21,12,14,14,13,14,15,25),
10, replace=TRUE)))
bs2 <- replicate(1000, sd(sample(c(10,11,10,13,13,13,14,19,12,23),
1... |
I have a multi-generator process which generates around 1200 data points per minute consisting of ~80 processes which contribute more or less evenly to the data points. Each singular process should in theory produce the same measurements, in reality they differ but not in an extreme way. Due to the amount of data, each... |
Suppose you use Bayesian methods to calculate the probability density function (pdf) of a quantity of interest $X$, given its measured value $x$ (measured only once) and some other assumptions/constraints/knowledge about the experiment.
Can you then use that pdf to calculate an expected value for $X_{exp}$ (integral me... |
I am trying to test the measurement invariance in my one-latent-factor model. I have 24 questions coded "correct" and "incorrect" and 3 different groups in my data. The sample sizes are approximately 200 for each group.
Since there is some missing data, as far as I know, I can't run the CFA models with the WLSMV estima... |
Suppose I have a negative significant effect of a variable x on y. Also negative significant effect of the lag ie variable L1.x on y . But I get a positive sign significant effect on y in the future period ie lead1.x.Is it always the case there is something wrong with my identification?
|
I have a binary classification problem, and two ML models $A$ and $B$. I evaluate performance of these models using the area under the ROC curve (AUROC). I want to assess whether model $A$ is significantly better than model $B$. My test set is rather small (156 samples). Since it is drawn from an unknown distribution (... |
In several articles I've red that when using proportional odds (PO, or cumulative logit) model it is natural to collapse adjacent categories of outcome since the slope parameter remains unchanged. Currently, I'm utilizing the clm() function in R with the following syntax: clm <- clm(response ~ time + Group, data = Dat... |
I experimentally tested the relation between dependent variable y (continuous) and independent variable x (continuous) for 6 replicates x 2 genotypes (categorical) x 3 species (categorical) each (= treatment A) that were grown in 3 differently pre-treated soils (categorical, = treatment B), resulting in 108 plants. The... |
I am reading a medical paper, where it says:
There was a statistically significant improvement in dyspnea in the IPC group at 6 months, with a mean difference in VAS score between the IPC group and the talc group of −14.0 mm (95% CI, −25.2 to −2.8 mm; P = .01)
However, I thought that since -14 lies within the CI of -... |
I recently started to work on a case-control study using repeated measures over time (Modeling repeated measures data in R - Interpretation and Validation). I have several dependent variables and I would like to fit a linear mixed model on each of them.
My question is: should I adjust the p-values of the coefficients o... |
The cost function of the Optimal Margin Classifier(non-kernelized SVM) is given as :
$$
J(\mathbf{\vec w}, b) = \frac{1}{2}\|\mathbf{\vec w}\|_{2}^{2} + C \sum_{i=1}^{n}\max(0, 1-y ^{(i)}(\mathbf{\vec w}\cdot \mathbf{\vec x}^{(i)} + b))
$$
Why do we multiply the regularization parameter $C$ with the error term instead... |
I include single group pretest-posttest study designs in my meta-analysis. I calculate the effect size as follows: difference between posttest mean and pretest mean divided by the standard deviation of the pretest mean (Becker et al., 1988). The variance of such an effect sizes depends on the correlation of the pre- an... |
I have an odd scenario where I am trying to regress a numerical variable on several categorical variables, with no other numerical variables. I have roughly 23k rows of data in my real-world example. The R function lm handles categoricals just fine - at least mostly. However, I find that I don't get coefficients for ev... |
I am using the varclus function from the Hmisc package in R. Are there ways to produce summary tables from varclus like those in SAS, containing information like proportion of variance they explain, $R^2$ with own cluster an next closest, etc. I'm especially interested in how to calculate the $R^2$ for own cluster and ... |
I have a non-normal paired sample dataset. Each row represents a dog that has been tested for an experiment. Each dog was provided with three cues (treatments): 5s cue (aka only face cue), vocalone (face + vocal cue), vocaltwo (face + vocalcue*2). The cues were provided consecutively. Depending on their behaviour, they... |
I am fitting a bivariate skew normal distribution to a 2D data through the sn package in R. I get a $2 \times 1$ vector of location and shape parameters $\beta$ and $\alpha$ as well as a $2 \times 2$ scale matrix $\omega$.
In the case of univariate skew normal distribution, I understand the expectation and the variance... |
Say I have an equation
$y=\alpha_0+\alpha_1 x_1 + \alpha_2 x_2$
and I'm testing for a structural break (SB) in one of the slope coefficients. How would I discriminate between the breaks. For example if over some period(s) there is a break associated with $\alpha_1$ and then later there is a break associated with $\alph... |
I am looking for a distribution with a differentiable PDF $f:(0,\infty)\rightarrow (0,\infty)$ for which for any $\delta>1,z>0$, the two following integrals are finite elementary functions of $\delta$ and $z$:
$$\int_0^z{x^{\delta} f(x)\,dx}$$
$$\int_z^{\infty}{x^{-\delta} f(x)\,dx}$$
The distribution's CDF ($\int_0^z{... |
I am trying to fit a moderation mediation model (please see the figure)
So I have a clasic mediation model and a moderator for the association between the mediator and the outcome.
I want to fit this model in lavaan (or another package) and I know how to do the mediation model but I am struggling to add the moderator.... |
I calculate a distance between each point $c(x,y)$ and each point of $p(x,y)$. I need to find maximum among minimums of function:
def func(p,c):
return math.sqrt((p[0] - c[0]) ** 2 + (p[1] - c[1]) ** 2)
where p and c can be presented as lists
p = [[1,2],[2,2], and so on]
c = [[2,2],[3,3], and so on]
In ... |
I am doing my first research and so have no experience in analysis, only theory. I have worked out how to test my moderator relationship using PROCESS model=1, however I am not sure how to test the other hypotheses in SPSS since it seems PROCESS is only for my H3?
IV = X; DV = Y; Moderator variable = W
All are continuo... |
I am working on a data set containing resistance exercise data of multiple participants. I am examining 26 weeks of data points from males and females in different age groups with different training status.
To render the force measurements comparable and plot the progress over time. I normalized the force data (maxForc... |
I've trying to preform a PERMANOVA using adonis2 on a dissimilarity matrix. My code looks like this.
adonis2(formula = bray_curtis_dist ~ treatment, data = metadata,
permutations = 999)
For the metadata, if I change around the order of my samples (say I order by treatment rather than by ID), the results chang... |
I am currently trying to understand the analysis of strip-plots (in R) and I came across the example described here (https://www.statforbiology.com/_statbookeng/a-brief-intro-to-mixed-models):
dataset <- read.csv("https://www.casaonofri.it/_datasets/recropS.csv")
head(dataset)
## Herbicide Crop Block CropBiomas... |
Suppose my dependent variable is a continuous variable and is normally distributed. And I have three IVs: one is a continuous variable, and the other two independent variables are categorical. What type of test and analysis should be used? The sample size is 400.
|
Each data point is a 120-second long time series with gaze distribution over different visual targets for each of the frames (using 30fps). The response variable is memorability. So, for 1 single scenario, we have 3600 frames. My question is, what is the best way to model this if I want to see if the beginning 25 secon... |
I ran a growth curve model (GCM) with covariates and used the 95% bootstrapping CIs to interpret the effects of the covariates on the intercept and slopes. I noticed that the upper bound of the CI of the standardized effects on the slope is above 1. I am wondering about this because normally the standardized effects ar... |
I found a lot of articles talking about manufacturing process optimization using ML but I could not find detailed methodology with state-of-the-art algorithms to use for this. Classical ML algorithms are meant to predict while process optimization are about explaining data. To do so, I found ways to retro-engineer mode... |
What are the options for loss functions, when trying to compare the volatility (sigma) forecasts from different GARCH models? I was thinking about the Qlike function but am not sure if this would give the loss on volatility or the mean values.
|
The question: I'm wondering if anyone knows of a way to obtain a confidence interval on a probability estimates obtained from a model (e.g., from a logistic regression model or a neural network) in a binary class prediction setting (i.e., the model only outputs a probability prediction that is then used to decide wheth... |
The maximum likelihood estimator for linear data $y_i = \beta x_i + \epsilon_i$ with i.i.d. normally distributed errors $\epsilon_i \sim \mathcal{N}(0,\sigma^2)$ is ordinary least squares, i.e.
$$\hat{\beta}_{\text{Normal}} = \text{argmin}_\beta \sum_i (y_i-\beta x_i)^2.$$
However, if the errors are Laplace distribute... |
We are talking about zero-inflated negative binomial models.
In this post Ben Bolker said:
The p-value in the zero-inflation term is not really useful (and should probably be eliminated from the model summary); it compares the coefficient (log-odds of zero-inflation) to a reference value of zero, which would correspon... |
I am working with ecological count data in order to analyze differences/any contrast in species composition between warm and cold year communities. The abundances of species were recorded from multiple sites, with two trips per site. For example in September of 1999, species were collected/recorded twice from Site 1. I... |
I'm confused because if FIM is $I(\theta)=Var_x(s(\theta|x))=Var_x({d \over d \theta} log(L(\theta|x)))$ (variance of the score) and the MLE estimates are $\theta^*=dt * \sum^\infty_{t=0}{d\over d\theta_t}log(L(\theta_t|x))$ (gradient ascent of log-likelihood).
Then shouldn't the variance of the MLE estimate $\theta^*$... |
I am beginning an exploration on the topic, and was given the task of 'guesstimating betas 0 and 1' within 90% accuracy.
I tried many silly things, like using the data and then using google sheets to give me the linear regression equation of the data and assume that beta0 was the intercept and beta1 was the coefficient... |
Let $F$ be a distribution with two parameters, $\theta$ and $\phi$, whose values are non-random but unknown. Consider a sampling procedure in which $N$ samples $x_1, \ldots x_N$ are obtained from i.i.d. realizations of the distribution $F$. The sample size $N$ can be fixed, or can be randomly given by a sequential samp... |
I'm trying to figure out what could be some reasons when we do the AB testing we're seeing average revenue per user increases for each country but when we calculate the overall average revenue per user( combine total revenue/total users), the metric decreases...
|
I'm working on a problem,
Consider that a times series $\{y_t\}$ is generated from an $\text{ARIMA}(1,1,1)$ model, so that $$y_t-y_{t-1}=\alpha(y_{t-1}-y_{t-2})+\epsilon_t+\gamma\epsilon_{t-1},$$ where $\alpha$ is the AR parameter, $\gamma$ is the MA parameter and $\{\epsilon_t\}$ is a Gaussian white noise sequence wi... |
In parallel tempering, we run multiple MCMC chains in an ascending temperature ladder, where the posterior density of the $i$th chain is exponentiated to the reciprocal of the temperature of the $i$th chain.
$$
f(x,\theta\mid T_i) := f(x,\theta)^{\frac{1}{T_i}}
$$
Then chain states are swapped at intervals with probabi... |
Does this intuition behind why an activation function is used in a neural network make sense mathematically :
For this example lets consider a fully connected (NOT CONVOLUTIONAL) network that classifies numbers 0-9. A network WITHOUT an activation function will be able to do well on numbers that are similar to the size... |
As my research revolves around parameter estimation from signals that evolve in time in a random fashion, I am curious to know what features/ retrievals people normally use to determine the parameters of such processes.
The techniques I am familiar with are based on the parametric forms of the covariance or the power s... |
I am running an XGBoost model to predict the global economic cost of invasive species. My training set is only about 3000 data points.
I am bootstrapping my predictions, and went with the default 1000 samples. I see other questions in which answers recommend at least 1000 samples (Rule of thumb for number of bootstrap ... |
Some background about myself: I have sufficient knowledge in probability but not in statistics.
Suppose I have $n$ i.i.d samples, $\{x_i\}$, sampled from an unknown distribution $X$. Given a function $f: \mathcal X \rightarrow \mathbb R$, I want to conduct a statistical test using this sample to determine if $f(X)$ is ... |
I have a dataset of ellipses and I am trying to perform regressions with different categorical variables to see what influences different ellipse parameters the most. As was suggested in the answer to this post, I used beta regressions for predictions about ellipse eccentricity (varies between 0-1), along with likeliho... |
In longitudinal studies, there are two longitudinal projects with the same measurements.
Study A: (Wave 1) 2015 -> (Wave 2) 2019 (4-year longitudinal)
Study B: (Wave 1) 2018 -> (Wave 2) 2023 (5-year longitudinal)
When combining these two studies, concerns arise due to the different measurement points (Study A: 2015 vs.... |
I've been reading Forbes & Rigobon (2002) "No contagion, only interdependence" article, in which they suggest to adjust the correlation coefficients for heteroskedasticity.
I can't figure out the steps to measure the adjusted correlation coefficients however. They provide this equation for the adjusted correlation coef... |
I'm trying to formulate a problem using survival analysis to forecast the next occurrence, but every observation is an event, i.e you can't observe an event not happening. Each observation has a user ID, and I'm trying to see when the next event is going to happen for each user ID/
Would it make sense to use survival a... |
In my problem, it is possible to have multiple predictions for a ground truth instance. How we define precision in such scenarios?
For further clarification consider the following example. We have 1 ground truth (positive, think of it as a bounding box around a dog where you want to find such bounding boxes) based on a... |
In a pilot study with two groups, the control distribution has the Mean1 = 90, SD1 = 5 and the treatment distribution has Mean2 = 85, SD2 = 5. The null hypothesis of the test is that the sample populations have the same mean. Find the effect size and determine the sample size needed for the test in which a power of 80... |
In a comment reply on Frank Harrell's answer here, in relation to interpreting an interaction, he says this should be done by:
double difference contrasts and a series of single differences at different levels of interacting factor.
What exactly does this mean, and can someone please show an example of doing it ?
|
I have been given a task to approximate the function 5x^3 - 10x^2 - 5x - 9 using a neural network in pytorch. The training data is the set of integers in the range [-100,100] and I have to test the trained model against a non-integer value.
For the same, I have used a neural network with some layers and activation func... |
I have the following example using gamlss to fit optimal distributions.
z0 are random variables of normal distribution with mu=1 and sd=2.
z1 should fit the best distribution: in my case it returns BCCG as best.
z2 fits a normal distribution.
z3 should fit the proposed BCCG, however this fails.
Why does this happen?
... |
Let me start by saying that I am rather new to GAMs and using the mgcv package, so let me know if this question has already been addressed thoroughly in this forum. I am aware that there already exist a number of posts addressing the same issue, e.g.
Why does including latitude and longitude in a GAM account for spatia... |
Let's say I have a binary classification problem; two classes $A$, $B$ that I want to predict from a bunch of features.
But, I am also given a (predicted - will be close to accurate) probability that it is class $A$ and a probability that it is class $B$. Let's say $0.78, 0.22$ respectively. It is these probabilities t... |
In my experimental design I have 4 treatments, 3 replicates per treatment and 3 blocks. In each plot I measured whether a plant is infested or not ("Infestate" variable). This measure has been performed to 30 to 40 plants placed at the centre of the plot. Sampling has been performed weekly (variable "Data_rilievo) on t... |
Basing on the paper here:
https://users.ssc.wisc.edu/~bhansen/papers/tcauchy.html
both estimators suffer from the risk of downward bias. The paper defines the estimator of variance centering at the full-sample estimator $\hat{\beta}$ as $\hat{V_4}$, while the one centering at the mean of delete-one-sample estimators $\... |
Let's say I have time - series data for 100 products in a particular store. I fit 100 regression models to generate 1-step forecasts for these products.
Let's say that all features are common across datasets, such as calendar and promotional events.
I compute SHAP values for such features and sum them up to find the ag... |
I have gathered data from 100 participants and want had the data labelled using two different methods. Meaning that I have 2 datasets for each participant, one labelled by method 1 and one by method 2. To give you an overview of the data, it is currently formatted like this:
participant
label
frequency
method
1
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.