instruction stringlengths 9 38.7k |
|---|
I have the following time series of a quantity Y (blue dots) and a function fitted on those data points (red line):
The distribution of the quantity Y can be seen in the second plot:
I am trying to calculate the confidence intervals for the fitted function. I thought I could use Bootstrap for that but due to the time... |
I want to compare the performance of two stocastic models on the same datasets (>10k samples).
To this end, I run 5 runs for each model (different seed) and I can compute the mean and std for each model.
If I now want to run a statistical test to assess the significance of the difference in their performance, is a corr... |
I am getting an unexplainable result as my spatial lag.
I read the data as follows
import geopandas as gp
from pysal.lib import weights
import pysal as ps
data = gp.read_file('...')
data.set_index('someIndex')
# create the spatial weights matrix
w = weights.contiguity.Rook.from_dataframe(data)
# calculate the spatial ... |
I don't understand the following definition of a moving average model from Hyndman 2021, Forecasting: principles and practice
A moving average model uses past forecast errors in a regression-like
model, $$ y_t = c + \varepsilon_t + \theta_1\varepsilon_{t-1} + \theta_2\varepsilon_{t-2} + \dots + \theta_q\varepsilon_{t-... |
Suppose I'm modeling the probability to apply for a bank loan as a function of gender.
I have then the following DAG:
Wikipedia lists 3 causes of endogeneity
There is measurement error. Suppose I know for sure whether someone is male or female, and whether he applied for a loan or not.
Then there is simultaneity, a.k.... |
In my econometrics professors' slides he states that:
”We said that $\sum_{i=1}^nX_i\hat{u}_i=0$ (where $\hat{u}$ are the residuals) implies zero sample correlation between X and Y“.
My problem is in understanding WHY this is (the statement in bold), or if he made a mistake and actually meant that each regressor alwa... |
I have a data which is set up for cox regression, I have the variable as below:
Tstart, Tstop, status event, cancer, family id,
The status event variable contains 0, 1 and 2. This shows that 0 no event, 1 ability decline happened as event,and 2 means death (competing risk of death). Since my interest is only to look a... |
I'm involved in solving a problem as described below and wondering if you could kindly help me figure it out:
"approximating a single input single output single layer with two neurons , recurrent neural network (neurons have feedback just to themselves) with a feedforward network"
How could I do this and is there any ... |
I am performing some multilevel analyses with the R package lme4.
The study design is longitudinal with the hierachical structure of observations (L1) nested into study participants (L2). I have 215 participants and the number of observations for each participant range from 1 to 5, for a total of 749 observations. Spec... |
Ordinary least square solution of linear regression can be derived from the assumption of normally distributed residuals:
$$
e_i=y_i-\hat{y_i}\\
e_i\sim N(0, \sigma^2)
$$
What I don't quite understand from reading a lot of derivations is how we go from
$MLE=\arg \max_{\theta}\sum{log(p_{\theta}^i)}$ to the sum of logar... |
Assume that I cannot use least-squares estimator, so I don't have the intercept and the slope and only know one parameter at a time.
Is the intercept term in a simple linear regression a nuisance parameter when we want to test whether the slope is different from zero?
Is the slope term in a simple linear regression a n... |
I was wondering if someone could help me with a doubt about hazard ratios (HR). I have access to a publication reporting HR of death given exposure A obtained through Cox regression. Reported HRs are stratified by sex (for males or females) and by age categories. What I would like to have is age and gender-specific HRs... |
I have the following function
$$ x(k) = \sum_{m}^{M} e^{i(U_m k + \beta_m)} $$
Where
$$ i = \sqrt{-1} $$
The $U_m$ values come from a normal distribution and the $\beta_m$ values come from a uniform distribution.
$$ U_m \sim \mathcal{N}(\mu, \sigma^2) $$
$$ \beta_m \sim \mathcal{U}(0, 2 \pi) $$
I want to know the condi... |
I'm in the process of training a NB model based on continuous features that need Equal Frequency Discretization to be used.
Now, the question mark I'm facing is if discretization needs to be performed
separately for train and score set
appending train and score set together
It comes naturally to me to go for the se... |
Please find the following reproducible code in R.
if (!require(NHANES)) install.packages('NHANES')
if (!require(rpart)) install.packages('rpart')
if (!require(devtools)) install.packages('devtools')
if (!require(statisticalModeling)) devtools::install_github("dtkaplan/statisticalModeling")
# Loading libraries
library(... |
People are contacted for a survey for a fixed number of days. For simplicity, let's say this happens over 5 days. People can complete their survey on day 1, day 2, ..., up to the end of day 5. After day 5, anyone who hasn't completed their survey is considered unresponsive. The goal is to predict who will not respond,... |
I am dealing with Kernel SVM right now and there is one thing I don't fully understand. As I have understood the only thing we have to know to compute the hyperplane are the expressions of the form $x_i^Tx_j$. The idea is now that I could map my features into another space where my data is linearly seperable. Therefore... |
Say I have lots of data that I am using to model the weekly rate of some event, with 0 being the minimum frequency and 7 being the maximum frequency. I am looking to perform bayesian analysis on this data. I would like to use the gamma distribution as a conjugate prior. I can create this prior using the gamma.fit(data)... |
I want to compute $ \binom{2n}{n} p^n (1-p)^n = \frac{(2n)!}{n!n!}(p(1-p))^n, n=1,2,3...$
By using an approximation, due to Stirling, which asserts $ n! \sim n^{(n +\frac12)}e^{-n}\sqrt{2\pi}$
Where we say that $a_n \sim b_n$ when $ \lim_{(n\rightarrow \infty)} \frac{a_n}{b_n}=1,$ we obtain
$\frac{(2n)!}{n!n!} \sim \fr... |
According to "Statistical Pattern Recognition", from Bishop on page 184, we can solve a Classification problem of classifying $K$-Classes using a Least Squares approach. Now, this certainly is an inferior approach compared to other existing solutions, but I want to understand the intuition behind it.
According to the b... |
I am conducting a meta-analysis on literature that is comparing two platforms to each other. I've extracted statistics from the relevant comparison and for the relevant dvs (response time, accuracy). From this I was able to compute the effect sizes (cohen's d). Does it make sense to turn an anova on these data. For exa... |
I am relatively new to SAS. Currently I am taking survival analysis course, and I am really stuck on reformatting a data into 'counting process' (start, stop) form for fitting a Cox regression model with time-varying covariate (https://support.sas.com/resources/papers/proceedings12/168-2012.pdf). To keep the question s... |
I'm trying to predict which patients will have a bad outcome (BO) within the next 2 weeks based on medical readings (plus some behavioral data) from the last 6 weeks. Total data timespan is 8 weeks, i.e. each patient has 6 full weeks of data in the feature space, and I'm trying to predict BO (yes/no) within the next 2 ... |
Bahadur's theorem says that if a minimal sufficient statistic exists, then a complete sufficient statistic is also minimal sufficient.
Are there any (homogenous, identifiable) families with a complete sufficient statistic but no minimal sufficient statistic?
A more restricted question:
An exponential family under its n... |
If true is the consequence true that $X \sim \chi^{2}(k)$ then $\sqrt{2 X}$ is approximately normally distributed with mean $\sqrt{2 k-1}$ and unit variance?
Also true that If $X \sim \chi^{2}(k)$ then $\sqrt[3]{X / k}$ is approximately normally distributed with mean $1-\frac{2}{9 k}$ and variance $\frac{2}{9 k} \cd... |
For a forecasting tournament, I am trying to forecast the number of Atlantic basin hurricanes in the 2022 hurricane season. I have reason to believe that my prior distribution looks as follows:
At the time of writing this, we're a little over two months into the (six month) season and so, far, no hurricanes have devel... |
Is it possible to predict the date distributions of historical events like Out Of Africa Migration?
I know that archeological findings already use a bayesian method to build a chronology with bayesian statistics. Is it possible to combine that with genetic data and linguistics into one quantitative chronology that can ... |
I have a big dataset with many predictors. I would like to know the quality of these predictors using cross-validation. However, what I am finding is more so methods that test the reliability of the model as a whole.
Is it possible to check the reliability of specific predictors?
|
I am working on cnn-lstm autoencoder for anomaly detection in multivariate time series dataset. However, I need to cluster the latent space for fault diagnosis. But my latent space shape is in the form (n_obs, timestep, features), can anyone recommend a clustering algorithm that accepts this shape as input?
|
I have more of a stats question regarding mixed models.
Here is an example of a mixed model:
salary ~ years_experience + (years_experience|department)
Salary is the salary of university faculty based on their years of experience. In this model, we account for the fact that different departments (our random effect) ma... |
Suppose I have I have vectors $x_1,\ldots,x_m$ in $\mathbb{R}^d$, with $\|x_i\|=1$ for all $i$
Is there a name or statistical/geometric interpretation of the following quantity?
$$\sum_{ij} \langle x_i, x_j \rangle ^2 $$
This seems to measure how far the examples are from being mutually orthogonal, evaluating to $m$ fo... |
Request a geometric proof that difference of sample-means has additive variance larger than the components?
You are not allowed to use the formula quoted.
In general, the variance of the sum of $\mathrm{n}$ variables is the sum of their covariances:
$$
\operatorname{Var}\left(\sum_{i=1}^{n} X_{i}\right)=\sum_{i=1}^{n}... |
As argued in this answer, we can compute the residuals in the standard linear regression:
\begin{align}
y &= X\hat{\beta} + e,\\
e &= y - X(X^\top X)^{-1}X^\top y = (I-H)y,
\end{align}
where $H=X(X^\top X)^{-1}X^\top$ is the projection matrix. We can derive the conditional variance of the residual $e$ as $Var(e\mid X)=... |
I have a sample for events occurring at certain continuous distances (kilometers), let's suppose emergency calls to hospitals. I have 200k observations, coming from 500 hospitals for an entire month. So, when I plot a histogram for my distances vector, it looks to me like a Beta distribution with determined parameter... |
Is it possible to build a confidence interval for a covariance matrix?
Matrices are the generalization of numbers.
We are 95% confidence the true covariance matrix is in Point Estimate Covariance matrix $\pm constant \cdot Variance Matrix$
https://stackoverflow.com/questions/64162892/how-to-use-parametric-bootstrap-to-... |
I have a pricing table for the cost to ship a package. The cost is the output, and the factors that determine the price are this weight, the zone (distance travelled) and the service base (ground, express, overnight, etc.) I want to be able to say, for example, the service base is responsible for 60% of the price, 30% ... |
As the question asks, is it bad data science not to drop the dividend and divisor features when creating a new feature that is their quotient when working with a Naive Bayes model? My understanding of Naive Bayes is that it assumes conditional independence of the variables. In my example, feature C would not be conditi... |
I don't know if it is my lack of understanding, or it is a misconception in time series analysis.
Here is a definition of an AR(1) process $\{X_t\}_{t \in T}$: $X_t = \omega + \psi X_{t-1} + \epsilon_t$ where $\omega, \psi$ are constants. $\{e_t\}_{t \in T}$ is a white noise process $WN(0, \sigma^2)$, and $cov(e_t, X_... |
Let's say we want to calculate the following expectation:
$$
\mathbb{E}_{z\sim p_z(z)}[f(z)]
$$
One issue, is that the samples from $p_z(z)$ could be not very informative:
We see here that $f(z)$ only takes on non-zero values near the edges of $p_z(z)$.
We we can solve this by using importance sampling, which will tak... |
I took the output from the example described in manual to one of R's packags for frailty modelling. Apart from the statistical package, how to interpret the outcome for recurrent events? Is this HR for "having more recurrences"? "for having the event and recurrences" (somehow adjusted)? How to interpret the HRs?
> modJ... |
I am sure most of us have had this problem at some point.
Take for example the random forest algorithm and its implementation in R. This algorithm can not handle a categorical variable with more than (approximately) 55 categories. The work-around for this problem usually involves manually selecting categories with low ... |
Let $ E_i\sim \mathcal N(20,3), i \in \{1,2,3,4\}.$
What is the chance that $E_1$ is greater than $E_2+E_3+E_4? $
I started by $\mathbb P(E_1>(E_2+E_3+E_4))=\mathbb P(E_1-E_2-E_3-E_4>0).$
What steps should I take next?
|
There are varied answers when building models for logistic regression.
For selection of predictors to build multivariable model :
should one choose from univariable analysis or stepwise
Or
first do univariable analysis, then add significant associations by stepwise approach to build multivariable model ?
|
In boosting for regression trees, the algorithm, for a given tree $b \in\{1,\ldots, B\}$ will fit a tree $\widehat{f^b}$ with $d$ splits to the training data $(X,r)$ where $r$ are the residuals.
Then, it updates $\widehat{f}$ by adding in a shrunken version of the new tree:
$$
\widehat{f}(x) \impliedby \widehat{f}(x) +... |
does CNN itself without FC has the ability to make backpropagation to update its filters, after comparing them with the output and calculating the loss, and then pass them through the FCC?
|
The expectation of the binomial distribution of successes in $G$ trials, left-truncated at $R$, with success probability $p$, is
$$
E[X|p] = \frac{\sum_{l=R}^Gl\phi(l)}{\sum_{l=R}^G\phi(l)}
$$
where
$$
\phi(l) = \binom{G}{l}p^l(1-p)^{G-l}.
$$
Is this convex in $p$? It looks as if it is.
Update
In work so far, I've take... |
I am fitting a Mixed Multivariate Normal Distribution where the mixing occurs over the mean $\mu_j$ and the covariance matrix $H$ with mixing parameter $B_j$. The number of mixing elements is denotes by $j$ (and $n_j$ the number of observations assigned to a particular cluster mix). In order to optimize for $\mu_j$ and... |
Quite a simple question about this paper:
How is the cGAN trained? I'm interested in the Pix2Pix network
In particular, given the batch approach, given a specific step, is this the correct procedure?
sample $(x,y_{real})$ from the dataset, generate $y_{fake}$ using the generator
give to the discriminator $(x,y_{real})... |
My question is quite a general one.
Can I use the width of the confidence interval (let's say a 95% confidence interval) to find out how confident my model is while doing time series forecasting?
I am thinking that as we go on forecasting in the future, the width of the confidence interval increases, and maybe after a ... |
I have been wondering recently about the prediction power of the two similar models: Decision Trees and the MARS model (instead of fitting the mean to the subsets, OLS line is estimated). Given that in regression we're usually dealing with continous data, is any of them superior to one another when it comes to actual f... |
I am on the Binomial Test entry in Wikipedia and in it, there is an example where a die is rolled 235 times, and 6 comes up 51 times. They claim there are two ways to construct a two-sided hypothesis test to compute a p-value for this.
There are two methods to define the two-tailed p-value. One method is
to sum the pr... |
Let $X$ and $Y$ be non-negative random variables with an arbitrary joint probability distribution
function. Let $I(x, y) = 1$ if $X > x, Y > y$ and $0$ otherwise.
Show that $\int_0^\infty \int_0^\infty I(x, y) dxdy = XY$.
I'm stuck, but if I assumed what is to be proven, then can it be concluded that both $X$ and $Y$ a... |
I am familiar with
$$P(\theta|D)=\frac{P(D|\theta) \, P(\theta)}{P(D)}=\frac{P(D|\theta) \, P(\theta)}{\int_{-\infty}^{\infty}P(D|\theta) \, P(\theta) d\theta},\quad\theta\in \Theta$$
where the integration is with respect to $\theta$. However when reading about the consistency of the estimater $\theta$, I found the fol... |
I'm currently facing a classification task on a rather small set (201 observations) with a large number of predictors (about 90). There are about 25 variables describing such quantities as blood pressure, creatinine level, glucose level, LDL, HDL, CRP, and so on. A common feature for these variables is that the norms f... |
I am interesting in implementing the EM algorithm manually. And I did it. However, I am still do not know how to get the observation from each cluster? For example, after run the EM algorithm, the data will be divided into two subgroups (as we have only two clusters here). My question is, how to access the observation ... |
Consider 3 dice throws: t1,t2,t3
Let E be the event that t1+t2+t3 add up to 6
What is the probability of event E?
I know the denominator is an example of ordered repetition. So with n=6 and k=3 there are $n^k$=$6^3$ ways.
But I can't figure out how to get the numerator, other than by listing all the ways.
[Update]
Tha... |
So in my data, I have a continuous variable (say from 0.1 to 1) and a nominal variable indicating the condition (3 conditions, no drug, drug and baseline) and a binary dependent variable (0 or 1).
So I know that if I want to know how my continuous variable affects my binary variable I would do a logistic regression. Bu... |
Let's say I have 3 features for a regression model: if_smoking, if_drinking, and body_height. The first 2 are binary, while the 3rd is continuous. I have coefficients like:
bias/y_intercept: 1.2
coefficient for if_smoking: 0.8
coefficient for if_drinking: 0.5
coefficient for body_height: 0.2
The model, therefore, shoul... |
I am interested in GAN for generating synthetic data. I am studying the input limitations for GAN starting from which GAN is no longer usable.
I have found many applications that use GANs for 1024x1024 or 3072x3072 inputs. I haven't found implementations of much higher input dimensionality. This is important because fo... |
I'm trying to translate a code that I have written in JAGS to PyMC but I'm getting stuck due to the recursion in the JAGS code that I can't figure out how to pass it to PyMC.
The model in JAGS is defined as:
model {
# Priors
a ~ dnorm(0, 0.0001);
b ~ dnorm(0, 0.0001);
tau ~ dgamma(0.01, 0.0001);
X0 ~ dnorm(0,... |
I am performing logistic regression with glmmTMB with random intercepts and random slopes in R, with 5 fixed effects. I have 9 different datasets that I am running through the same model. Before running my model I have centered and scaled each dataset. If I understand correctly, my beta estimates should be between -3 a... |
I am trying to forecast the volatility of the pair of currency USD/GBP. I am using python ans I used a GARCH model on the returns, but later on I found that I can fit an ARIMA-GARCH model to forecast the volatility too, except that I didn't find strong articles/references that explain if using an ARIMA-GARCH will give ... |
I feel like bootstrap sampling and multinomial distribution sampling are equivalent. Just want to verify whether my understanding is correct.
Say my data is 1, 1, 2, 2, 2, 2, 3.
Multinomial distribution sampling would be sample 7 observations from a multinomial distribution (2/7, 4/7, 1/7). Isn't bootstrap sampling wit... |
I need help answering a problem I have:
I am modeling data set using GLM that has two independent variables $x_1, x_2$, and a single response variable $y$. I am using $\verb|statsmodels.api|$ python library to set these models up. The problem I am trying to get an answer to is, how I get the shape parameters for the di... |
I am trying to understand when (and how) to use Bootstrapping. I read on some other questions that you shouldn't use Bootstrapping for small confidence intervals, and I wanted to try it by myself.
My idea was to:
take multiple samples from a normal population (with mean 100 and std 5)
bootstrap each of those samples a... |
I was going through Probabilistic Reasoning In Intelligent Systems by Judea Pearl .In chapter 3 the author tries to motivate the need for qualitative representation of independence relations, that do not require numerical equality check - $P(A,B)$ = $P(A|B)P(B)$. This he proposes because, human beings do not always dep... |
I have a sparse (0.625 percent non-zero occupancy) data tensor with shape (118, 16, 5009, 10). I would like to try exploring the data using CP decomposition. The modes represent sample, timepoint, gene ID, and an experimental condition, and the entries are levels of gene transcription (RNASeq).
The tensorly implementat... |
The t-test is often used in hypothesis testing when the sample size is small (less than 30) because its parameterization by degrees of freedom allows the greater uncertainty to be accounted for. Many online information sources, however, including answers in Cross Validated, say t-tests and z-tests require approximate ... |
I have two approaches I wish to evaluate conversions (currently at ~2%). As in many situations, I cannot assume equal likelihood of conversions of instances which any number of individuals can be part. There are approximately 4K possible ‘instances’ but only a handful account for the majority of the previously observe... |
In Searle et al.'s book Variance Components, the covariance between the response variable Y and the random effect u is described as follows (highlighted with red rectangle):
I am not sure why cov(y, u^T) is ZD. I want to see proof of this using expectation calculations beginning with something like cov(y, u^T) = E(y*u... |
I am attempting to run a simple moderation model in R's Lavaan package with an ordinal, dichotomous dependent variable. However, after defining the model and attempting to run summary statistics, I receive an error:
Error in lav_data_full(data = data, group = group, cluster = cluster,
: lavaan ERROR: some variables... |
Background
As part of a community survey looking into environmental habits, I have 22 Likert Scale questions each with six Likert items. As for the sample size, we have over 65 responses to each question.
I am familiar with the analysis of Likert Scales and the various limitations. However I am wanting to look at thi... |
The dummy variable trap - including a dummy variable
for every category and including a constant term in the regression together guarantees
perfect multicollinearity - is most commonly resolved by dropping out one of the dummies.
However, I was also told that an equivalent alternative approach will be to add a constra... |
I was going through Probabilistic Reasoning In Intelligent Systems by Judea Pearl. A completeness conjecture (for which no complete proof is there as yet, but has been found to be true generally, as claimed by the author) is introduced there which I want to understand with the help of a concrete example. The conjecture... |
Consider $X_1,...,X_n \sim Weibull(\theta, c)$ where $c>0$ is unknown. Several textbook examples consider when $c$ is known, but here, we consider when $c$ is unknown. Suppose now we wanted to find the UMVUE for $\theta$ and the UMP test, testing $H_0: \theta \leq \theta_0$ and $H_a: \theta > \theta_0$.
Normally when $... |
Let $X \sim \mathrm{Bernoulli}(\vartheta)$ for some unknown $\vartheta \in (0,1)$, and let $(X_1, …, X_n)$ be a moderately large IID sample for $X$.
Let $\vartheta_0 \in (0,1)$. I want to test $H_0 \colon \vartheta \leq \vartheta_0$ versus $H_1 \colon \vartheta > \vartheta_0$.
An UMP size $\alpha$ test for this problem... |
There are 4 measures for the characterization of the shape of a probability distribution: expectation (1st order raw moment), variance (2nd order central moment), skewness (expression in 3rd and 2nd order central moments) and kurtosis (expression in 4th and 2nd order central moments).
I intend to find a probability dis... |
I am confused about what I've seen in my textbook to calculate the sample size for a specified confidence interval width (for a mean).
The book says whether you know $\sigma$ or have $S$ from a previous study, you can use
$$z_{\alpha /2}\frac{\sigma}{\sqrt{n}}=x$$
where $x$ is half the width of the interval.
What doesn... |
I have spent some time studying the paper Deep Unsupervised Learning using
Nonequilibrium Thermodynamics. At page 5, the authors discuss the following integral:
$$\int d\mathbf{x}^{(1\cdots T)}q(\mathbf{x}^{(1\cdots T)}|\mathbf{x}^{(0)})\cdot p(\mathbf{x}^{(T)})
\prod_{t=1}^T \dfrac{p(\mathbf{x}^{(t-1)}|\mathbf{x}^{(t)... |
I am trying to see whether two grouping variables and their interaction (let's call them B and C, where B has two levels and C has three levels) affect the behavior of an animal (described by A, a continuous variable). I also have three weather covariates which I use in my model, w1, w2 and w3, all continuous and I use... |
All literature, guides and tutorials describing the construction of language models have used two separate matrices for the input and output projections:
To project one-hot token IDs into hidden states, a matrix $U$ of size $\mathrm{VocabSize} \times \mathrm{HiddenDim}$ is used.
To project the hidden states back into v... |
I want to check for multivariate normality to conduct a MANOVA with two dependent variables.
Can I use Shapiro-Wilk test for multivariate normality if I have a rather large sample size (N = 1200)?
Or would you recommend a different procedure?
|
Most of classification models are based on searching for a class maximizing P(class | features). But why not the opposite, P(features | class)?
Then, the second question is, are there any situations where the latter is more appropriate?
|
In my previous post on derivation of covariance between y and random effect, for the following linear model:
Frank's anwer proved cov(y, u) = ZD as below:
Frank's proof involved E[u]. As far as I could understand, the random effect variable u in linear mixed model is a vector of 1*q, where q is the number of covariat... |
I have a statistical question. I wanted to know the probability of winning a multi entry raffle with 20 wins and only 1 win per person. Each Person can have multiple tickets.
Let’s assume I have 2 tickets with an overall amount of 10000 ticket entries and 4000 persons joining the contest. With 20 wins but a person can ... |
I have a model with not too many ordinal data. The model performs at a 90% accuracy. I am thinking of adding 13 ordinal variables and transforming them using one hot encoder. The transformation will radically increase the sparsity of the model - the 13 ordinal variables will convert to around 100 variables.
Will this i... |
In this link, Marginalization with conditional probability is answered.
Conditional probability with chain rule and marginalisation
I am little bit confused about my another way of thinking and would like to understand what is the wrong.
we can marginalize a conditional probability like this $p(p|b) = \sum_{m'} P(p,m'|... |
Someone built an XGBoost classification model using each pixel in an image (256*256) as a separate feature, plus a few other features. However they only have 500 data points. The target classes were split 2:1.
The P>>N raises alarms to me, but they reported that the performance on a test set was very good (AUC>0.8), wh... |
I've found pages that show how to mechanically calculate beta as 1 minus alpha and/or show beta in the context of a PDF for the alternative hypothesis (H1 or Ha). If you don't have a conjectured mean for H1, however, and/or don't have a PDF (gaussian or otherwise), how does one even conceptually approach the calculati... |
I am trying to understand the following from https://www.dianacai.com/blog/2021/02/14/schwartz-theorem-posterior-consistency/
We consider a model class given by a space of densities $\mathcal{P}$
with respect to a $\sigma$-finite measure $\mu$, and we denote the
distribution of a density $p \in \mathcal{P}$ as $P$, i... |
I'm working on a problem where I aim to classify sections of a track made on the floor using tape, into either left turns, right turns or straight track.
I'm struggling creating a CNN that is not severely overfitting my data. I've tried some augmentation techniques but have come into issues as for example, flipping a r... |
Suppose you draw n pairs of observations from a real-valued bivariate distribution. You then convert each observation to its ascending rank order. Given the population correlation for the real-valued distribution, what is the expected correlation between the ranked variables?
A possible solution, which I haven't been a... |
Given that:
I. The distribution of means of large enough samples converge to a normal distribution (by CLT).
II. The Standard Error of the Mean (SEM) of a sample approaches the Standard Deviation (SD) of the means as the sample size increases (also, SEM is low for larger samples).
Does that mean that if the SEM of a ... |
Suppose we form $X$ by stacking $b$ examples drawn from some distribution in $n$ dimensions as rows and look at $\{\lambda_i\}$, the eigenvalues of $\Sigma=X^TX$. Consider the following random quantity:
$$r_b=\frac{\text{Tr}(\Sigma)^2}{\text{Tr} \Sigma^2} = \frac{(\lambda_1+\lambda_2+\ldots+\lambda_n)^2}{\lambda_1^2+\l... |
It states in the following post What does the assumption of the Fisher test that "The row and column totals should be fixed" mean? that:
Fisher's exact test conditions on the margin totals, meaning that it
does not use any information about independence that might be
inferable from the margin totals
Suppose we didn't... |
Say we have a balanced image dataset of two classes of objects: green light, red light. After running deep NN classification, the model gives about 95% accuracy for both classes.
However, I need to increase the accuracy of green-light predictions only, possibly at the cost of the accuracy of red-light predictions.
That... |
I am trying to get the Q value for each state-action using the Q-learning. The idea to approximate the Q is to use some ML algorithm whenever the state space is continuous. The problem that I have is that the actions are extremely correlated with the label, this makes the predictions depend only on the actions and negl... |
I'm using dimension reduction for data analysis (pca, tsne, umap...). Most examples I see project data in only 2 (or 3) dimensions, but I would naively imagine that by projecting in more dimension and visualize those dimensions 2 by 2 on multiple plots I could see more sub-characteristics of the data.
For example, if I... |
I've been using Cox for survival analysis with the goal of identifying the effect of 5 different levels of a treatment on survival. My dataset is not small and has 130 covariates after dummy encoding.
About 15 of these - including one level of my treatment - violate the PH assumption.
I think in my situation the best e... |
We would like to identify latent classes within our subjects. In our experiment, each subject sees 6 different items out of 24. Each response is an integer on the scale 0-100.
For example:
Subject A may have the following answers: item 1: 70, item 2: 85, item 3: 40, etc.
Subject B: item 7: 50, item 8: 90, item 9: 82, e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.