instruction stringlengths 9 38.7k |
|---|
If one were to build a model using a random forest model that uses lagged variables, for simplicity we'll describe this just using a single feature describing lag 1: $x_{t-1}$.
Which attempts to predict $x_{t}$
Will this model still be subject to standard time series CV rules? I believe the feature vector from one inst... |
There is already a community wiki on introductory textbooks for Bayesian statistics.
However, I am looking for a book(s) on Computational Bayesian Statistics for intermediate learner who already has a good knowledge of Monte Carlo method and its applications (e.g. sampling method, MCMC, etc.). It should be up-to-date a... |
I have a convolutional neural network that uses Resnet(18,34 or 50 doesn't matter) as the backbone and pretrained weights from ImageNet.When I try training it with a single image for 50 or so epochs, the loss first goes down to zero and stays there but after a while it spikes to very high values. Is this common and if ... |
Can one “estimate” the distribution of unit fixed effects in a population? What I mean is, consider a standard TWFE model with unit and time FE:
$Y_{i,t} = X_{i,t}+\lambda_i + \theta_t + \epsilon_{i,t}$
I would like to know how much variation in $Y$ is due to unit fixed effects as opposed to $X$. My basic intuition is ... |
I used OLS regression to estimate a relationship between X and Y with a couple of control variables. However, when I tested for heteroskedasticity with Breusch–Pagan/Cook–Weisberg test, my residuals were heteroskedastic. I tried log transformation for my dependent variable, but it did not resolve the issue.
My data (95... |
I am having serious issues understanding the EM algorithm, both the E and the M steps when it comes to a mixture of two uniform distributions.
I am given the pdf of the mixture which is:
$f(x)= \frac{1}{4\theta } \mathbf{1}(x \in [0, 2\theta ]) + \frac{1}{4\theta } \mathbf{1}(x \in [\theta , 3\theta ])$
I have calculat... |
I'm currently learning about instrumental variables analysis. One of its assumptions – the exclusion restriction – states that the instrument affects the outcome only through the exposure variable, and that the instrument is a random occurrence in nature. It basically emulates a randomized controlled trial wherein th... |
In the p-variate normal distribution ($\mathbf{N_p(\mu,\Sigma)}$), the solid ellipsoid of x values satisfying
$(\mathbf{x-\mu)'\Sigma^{-1}(\mathbf{x}-\mu)}\leq \chi^2_p(\alpha)$
has probability $1-\alpha$ , where $\chi^2_p(\alpha)$ is the upper
$(100\alpha)$th percentile of a chi-square distribution with p degrees of ... |
How can I force a predictor to stay in the model and select others using a stepwise method in a multiple linear regression in SPSS?
I would like to force one predictor to appear in my final model regardless of significance.
|
I am seeking assistance on choosing appropriate distribution for glmms. My response variable is continuous, positive & bimodal with minimum value 0.35 and maximum value 100. Is Gamma (link = "log") right choice here? I have attached histogram & density plot here. Thank you for any assistance!
|
I was wondering why my p-values for lognormal distribution are not uniform while using t-test for mean. Here is my code:
set.seed(1234)
sims <- 5000
pvals <- vector(length=sims)
for(i in 1:sims){
dist <- rlnorm(30)
pvals[i] <- t.test(dist, mu=exp(0.5))$p.value
}
pvals %>% hist
The p-values look right-skewed but... |
I am having trouble understanding the solution to this problem. The problem define $X_1$ and $X_2$ to have the joint pdf $f(x_1, x_2) = 15x_1^2 x_2$, $0 < x_1 < x_2 < 1$, zero elsewhere. It then asks to calculate the marginal pdfs and $P(X_1 + X_2 \leq 1)$. I was able to get the marginal pdfs for $X_1$ and $X_2$, but w... |
I am seeking assistance on choosing appropriate distribution for glmms. My response variable is continuous, positive & bimodal with values ranged from 0-1. I have attached histogram here. Thank you for any assistance
|
I want to compare the means between two measurement methods, but the readings are non-normally distributed. Despite almost every "Y" measurement being more than twice the corresponding "X" measurement, my T-Tests aren't showing any statistically significant difference.
Fair warning I am not a statistician by any means.... |
What is the difference between linear regression on y with x and x with y?
Effect of switching response and explanatory variable in simple linear regression
Many good discussions explaining the difference between these two regressions have already been posted on this topic. My question is if this problem is useful in s... |
Assuming that our function is convex and only has a single minimum. Would gradient descent ever hit the minimum if the learning rate was extremely small? Or would it bounce back and forth without ever hitting the minimum. What would the case be if the function contained two minimums? One that is the global and the oth... |
I am trying to derive the variance of the t-distribution for the difference of two sample means with unequal variance. We are given that
$$ T\sim\frac{\bar{Y_1}-\bar{Y_2}-(\mu_1-\mu_2)}{S(n_1^{-1}+n_2^{-1})^{1/2}}$$
where
$$ S^2 \approx \frac{1}{n}(n_1\sigma_1^2+n_2\sigma_2^2)$$
for large $n$ where $n=n_1+n_2$.
So far,... |
Sorry if this question is a repeat. I'm new to R, and writing up a chemistry-focused meta-analysis (in collaboration with a statistician, but they're on holiday until November).
I have three variables at play here: the concentration of chemical A (a range from 0 to 10 molar) and the presence of chemical B (yes/no) vs ... |
I have a random sampler from a region $X$. Suppose, I have a function $f: X \to \mathbb{R}$, where I can explicitly evaluate $f(x)$ and also obtain the gradient $\frac{\partial f}{\partial x}$ easily (I mean less computational time).
What I want is random sampler from a super level set $X_{>\tau}=\{x \in X | f(x) > \ta... |
Can someone help me understand the following for the variance of a sample proportion.
$$ S^2 = \dfrac{\sum (y_i - p)^2}{N-1} = \dfrac{\sum y_i^2 - 2p\sum yi + Np^2 }{N-1} = \dfrac{N}{N-1}p(1-p) $$
More specifically how do you get to the last step from the second last step.
Thanks!
|
Let $X$ be a Negative Binomial random variable, $X \sim \mbox{NB}(n, p)$, with $P(X=x) = {n+x-1 \choose x} p^n (1-p)^x, x = 0, 1, 2, \cdots$. Suppose I do this experiment where I toss a coin until I got 8 heads. I got the 8th head on the 10th trial. So, we have $n=8$ and $x=2$. Now, I want to test the hypothesis tha... |
So here I am trying to make sense of some test results from temperature chamber for testing electronics. Temperature vs Time Graph shows the final output of the test. The data recorded by temperature sensor in the chamber over time. The column Time is actually the value of time elapsed since 00:00 AM but in minutes.
Th... |
In Epidemiology, an incidence rate ratio is the ratio between the incidence rate in the exposed and the incidence rate in the unexposed, where an incidence rate is the number of events divided by the total person-time at risk. We can calculate incidence rates and rate ratios from longitudinal studies with time-to-event... |
Given the following data, is there an algorithmic way to generate a probability distribution?
Data: min, max, and average results of "die".
Known Trend: results will always be weighted towards lower values, as the gulf between the average and max is greater than the gulf between the average and min (e.g. min=10, avg=19... |
Is there any way to use BIC in model selection for gam? And if so then how to extract bic?
|
Consider the spiked covariance model $Y_i\sim^{iid}N(\mu,\Sigma)$, where $Y_1,\ldots,Y_n\in \mathbb{R}^p$, $\Sigma=U\Lambda U^\top+\sigma^2 I_p$ be the eigendecomposition: $U\in\mathbb{R}^{p\times r}$ unknown matrix with orthonormal columns, $\Lambda$ is unknown matrix with nonincreasing diagonal entries, and $\sigma^2... |
How do I test $H_0 : \beta_1\leq 2$ in R?
The data is as follows:
x<-c(1,2,3,3,4,5,5)
y<-c(3,7,5,8,11,14,12)
|
I am an MBA Student taking courses in Statistics and Data Science.
In one of my Data Science courses, we are learning about different types of predictive models that can be used for Classification Tasks - for example, we can use models such as Decision Trees and Random Forests to predict if a specific customer is likel... |
I have a dataset where the response variable is the proportion of land irrigated by a canal and the predictors are:
the name of the village
the total area in which the crop is sown
the district name and
the sub-district name.
Since proportion can take values only between 0 and 1, I fit $\log\left(\frac{p}{1-p}\right)... |
I have a linear regression with 51 data points, and I would like to get the confidence intervals and to test the coeficient's significance, but the problem is that the residuals are not normally distributed. What should I do?
|
Disclaimer: not a statistics student, I am a civil engineering undergrad currently writing my thesis. And, I have never done a multiple regression analysis before.
Half of my study is cost estimation of a retrofitting project. I have a data set to use, albeit with just about 35 data points. My main adviser told me to u... |
I am dealing with the estimation of a Gaussian Hidden Markov Model with conditional distribution given the first-order Markov state $S_t = j,\ j=1,...,J$
$$
Y_t|S_t=j\sim N(0,\sigma^2_j)
$$
where the variance has the following non-standard specification
$$
\sigma^2_j = \mathbb{1}_{(S_t=1)}+\mathbb{1}_{(S_t>1)}*(S_t-1)*... |
I have two very long series of samples from a pair of correlated random variables, $x$ and $y$.
(they are fat tailed distributions, roughly Pareto, if that helps).
(if you're curious...$x$ and $y$ are annual simulated hurricane losses: $x$ is without climate change, and $y$ is with climate change. They are correlated b... |
I have been wondering, can AIC be safely used for model selection when the datasets contain a different number of variables? What I mean is, can a model predicting house price that contains "surface in $m^2$" be compared with a model containing "surface in $m^2$" and "number of rooms" safely?
And if not, which IC shoul... |
I asked a related question on how to figure whether multiple models are significantly different or not.
To compare two models using anova in R, I can simply use anova(model1,model2) and conclude whether they are significantly different or not based on the p-value returned. However, currently I have data such that-
Ci... |
This question is building on this post, and on the general formula for BIC.
BIC = kln(n) - 2ln(L)
I need a bit of help understanding what the term number of observations/number of data points/sample size (n) means.
Scenario 1:
Imagine I aim to compare two models, where M1 has 6 parameters (thus, k = 6) and M2 has 7 pa... |
I have two categorical variables but one of them has multiple responses. After searching online, I came to find the Rao-Scott Chi-Square Test for such data, but little was found about some useful R or Python codes.
Is there anybody who can give me some tips on analyzing the data?
|
Suppose one sample of my training data consists of a sequence with $n$ elements. My task is to do binary classification on one element in the sequence, and my labels are such that for each sequence in the training set, I only have a label for one element which I'll call the 'target' element. I use self-attention layer... |
I am interested in propensity score estimation by GBM. I am reading Propensity Score Analysis by Bai and Pan. The book suggested several metric to evaluate balancing of propensity score by GBM. In GBM estimation, one needs to choose iteration which determines the over-fitting. However, the book does not distinguish bet... |
I am working on a problem where the unknown probabilities $p_i$ are related to observed rates/frequencies $\pi_\alpha$ as
$$
\pi_\alpha = \sum_iW_{\alpha i}p_i,
$$
where $W_{\alpha i}$ is known (rather sparse) matrix.
I have tried a number of techniques for solving this problem, e.g., using the non-negative least squar... |
I am trying to set up a queueing model in R using the queueing library. I am trying to model a scenario with no waiting area. In other words, if the service individual is busy, the person will not wait and will go elsewhere. I'm not sure how to code this up beyond what I already have, which does not account for people ... |
I am currently learning linear regression for binomial data and I am a bit confused in some things since this type of regression is new to me. I am mostly confused how to interpret the confidence interval for a predictor variable in multiple logistic regression.
I did logistic regression on my data using this code in R... |
Suppose I have some problem typical linear inverse problem, where I have a relation $Ax = \vec{b}$, and want to solve for $x$ in terms of $A$ and $\vec{b}$. Furthermore, assume that $\vec{b}$ is a composed of independent heteroskedastic Poisson distributed terms. Given this information, OLS shouldn't be applicable. ... |
What is known about the distribution $X$ that is the difference between the product of noncentral normals and central normals, where all normals are independent? Can someone recommend a paper or interesting relation to other distributions?
$$X\sim x_1 x_2-x_3 x_4$$
with $x_{1,2}\sim\mathcal{N}(\mu_{1,2},1),\quad x_{3,4... |
I'm currently playing around the Poisson distribution and trying to determine goodness of fit of a Poisson distribution for different values of $\lambda$.
Essentially, I have some series that represents the observed relative frequencies of some phenomenon transpiring in a interval. $\text{my series[1]} \to \text{ the r... |
I am interested in a related question to: What are the consequences of "copying" a data set for OLS?.
Now instead of duplicating both X and Y, suppose we duplicate X but append Y with zero's. What's the effect on beta and t-score.
Using the same method in the answer to the linked question, it's not hard to show that th... |
(Sorry for the George Orwell/Animal Farm reference)
I am an MBA student taking courses in Statistics. Over the Thanksgiving weekend, we have an informal assignment - we have to find publicly available data on two "concepts" and make a small presentation on the possible correlations between these two "concepts" and if t... |
I have a repeated measures dataset with provider-level data (i.e., provider's responds to questionnaires on a scale) and patient outcomes. The providers are nested within clinics and the clinics are nested within regions, and I have four follow-ups up to 24 months (baseline, 6 months, 18 months, 24 months). I am trying... |
When i fit my model on my data the train and validation AUC scores are as follows:
[0] validation_0-auc:0.83437 validation_1-auc:0.49935
[1] validation_0-auc:0.93809 validation_1-auc:0.49935
[2] validation_0-auc:0.94072 validation_1-auc:0.49935
[3] validation_0-auc:0.94491 validation_1-auc:0.49935
Train... |
The data looks like the following image and is available from 1980 to 2019:
As you can see, nation 1 doesn't differ in any of the panels; only country 2 does and the country 2s for each panel remain same. What deep learning technique should I to explore to create a research report on it? I've seen a post on this site ... |
I am using R (4.1.3) with lavaan to run a longitudinal SEM with the American National Election Studies 2016-2020 Panel Data. It's a simple model: Time 2 outcome (2 indicators) predicted by Time 1 outcome (2 indicators) and three correlated X variables (1 indicator each). The error variances of the 1-indicator latent va... |
I am having troubles understanding a crucial part of the baum-welch algorithm in hidden markov models.
When we calculate zhe/digamma representing the probability of being in state i at timestep t and then transitioning to state j in timestep t+1 given all the observations we calculate it as:
$zhe_{t(i, j)} = \frac{alph... |
If $X_1, X_2, X_3, ...$ are random variables and $(\bar{X_n}, \frac{1}{n} \sum_{1}^{n} X_i^2 - (\bar{X_n})^2)$ has some asymptotic distribution, will $(\bar{X_n}, \frac{1}{n-1} \sum_{1}^{n} X_i^2 - \frac{n}{n-1}(\bar{X_n})^2)$ have the same asymptotic distribution (because for large $n$, $\frac{1}{n} \approx \frac{1}{n... |
So I want to prove that any one-to-one function of minimal sufficient statistic is also minimal sufficient. Here is my proof:
Let $T$ be a minimal sufficient statistic and $f$ is a one-to-one function such that $S=f(T)$. Since $T$ is minimal sufficient, then for any other sufficient statistic $T'$, $T=h(T')$ for some f... |
Let $\begin{bmatrix}
X_{11} & \cdots & X_{1n_{2}}\\
\vdots & \ddots & \vdots\\
X_{n_{1} 1}& \cdots & X_{n_{1} n_{2}}
\end{bmatrix}$ be a matrix of random variables. For $i, i' \in [n_1]$, $j, j' \in [n_2]$, we have
$\text{E}[X_{ij}] = 0$,
$\text{Var}(X_{ij}) < \infty$,
$\text{Cov}(X_{ij}, X_{i'j'}) = 0$ if $(i,j) \n... |
Does the increase in importance sampling size guarantee the decrease in importance sampling variance?
Some context here: I'm trying to use importance sampling instead of equal probability sampling to reduce the variance of my estimator. Based on my data, if I have a small sample size, the variance of importance samplin... |
I have missing monthly trade data for my dependent variable in the DiD model. Are there any methods to compute the missing data, so it does not lead to a bias? Also, for many products, there are no monthly trade data for the time period, should I just ignore these products?
|
I once saw some study claims to use the algorithm referred to as "Adaptive Metropolis within Gibbs". Are there any formal introduction on this algorithm? What are the difference between this algorithm with pure MH algorithm and Gibbs sampler?
|
Suppose we have two orthogonal features $x_1$ and $x_2$. If we run univariate regression of $y$ on $x_1$ or $x_2$ and get $R^2, $$r_1$ and $r_2$ and we run multivariate regression of $y$ on both $x_1$ and $x_2$ and get the $R^2$ which is denoted by $r$. A well-known result is that $r = r_1 + r_2$. I am interested in ho... |
The relationship between my independent variable (on the x-axis) and the dependent variable (on the y-axis) looks like this. (Pearson correlation: 0.21 | Spearman correlation: 0.37)
My goal is to determine how many units of my IV are needed to reach some value X of my DV. To do that, I wanted to perform a regression s... |
Let's say I have a click through rate (%) as my independent variable and profit as my dependent variable. I have a dataset of 5,000 observations.
I would like to get a function, i.e. slope and intercept, that allows me to put in a click through rate (e.g. 5%) to see how much profit I would earn based on that.
How can I... |
I am not used to time series forecasting, so I feel sorry that my question might be stupid.
Now i'm dealing with real world time series data, which is very short.
I want to know what method I should try that i can successfully predict this dataset.
First I'll explain about my dataset.
High value(about 10^8~10^9) and h... |
I have been trying to learn more about the differences between Quasi Likelihood compared to the standard Likelihood. When learning about this, the following points come to mind:
The Quasi-Likelihood Method is said to be able to provide estimates that are consistent even when the Variance Function is misspecified - but... |
Suppose we want to calculate the average annual balance of a customer in the bank.
If we want to have a normal average, we will add up the customer balance in the year and then dividing by the number of days in the year.
Now consider a customer who had a high balance only in the last month of the year and for the last ... |
It is a trend in deep learning to train models using multi-batches, i.e., to show the model a subset of the entire dataset for each weight update. In some cases, as in continual learning, we see that it is possible to train the network on one datapoint at the time. It is quite rare, on the other hand, to see research p... |
I read that there are a few assumptions that need to be met before applying Pearson correlation to data. Yet, I fail to find explanation as to the consequences of those violations. In particular, how would any violation affect the value of the Pearson Correlation?
The assumptions are as follow. And I look forward for ... |
Let's assume you conduct a survey about some topic. After that, you want to analyze the responses and perform a regression. For example:
IV: Age
Percentage that every traveled to country X
When I plot all responses the, chart is messy with responses all over the place. When I plot the average response per age it look... |
Not only don't sklearn and SciPy agree on the value they return for chi2, but they don't agree with an explicit implementation either (at least not always). Why is that?
Below is my code for generating a random data set of categorical features and targets, along with its corresponding contingency matrix. At the end, I ... |
VQ-VAE propose to
make the posterior categorical distribution $q(z|x)$ one-hot = defined as $1$ for the closest embedding $e$ in the codebook to the output of the encoder $z_e(x)$;
define a simple uniform prior over $z$ (the latent variables).
The authors claim that this obtains a KL divergence which is discrete and ... |
In this paper, Table 2 shows some values in parentheses. The paper doesn't seem to include an explanation.
As an example, 82 patients out of 94 with Radial head fracture showed No HO (Heterogeneous Ossification) whereas 12 patients showed HO. But what do the 25% and 31% in the parentheses mean?
Additionally, I will be ... |
I have doubts about which is the best way of performing an analysis. It is the first time that I face this type of data.
Briefly, I am investigating if a number of variables are associated with the choice of a nest box. For this, I have data from 100 birds. These data consist of different nest boxes that have been visi... |
I am doing an experiment on cell cultures comparing how some treatments affect the parameter of the cells. I have 3 replicates of the culture for each treatment, and in each culture, I measure the parameter of the interest in multiple cells (n is different for different cultures). Now, I want to infer if my treatment h... |
I am reading this article, which explains how the algorithm replaces the actual loss function with so-called 2nd order Taylor expansion. I can understand til Step 4, and can't understand step 5.
I understand this, this is from step 4:
But when it is going to step 5, I can't understand it:
Where does the 2 under the '... |
If an ML model predicts item-level demand for an e-commerce company and this output is used to re-distribute stock spend, then without understanding the underlying causal structure of the variables which affect item-level demand, then the correlation-based patterns recognized by the ML model would be compromised as the... |
I have a dataset of 300 independent variables and 120,000 observations for which I will perform a binary logistic regression on my dependent variable. Because of the linearity assumption between the logit transformed independent variables and my dependent variables, I am performing a Box-Tidwell test.
I read in the bin... |
I have read many references which suggest that RMSprop and Adadelta are basically same, just developed independently. However, Keras has two different classes for it. Also, it allows RMS prop to have momentum but not AdaDelta. In this link as well, RMSprop and AdaDelta have different trajectories.
I want to understand ... |
I'm not an expert in statistics. Currently, I'm working on some allometric equations and in the literature I found:
According to the foot note in the table (and as intuition would dictate) the 95% confidence interval for let's say "All non-hoppers" would be [6.2/1.12, 6.2*1.12]. Hence, the limit become [5.54, 6.94].
... |
Why increasing the sample size increase statistical significance? How to mathematically show that when we get more samples, the small difference would become statistically significant easier?
|
I have those two following generalized linear mixed models. The object Sbiomass is modeled as the sum of biomass in several replicas. The objects x1 and x3 are discrete variables, x1 is a continuous variable.
glmmTMB(log(Sbiomass) ~ x1 + (1 | x1/x3), data = mydata)
glmmTMB(Sbiomass ~ poly(distance,3) + (1|x1) + exp(x2... |
I hope you can help me. I performed a pre-post study with two Trainings (ViStra & LeStra), and I measured safety outcomes (e.g. Knowledge, attitudes, behavior, etc...) with questionnaires before (T1) and after (T2) the training (Time). Participants (ID) took just one of the Trainings were nested into 5 companies, and w... |
If the assumption of homogeneity of variances is met,
how could the variances be different among groups in ANOVA
(the analysis dealing with between/within variability) ?
That is for me, ANOVA is something close to:
the ratio F = variance between groups / variance within groups.
So, if the (between/within) variances sho... |
I want to simulate fictional studies to illustrate some aspects of a meta-analysis. My simulation setup is simple: All studies compare two independent groups drawn from normal distributions with equal standard deviations and a fixed mean difference of $\delta$. I want to vary the sample size for each simulated study. F... |
I am trying to prove that the sample variance formula is unbiased.
Firts, let $\mathbb{E}(X_i) = \mu, \text{Var}(X_i)=\sigma^2=\mathbb{E}(X_i^2)-\mathbb{E}(X_i)^2, \bar{X}=\frac{\sum X_i}{n}$.
$\mathbb{E}( \frac{\sum(X_i-\bar{X})^2}{n-1}) =\sigma^2 $ can be transformed as follows.
$\mathbb{E}( \sum(X_i-\bar{X})^2/(n-1)... |
I'm running a KMO test in R to determine factorability of data using KMO(data_matrix) function. I read that this is a recommended step as part of structural equation modelling, to determine whether the data is suitable for factorising (part of EFA).
The output is an overall "MSA" value for the data set as well as indiv... |
Does anyone have any experience with using g-methods when outcome and covariates vary with time? I found the R package gfoRmula with this documentation https://www.cell.com/patterns/pdf/S2666-3899(20)30008-8.pdf but little details of what to look out for in the outputs or how to choose the models. My questions are:
1... |
I have a multiple-time series problem. I have a dataframe with regions in columns and dates in rows (which represents the week of the year). Each value is the number of events that occurred in that week for that region.
I would like to classify if yes/no in the following (next) week, an event will occur in a given reg... |
The Problem
Let's assume I have a problem that seems perfect for supervised learning. However, some of the measurements I would like to use as features are not point estimates but are instead distributions representing my uncertainty about the measurement e.g. the output of a Bayesian model.
How do I use these distrib... |
I am using an external regressor in the variance equation of a GARCH model (rugarch). However, the value of the GARCH coefficient is coming out to be zero with a p-value of 1 and the coefficient of external regressor to be significant, when I am using the ged distribution. When I am using the std distribution, the GARC... |
I am following the paper Understanding and Using Factor Scores: Considerations for the Applied Researcher Applied Researcher which is about constructing factor scores in a confirmatory factor analysis using different methods.
I am interested in the following methods but while the paper makes sense to me, I am not sure ... |
While Analysis of Means (ANOM) is available through R, SAS, JMP, and presumably other statistical platforms, I am having trouble finding an implementation in Python.
Is there a way to do ANOM in Python? Any help would be appreciated, especially in regard to graphically displaying the ANOM results (i.e., plotting arith... |
Sometimes I have seen likelihood written as $L(\mu,\sigma |y)$ and sometimes as $L(y|\mu,\sigma)$.
I have been told that in the first case it means that there is a pre-assumed model depicting the probability density of $\mu$ and $\sigma$ parameterized by $y$. In the second case it means the pre-assumed model depicts th... |
I'm sure I have a very easy question I'm trying to answer, but as a qualitative researcher who has found themselves trying to help an undergraduate on a quantitative project, I need some help. I'm trying to determine if there are relationships between social media post engagement (number of comments) and the following:... |
The original presentation of variational autoencoders, VAE assumes the mean $\mu$ and the sd $\sigma$ are functions of the input variable, say $x$. I am studying "Learning Structured Output Representation
using Deep Conditional Generative Models" by Sohn et al. and came across the lines
The prior of the latent variabl... |
let's suppose I have a dataset with 3 different variables (features) for the same geographie and then calculate the Moran's values for each one. All my variables have a p-values<0.05. Can I compare this variables and says: the higher the Moran's value, the more significant is that variable in relation to the others?
|
Generally, training data is of shape $\mathbb{R}^{n \times m}$ data where $n$ is the number of samples and $m$ is the number of features. The training data can be represented in a table such as
feat1
feat2
...
feat n
label
Val1
Val2
...
Val n
label1
Val1
Val2
...
Val n
label2
In this case, as you can see ... |
I work in manufacturing and must report to my boss how effective our sampling is. Can someone please point me in the right direction?
This is an attribute specification of porosity in a casted part. The data is recorded as a boolean, "is the amount of porosity acceptable: yes or no." The sample is 4 consecutive part... |
Relevant context: epidemiologists define an outbreak according to six defined stages (investigation, recognition, initiation, acceleration, deceleration, and preparation). From a local perspective, it would be useful to determine what constitutes a change from one phase to another, as they call for different resource a... |
Let N be the number of examples, M be the number of features. We are trying to create a linear regression to fit the training samples.
When N == M, do we have perfect 0 training loss?
When N > M, do we have unique or many solutions?
When N < M, do we have unique or many solutions?
Attempt:
Depends, but if the in... |
I have a factor variable with two levels that represent a patient's baseline condition. I have separated these patients into two groups based on another variable - these two groups do not have the same number of patients in them.
Using a chi-squared test, I want to compare the distribution of this baseline condition be... |
I'm learning about outlier detection and I wrote these two methods to get the row indexes of the instances that have outliers so I can drop them later. The problem is I'm getting two numbers very far from each other with these two methods.
I would like to know if interquartile range tends to identify more than zscore o... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.