instruction stringlengths 9 38.7k |
|---|
I have read a number of questions where the crux is a lamentation that a rare outcome is unable to be predicted by a regression model of some kind. While I understand the desire to be able to reliaby predict these events (imagine being able to predict major financial crashes) and the disappointment in not being able to... |
I'm trying to figure out how to test if the count of benthic species is significantly different between two transects. We have 13 species in this example, with two transects, each transect having a different % abundance for each species.
What test should I use for this? My knowledge is limited to basic statistics, like... |
I wonder what are optimizers with adaptive learning rates in deep learning? Are there any drawbacks for using them that we should be aware of? If there isn’t any, why are we still using old-school optimizers with strict learning rate parameters? When to use an optimizer with adaptive learning rate like Adam or a classi... |
I have a question about performing a mixed effects model with random effects in R. I want to test whether there are differences in symbiont genus between coral genera from 4 different types of reef habitat.
Due to host specificity there is an interaction with coral genus. Basically I want to see if there is a differenc... |
I ran a gamlss to predict my response variable Y with 2 categorical factors PROTECTION and JOUR
Mu Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -1.4868 0.4652 -3.196 0.00241 **
PROTECTIONF 2.9102 0.8705 3.343 0.00158 **
PROTECTIONG 0.9573 ... |
I am using GLM to analyze the effect of career type (4-category discrete) on performance score in a competition (1-100 continuous). I am interested to know whether a particular career type results in a higher performance score, as well as whether there is a difference in performance scores between career types.
For the... |
I'd appreciate help checking my basic understanding of how to use Bayes factor in a practical A/B/C test.
Is this general understanding of how to use Bayes' factors in A/B/C testing correct?
Let's say:
I am testing 3 versions of a web page: A= an unchanged control version, B= new version 1 and C = new version 2.
I cre... |
Please help! I am using binary logistic regression to model the probability of nesting in 5 different habitat types, with 1 = nest presence and 0 = random point. I have 5 different habitat types and want to know which one is most important, or most selected for.
However, I am having trouble interpreting which one is mo... |
I'm taking the free Caltech machine learning course. I'm having trouble understanding the notation on one of the problems:
In this problem, you will create your own target function f and data set D to see
how the Perceptron Learning Algorithm works. Take d = 2 so you can visualize the
problem, and assume X = [−1, 1] ... |
I have multiple samples of a discrete variable. For each sample I see the frequency of each value of the variable. I am taking one sample to be my benchmark, call it Q. I want to estimate the distance between Q and all other samples.
To do so, I am using the Jensen-Shannon Divergence. However, my samples are in differe... |
Just for context, I am using optuna to optimize hyperparameters of BERT model.
I limited all my hyperparameter values to discrete and there are around 2000 possible combinations.
I was wondering if there are any calculations/guidelines/empirical suggestions on how many trials one should run? I know it is somehow indivi... |
Suppose I have $N$ numbered urns, each with different colored balls.
Now I have some fixed discrete distribution that I use to draw a random number $i \in \{1 ... N\}$.
I now pick a ball from urn $i$, without replacement.
Suppose that the first urn has orange balls that I care about getting. What is the probability tha... |
I have theoretical information about 100,000 molecules, and experimental information about 80 molecules. In both cases, I compared the variables X and Y, and ended up with a theoretical and experimental linear model as follows:
Yt = 1.4 x Xt - 0.5
Ye = 1.7 x Xe - 4.5
I am unsure if these two equations can be compare... |
I'm going over my practice midterm, and the last question has me stuck. It goes:
Let $n \geq 1$ be an integer and let A be a symmetric $n \times n$ matrix (not necessary
positive definite) for which all its eigenvalues are non-zero. Let $a \in \mathbb{R}^n$ be a given vector. Consider the function $f : \mathbb{R}^n → \... |
I am trying to understand the relationship between OLS and the Method of Moments. Specifically, why OLS is considered a special case of Method of Moments ... and why Method of Moments is a special case of OLS.
I read that for a simple regression model:
$$y_i = \beta_0 + \beta_1x_i + \epsilon_i$$
To do moment estimatio... |
As I understand, in simple linear regression, we have two options:
OLS: OLS estimator is BLUE: Best (Lowest Variance) Linear Unbiased Estimator ... also normally distributed when sample size is large and consistent.
MLE: MLE estimator has same properties: unbiased (but not for variance), also consistent (when likeliho... |
For linear regression analysis, will changing the indicator variables
change the table of sums of squares? Is there a way to illustrate this through a mathematical way via statistical formula or equations.
|
I have panel data for 5 time periods and about 10,000 geographic units.
My dependent variable Share is the share of workers in a specific category, and my descriptors represent various factors that have an impact on Share, such as the distance from the rail station, wage level, availability of alternative jobs etc.
The... |
I suspect I don't know the academic or SEO word for what I'm looking for. Put simply, I want to know a group's total expected success rate given each member's likelihood of attempting the "trial" and each member's likelihood of success. Each member can have 0 or 1 attempts, and all are independent.
In the most trivial ... |
I have about 20 years worth of monthly data tracking an indicator. My goal is to determine whether the indicator is going up or down over those 20 years.
Mann Kendall tests seem like a good option since the trend isn't exactly linear and the test is non parametric.
However, I'm torn between running the Mann Kendall tes... |
I am encountering a probably fairly common problem where I have too many features, lets say 500 possible features.
I only want to pick the top 10-50 features that would be the most predictive of y, or eliminate as many of them as I can before I do preprocessing. The reason for this is that I have 10 million rows, and a... |
I am doing human activity type classification (classifying activities such as sitting, walking, and riding a bike). The data is collected from 12 different participants and each activity type from each participant has a different sample size. There exist certain intraclass variabilities. How do I statistically test whe... |
Suppose I have a population with a known mean, range, and variance of a characteristic $v$. I am producing sets from this population that are of negligible size compared to the size of the population. I sample each of these sets and measure $v$ on each of my samples. Let's say the size of the set is $N$, and I take $n$... |
My Y variable (output) is binary (0 or 1). I have 10 input variables in total, 3 of them are scaled variable, 2 of them are ordinal number therefore being written with C( ). Rather than running the forward and backward by adding or deleting the variable one by one, is there any automated code that could suggest the bes... |
On Wikipedia the null hypothesis of the Ljung Box test is given as:
$H_{0}$: The data are independently distributed (i.e. the correlations in the population from which the sample is taken are 0, so that any observed correlations in the data result from randomness of the sampling process).
Why is the null hypothesis "t... |
This question has been addressed previously in here but my question is different. It is from Hogg and McKean's "Introduction to Mathematical Statistics".
Theorem $5.2.7.$ Let $\{X_n\}$ be a sequence of random variables bounded in probability and let $\{Y_n\}$ be a sequence of random variables that converges to $0$ in ... |
Let $X = (X_1,\cdots, X_n)$ where $X_1,\cdots,X_n$ be i.i.d from the uniform distribution $U(0,\theta)$ with $\theta>0$. I was asked to show the regularity condition of the Cramer-Rao lower bound:
$$\frac{\partial}{\partial\theta}\int h(x)f_\theta(x)dv = \int h(x)\frac{\partial}{\partial\theta} f_\theta(x)dv$$
does not... |
Why do I get significantly different answers from the logistic regression and survival analyses? How can I fix this code?
Logistic regression:
logit1 <- glm(Hospitalization~ Age+Sex+Race_cat+Condition+Tobaco_Use+previous.positive+Vaccination_Category, data = dataset_D,family = "binomial")
status.top ... |
the function loss of VAE is :
def vae_loss(y_true, y_pred):
reconstruction_loss = binary_crossentropy(y_true, y_pred)
kl_loss= -0.5 * K.sum(1 + z_log_var - K.square(z_mean) - K.exp(z_log_var), axis=-1)
kl_loss *= self.beta
return K.mean(reconstruction_loss + kl_loss)
but the loss is negative... |
I recently conducted an observational study with a relatively small sample size, comprising three groups (A: 30 patients, B: 500 patients, C: 30 patients) with varying event rates (5-10%). To estimate treatment effects, I employed Inverse Probability of Treatment Weighting (IPTW) using several methods, including glm, C... |
I am performing some simulations for a power analysis but, I am finding some strange results.
In a scenario of a two-way ANOVA (5*5) where I check a relevant interaction (One level of Factor B different in a level of Factor A), running an ANOVA type III will yield a significant result for Factor B and the interaction A... |
I have an income rank variable which is calculated using the following formula:
Income rank = (j-1)/(n-1)
where j – 1 represents the number of people within the individuals' comparison group with lower income compared to this individual, and n represents the total number of individuals within this comparison group. Thi... |
In statistical modelling, it is advised to have at least 10 observations per predictor as a rule of thumb. It is further suggested that in survival analysis this corresponds to number of uncensored observations. Does censoring within this context include censoring at the end of follow-up?
How would this differ between ... |
I'm currently searching best hyperparameters for a regression model of Gradient Boost, using 5-Fold Cross-Validation and OPTUNA.
However, I'm uncertain about which model's hyperparameters to choose, between cases A and B described below.
My code is like below:
def params_model_gb(trial):
params = {
... |
I've been learning about spline regressions, and I'm trying out a statsmodels negative binomial spline regression as a changepoint detector for a time series of count data.
I'm pretty confused about the coefficients of the model, and I'm hoping I might ask for some pointers.
I'm using the statsmodels.api GLM to fit the... |
Say I have a non stationary process. Let's say I take one realization of this process given by finite number of random variables $X_1$, $X_2$,...$X_n$. Now I plot them on a histogram. Can this histogram (distribution) change significantly with multiple realizations of the same non stationary process?
|
I have issues when reading a paper when calculating the eta parameter in the following equation
where the authors of the paper describe eta as the vector of the covariance-standardized residuals, which can be simulated from a joint distribution estimated with the copula density function. Can someone help me by explain... |
I have the standard deviations and means of 7 questions of a questionnaire and also the sample size. How can I calculate the standard error of the mean of the total questionnaire? I know SEM is standard deviation divided by the square root of the sample size but I don't know how to calculate the total SDs from individu... |
What does it mean to have a high p value but a very very low effect size? What can I conclude? Is it necessary to report the effect size when p=0.998?
|
I have a set of 30 data points, measuring percent of acknowledgement of an event that should not happen. So ideal value is 0.0 but we are getting some values greater than that, of order $10^{-5}$. It is not time series data.
A person has elicited an upper bound. If this is crossed, we ring some bells, but we want a mor... |
I have an experiment data (total of 96) with 10 predictor and 2 response variables. I want to build a traditional multiple linear regression model to them in R. My aim is to build clearly interpretable (coefficients) and explanatory models for a journal article. Not all variables being significant, I have been trying t... |
I am trying to derive a formula for the variance of the fourth sample central moment $m_4=\frac{1}{n}\sum_{i=1}^n (X_i-\bar{X})^4$ (where $X_i$ is the $i$th realization of a random variable, $\bar{X}$ the sample mean, and $n$ the sample size) in terms of population statistics (variance, kurtosis, etc.) and sample size.... |
Let's imagine an NxM contingency table, where rows represent groups and the columns represent attributes, so the table describes the number of entities with given attributes belonging into given groups. If my understanding is correct, the chi-square test only analyses ratios, i.e. it compares the ratio of entities with... |
I have two arrays, one representing an auditory stimulus and the other representing neural activity from auditory cortex. The auditory stimulus has known temporal and spectral structure. The neural data has unknown structure, but visual inspection suggests that some stimulus types elicit neural responses with temporal ... |
I am struggling to understand a proof from Browne M. (1984) Asymptotically distribution-free methods for the analysis of covariance structures.
Given $\boldsymbol{\delta_s}=n^{\frac{1}{2}}(\boldsymbol{s}-\boldsymbol{\sigma_0})$ has null mean vector and covariance matrix $\boldsymbol{Y}$, with null asymptotic mean and a... |
I am working with some biological data where I am trying to compare 5 categories of genes by expression which occur at different loci (locations on the chromosomes). I have samples from different tissue categories and 3 technical replicates per sample. Since I am interested in comparing gene categories by locus, I cons... |
I have a dataset from RNA sequencing of 4 different regions and comparing 2 groups.
I would like to be able to compare the average expression of each group for each gene, however, I don't know the optimal multi-parametric tests allowing me to generate the most information.
My idea was to carry out a correlation study (... |
First, I understand that including covariates in the outcome model after matching is optional based on reading the matchit vignette and similar question here. However, I'm a bit confused on what is the recommended/correct way of specifying matching covariates when estimating effects after matching with exact matching.
... |
I am trying to find the p-value to test a null hypothesis using a Standard Two-Sample t-Test. Usually I would use
tsum.test(mu1, sd1, n1, mu2, sd2, n2,
conf.level=0.95, var.equal=TRUE)
but I am not given mu1 or mu2 or sd1 or sd2. Instead, I am given mean difference d=2.7 and standard deviation sdd=15.9 and ... |
I am involved in writing a manuscript applying logistic regression to estimate rates of seafood mislabelling.
The model (fitted using glm() with the default logit link) employs source (grocery store, restaurant, or sushi bar), state (modified or plain), appearance (cooked or raw), form (chopped, chunk, fillet, or whole... |
If the pdf of a random sample is $f(x)=e^{-(x-θ)}$ where $x \geq θ$,
Show that $T=X_{(1)}$ is a sufficient statistic for $θ$.
Can one show that $T$ is a sufficient statistic for $θ$ in the following manner?
Step 1: Find the pdf of $T$
$$f_{x_{(1)}}(x_{(1)})=ne^{-n(x_{(1)}-θ)} \quad x_{(1)} \geq θ$$
Step 2: Find the joi... |
I'd like to use Catboost for actuarial models (eg claims frequency). Although I see that Poisson loss is an option, I don't see that exposures are directly supported. How do people deal with this?
|
Here is my understanding of these topics:
MLE is better when you know about the type of distribution that generated data (ex: formula for mean of normal distribution is different from mean of binomial distribution which is different of mean of negative binomial distribution ..... and all variance formulas are also dif... |
If :
OLS estimates are BLUE (best linear unbiased estimator)
OLS = MLE
MLE is used for GLM regression
Does this also mean that all regression coefficients from GLM are also BLUE? Or is this only correct for simple linear regression? If the first order conditions of MLE and OLS are identical, is MLE as efficient as OL... |
I am having a lot of trouble determining if a model is linear or not linear.
Within the computer, all models are stored as if statements ... which means they can be written as a long line of if statements. EX:
Apparently all popular models are linear: GLM, logistic regression, polynomial regression, GAM model, spline... |
Suppose there is a school with 15 male students and 15 female students. Each student runs 100 meters and we measure the time. Next month, the students again 100 meters and we measure the time. The month after that, the students again 100 meters and we measure the time (we have now 3 measurements for each student)
If y... |
I'm trying to determine if there's a statistically significant difference between the O2 permeability into two different materials.
The measurements are percentage of O2 (O2%), measured every 15 seconds. O2% can obviously only go up to 100%, so the data looks like an exponential decay, mirrored about the x-axis (like $... |
I'm analysing the breakdown of substrates (i) that were previously treated with a first enzyme for defined time periods (j), and then subjected to a second type of enzyme (l) that will generate the final product of the sequential enzyme reaction. I'm using the 1st order kinetic model:
p (i,j,l,t) = Sij0(e^(Kijl * t))
w... |
Today I came across Value Evaluation Algorithm under the topic of Bellman Equation when learning reinforcement learning, which is stated as:
While not converged:
Policy Update: $\pi_{k+1} =\arg\max_{\pi}(\gamma_{\pi} + \gamma P_{\pi}v_k)$
Value Update: $v_{k+1} = r_{\pi_{k+1}} + \gamma P_{\pi_{k+1}}v_k$
This algor... |
I think it is an obvious question with an obvious answer, but I want to confirm.
In hierarchical regression models, if some clusters have very few observations, the coefficients for those clusters should be less reliable compared to clusters with more observations.
In a longitudinal regression model, if some medical p... |
I trained an ARMA model using Python's from statsmodels.tsa.arima.model import ARIMA .
Separated the training and testing data, and fitted the model with parameters p, d, q = 1, 0, 1.
Below is the result of plotting my rolling prediction results (red) against the test (orange). At first, I thought this was not making g... |
I have 9 variables, namely BMI, waist-to-hip ratio (WHR), healthy-diet (HD: a score of 0 to 4, close to 4 indicates healthy), waist circumference (WC), neuroticism score (NS), body fat percentage (BF), physical activity (PA: total MET score data obtained from uk biobank), pack years of smoking (SMK) and alcohol intake ... |
I'm using the BVAR package in R to estimate a Bayesian vector autoregression involving the following monthly variables:
US Capacity utilization, US Total Employees, US PCE index, and 5,10,20,30 year US yields. The yields are in levels and the rest are in 12xlogs.
I have specified the model following https://link.spring... |
i want to find our average length of stay in months with a discrete values however the number of months in the dataset is up to 60 that we can treat as continuous. I would like to determine when is better to use poisson analysis and when is better to use linear regression analysis for predictive modeling?
|
I understand why a T-test uses the standard error, after all we are dealing with the inaccuracy of small samples.
$$T = \frac{\bar{x} - \mu}{\bar{s} / \sqrt{n}} = \frac{\bar{x} - \mu}{SE} $$
But why does Z-tests also uses standard error (calculated using the population standard deviation (sigma))?
$$Z = \frac{\bar{x} -... |
I have 5022 data files. I want to feed them into a CNN model.
However, the lengths of data files vary from, say, 50 to 1015 rows (the number of columns is constant).
In the case of image files, we can resize or downsample. However, the files I am working with are not image files.
What options do I have to feed those da... |
Question is Let X be a random variable with $E(X)=1$ , $V(X)=5$.
I need to find (a) $E[(1+X)^2]$ and (b) $V(4+3X)$.
I think I solved (b) alright. Please let me know if there is an error.
For (b), I used definition of variance $V(aX+b)=a^2*V(X)$.
So in this case, it would be $V(4+3X)=3^2*V(X)= 45$.
How can I solve (a)? ... |
I just read a question from here (Likelihood ratio minimal sufficient) and have some thoughts. Let me restate the question first:
Consider a family of density functions $f(x|\theta)$ where the parameter space for $\theta$ is finite, that is, $\theta \in \{\theta_0, \cdots, \theta_p\}$. Assume that $\theta_0$ is such th... |
I am testing if a coin is fair by throwing it n-times and having n/2 + sqrt(n) heads.
However, I get very different p-values from both binomial and chi-squared tests. In particular the relative difference (chis_p - bin_p)/chis_p is close to 50% even when n grows larger and larger.
I already read the post Does a 2*2 chi... |
I am getting acquainted with statistics and R and got stuck with my model. I am hoping someone could give me some insight on how to overcome overdispersion in generalized linear mixed models (GLMMs).
So, my model is trying to explain the variance in fungus infection in frogs using population density, air moisture (VPD)... |
I am trying to calibrate a Heston Model with 100 call options using this paper https://arxiv.org/pdf/1511.08718.pdf.
In algorithm 4.1 on page 18, they define the dampening factor as: $$\mu_0 = \omega \text{max}\{diag(J_0)\}$$ Where $J_0$ is the gradient of the cost-function wrt the parameters you want to estimate. The ... |
Say, we have three groups and we want to run a test of group invariance with the following data.
set.seed(1234)
df <- data.frame(
id = 1:300,
group = as.factor(rep(c("a", "b", "c"),each=100)),
x1 = round(rnorm(300, 3.00, 0.50),2),
x2 = round(rnorm(300, 3.00, 0.50),2))
df$dv <- round(.20*df$x1 + .30*df$x2+ rn... |
I am using survival analysis to model Treaty ratification, using country-treaty dyads as my primary unit. This means that I have several hundred survival spells covering different time periods (when the Treaty opened onwards).
Other research has used specific years in their survival analysis and regressions, e.g. one T... |
The Wikipedia article on KL divergence mentions a link with data differencing. Directly quoting Wikipedia (as of 2023/11/01):
Just as absolute entropy serves as theoretical background for data compression, relative entropy serves as theoretical background for data differencing – the absolute entropy of a set of data i... |
I'd like to estimate the factors that determine the development of heating networks in French municipalities. To do this, I use various variables (population density, age of dwelling, ideology of the municipality, heat consumption, fuel poverty, etc.) to determine the probability of the presence of a heating network in... |
I have fitted a GAMM using the mgcv package in R. The predictor age is a continous variable and is included with a smooth function in the model.
library(mgcv)
themodel <- gam(survival ~ s(age, bs="tp", k = 4) +
s(mother_id, bs="re") + s(litter_id, bs="re"),
family=binomial, data=thedata, ... |
I have two response variables, one is gaussian (parental feeding rate of chicks per hour "Rate_h") and one is binomial (proportion of chicks that survive to fledging "propfledged"). I want to see whether the two responses covary at the among-individual level ("ID"). I am unsure how to properly specify my priors for the... |
Note: for the sake of readability, this question was heavily shortened. Parts based on a humane mistake were removed, and the focus was put again on the biased mixed models.
Please correct me if I have understood or made something wrong. The question is, why the mixed models of the lme4 and nlme packages of R do seem t... |
I have received two differing recommendations on analyzing whether a categorical variable X varies over time when I have a continuous outcome Y measured at multiple time points:
Approach 1:
Prespecify a model including the interaction term X*time along with main effects.
Fit this model and report the results for X*tim... |
I would like to know whether it is possible to compute one identical coefficient for three different variables in a regression. So instead of estimating $\beta_1$, $\beta_2$, $\beta_3$ here:
$$
Y=\beta_0 + \beta_1 x_1 + \beta_2 x_2 + \beta_3 x_3 + e
$$
I would like to estimate one single coefficient from $x_1$, $x_2$, ... |
I have a very large library of technical drawings (in image only format) specifically of mechanical parts, grouped in bundles.
The drawings have various levels of cleanliness since some were hand drawn and some come from CAD software. The drawings may have line linking annotations to the object itself.
I would like to ... |
I would like to use a bayesian model to determine which position (X, Y) is most likely the best position to score a goal in soccer. For this I have a dataset of a soccer club with all its goals and shots with X and Y coordinates and the type of shot for some seasons. To make it more clear, imagine we have the following... |
I have the temporal data of Landslide events in CSV format. My data consists of Year, Month, and Day of events. I want to see if there is temporal clustering for events or not by using Ripley's K function (kest function in R studio). Actually, I got the Ripley'K function plot for spatial data (Latitude and longitude) b... |
I am working on a paper where we plotted BMI trends as a function of age in the population. We plotted trends for six databases, then we plotted for each sex, then for race, in three categories. I mean that I have a lot of trend lines, and I have no idea how to summarize in a few graphs all the trends plotted and where... |
I am investigating effect of various "treatments" on various disease outcomes with univariate mixed logistic regression models corrected for covariates:
f1 <- as.formula(paste(disease, "~ age + ", t,
"+ (1 | relatives)"))
where
disease is binary
age is continuous
t is binary
relatives is a factor (relatives h... |
It is common to break down the total sum of squares (related to the total variance in $y$) in a regression problem, into components.
$$ y_i-\bar{y} = (y_i - \hat{y_i} + \hat{y_i} - \bar{y}) = (y_i - \hat{y_i}) + (\hat{y_i} - \bar{y}) $$
$$( y_i-\bar{y})^2 = \Big[ (y_i - \hat{y_i}) + (\hat{y_i} - \bar{y}) \Big]^2 =
(... |
I'm running Cox-LASSO (using glmnet as explained by Tay et al) on about 50 variables with about 300 observations. The variables fit into different categories like "clinical scales" or "risk measures".
One category of variables is highly correlated to each other and only each other. It's about 12 of them. My thinking i... |
I estimated a 2PL model for ordinal data and got discrimination as well as difficulty parameters for each item. To be able to estimate a cut-off value for the discrimination parameter, I wanted to transform it to a factor loading metric. In another thread on here I found the formula: $\frac{\alpha}{\sqrt{(1+\alpha^2)}}... |
Assume that you having $N$ clusters. Each cluster have multiple classes. So we know the class ID for every major clusters, but not the class ID for the data points inside the major clusters.
Each colour is its own class ID. E.g red can be class ID 1 and blue can be class ID 2.
Assume that you are using Support Vector M... |
I am trying to create a linear model where the dependent variable has the following summary features:
Min
1st Qu.
Median
Mean
3rd Qu.
Max
0.1579
0.3155
0.3547
0.3459
0.3827
0.4583
There were some notable outliers on both ends, so I used a robust linear regression. In training the model, I logged both the de... |
For my experiment, I am comparing the results of melanoma grades( ordinal data, such as Stage 1, 2, 3, 4) as obtained from my proposed noninvasive imaging modality to that obtained from the gold standard (biopsy). In that case, how do I compute the sample size required to have an agreement between these two methods 90%... |
Suppose I have a survey and for the sake of simplicity let us suppose that I have asked a question: "What motivates you to work more efficiently?".
Now, if the possible answers were 'Money.', 'Social status.' or 'Both.', how can I test properly whether money or social status is more important and check, whether this di... |
The .query method in pgmpy computes the effect of one variable X on Y given evidence Z. I'm not sure Z is a set of observed covariates; if that is the case, isn't it possible that, depending on the structure of the graph, a valid adjustment set does not exist?
|
In a typical training loop what is the correct way to report and average metrics like accuracy and loss. Should you maintain a running average through the whole process or reset it each epoch. What is the impact of doing either on and is one more correct?
train_loss = 0
num_samples = 0
for i in range(EPOCHS):
for bat... |
If we use classification labels from a machine learning model in a linear regression, and treat those labels as the ground truth, will the resulting confidence intervals be valid?
Imagine we have $n$ labelled (ground truth) points and a larger set of $N$ unlabelled points.
We train a machine learning model on the $n$ ... |
I tried running analysis using glmmTMB with profile=TRUE and the model that previously wasn't converging, now converging, anyone knows what assumptions does this parameter "profile" takes and whether this is reliable?
|
In another question, I asked for $\mathbb{E}\left( \frac{X}{\lVert X \rVert} \right)$, in the case where $X \in \mathbb{R}^d \sim N(\mu, I_{d})$. Somebody posted an exact formula based on the symmetry of the isotropic covariance case.
I am now interested in obtaining some expression (or approximation) for the more gene... |
I have an (low incidence) binary outcome compared between 2 groups. The intervention for group 1 is coming from a specific type of center (academic) while group 2 from a different center. It is not possible to randomize due to the nature of the intervention. What is the best way to address selection bias in my analysis... |
In papers about unsupervised clustering I see a lot of references to a metric "clustering accuracy" or "unsupervised clustering accuracy" (ACC) which is usually defined as something like:
$$
ACC(x,y) = \frac{1}{N} \max_{m}\sum^{N}_{i=1}1(m(x_i) = y_i)
$$
where m is all possible permutations of the x and y. I think the ... |
I have read that conformal prediction requires IID. However, I have seen methods that enable uncertainty quantification for time series forecasting. Do you know if there is some similar for time series classification?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.