instruction stringlengths 9 38.7k |
|---|
I am having trouble understanding the output of a GLM I am trying to run with R package lme4. Here is an example of what I would like to achieve with some mock data:
Suppose that I have 3 geographical regions (north, south and east) in which I have planted some tomato plants, apple trees and orange trees. At each locat... |
Say we are given a data-distribution $D$ over $\mathcal{X} \times \mathcal{Y}$, where $\mathcal{X}$ is our input/feature space and $\mathcal{Y}$ the set of (discrete) labels. Hence, $D$ is a joint-distribution over datapoints $x \in \mathcal{X}$ and their associated labels $y \in \mathcal{Y}$. We denote the associated ... |
A multivariate t-distribution random variable $X \sim St(\mu_X, C_X, \nu_X) \in \mathbb{R}^n$ can be constructed as follows:
\begin{equation}
X = \sqrt{\frac{u}{\nu_X}} Y + \mu_X
\end{equation}
where $u \sim \chi^2_{\nu_X}$ and $Y \sim \mathcal{N}(0, C_X) \in \mathbb{R}^n$
Can we construct a map $T$ that transforms $Y... |
I have two categorical variables: Risk (3 levels) and Results (2 levels). I am trying to test whether there is a significant difference in proportions of failure rates between categories. From the data it is pretty obvious there will not be a difference but how can I prove it "statistically"? Would I be using a Chi Squ... |
Suppose I have some random variables
$$X_i \sim Dist(\theta_i)$$
for $i = 1, ..., n$ where $Dist$ is some known probability distribution family and $\theta_i$ are some parameters which may vary depending on $i$. But I know that they only vary relatively little, which is a property I want to exploit in the following pro... |
Suppose I want to test the hypothesis that the lengths of head size for first borns and seconds borns are $x = (182, 182)$ by using the Hotelling-T test.
So given our data:
"headsize" <-
matrix(c(191, 195, 181, 183, 176, 208, 189, 197, 188, 192, 179, 183, 174, 190, 188, 163, 195, 186, 181, 175, 192, 174,
176, 197,... |
I have timeseries data and want to identify if the change in coefficient at a particular point is significant.
One method to test for structural change is the Chow test which assumes i.i.d. errors drawn from a normal distribution.
However, the residual plot for my data shows the variance is non-constant and a normality... |
I'm doing a simple linear regression project (only one feature), and I am checking the assumptions, however, I don't really understand the reasoning behind our homoscedasticity assumption. I've looked all over for a solution, but all of the answers are hard for me to understand. Could someone please explain to me why t... |
Within a circle with radius R, a random variable with two types of information as below:
Distance to the circle center. The distance should satisfy uniform distribution~U[a R], where 0<=a<R is a user-defined value.
Angle information. It should satisfy von mises distribution.
Question: Is there any existing distribut... |
I'm new to linear regression. I created a simple linear regression model (only one feature). I am checking my assumptions, and I am having difficulty with the Independence assumption. I don't really understand what effect correlated observations has on the model and its results. Can someone explain in layman's terms. I... |
Weibull distribution function is parameterized as $ F(x) = 1 - e^{(-(x/\sigma)^a)}$ and survival function is $S(x)= e^{(-(x/\sigma)^a)}$ where $a$ is shape parameter and $\sigma$ is the scale parameter.
Mean Residual Function is given by:
$mrl(x) = \frac{\int_{x}^{\infty} S(t) dt}{S(x)} = \frac{\int_{x}^{\infty} e^{(-(... |
I'm trying to use wMAPE to calculate demand standard deviation for future forecasts, however, the wMAPE that we are using is derived from 13 buckets of actuals over a period of 52 buckets of time. If there are 13 weeks of actuals (can be continuous or intermittent) over a horizon of 52 weeks, we calculate the wMAPE bas... |
Say I have data of 500+ species at different locations .
I have my response Y and I want to find out how my continuous predictor humidity effects my Y. I ideally would control for the impact of species by using a linear mixed model LMM and using species as random effect. However 80% of my species have just 1 individual... |
I am trying to figure out the process I should follow to obtain the expected value of
$$
\text{CNoEst(B)} = \frac{1}{2}E(\log(1+B(|S|^2)),
$$
where $S$ is a Gaussian random variable with zero mean and unit variance and B = 10 dB. The true value should be approximately equal o 1.15.
However, I have no clue as to the app... |
What happens to the accuracy of a decision tree when it is pruned? Can be higher than the accuracy of the fully-grown decision tree?
|
In the Lasso, and ElasticNet, we use, as penalty, the l1 norm without squaring. But in the ElasticNet and Ridge, we use the l2 norm squared. Why is that, is there a particular reason (computational, optimization dynamics, statistical?)
Because from a purely constrained/penalized convex optimization perspective, looks l... |
I'm trying to work with Lidar data to classify road. I'm wondering how to use pca (or something else?) to identify if region has connectivity > threshold then label the region to be road? Would Eigen Vectors be helpful in determining direction of road?
|
For instance say you are running a survey (to get a rating between 1-5 for your product) over demographic A and demographic B.
Users in A tend to respond with lower ratings and users in B tend to respond with higher ratings. You are fairly confident that the product is doing similarly in both demographics and the highe... |
I am trying to implement time series stationarity tests on my data. When I carry out ADF (Augmented Dickey-Fuller) and KPSS tests on my data the p values suggest time series stationarity. However, when I check for the trend in the data using the Mann-Kendall test, few of the variables exhibit trends significant at 95%... |
The following paragraph taken from: A Graphical Display of Large Correlation Matrices
I am trying to produce a plot with the provided equation above for the ellipse.
For example, given I have random and normally distributed data points:
data = np.array(np.random.normal(0, 1, 500)).reshape(100, 5)
outliers = np.array(n... |
Can someone explain to me the result of this test? I am not sure what the ect1, ect2, etc. mean.
Output
$beta
-------------------------| ect1 | ect2 | ect3 |
-------------------------|:------------... |
recently i've come across this paper DOI: 10.1371/journal.pone.0061318
In short, authors tried to predict an unbound positive continuous target variable using multi layer perceptron. First, they transformed the target variable into range (0;1) using this formula:
$$
y_{transformed} = \frac{1}{1 + y^{-0.1}}
$$
and then ... |
I have samples $\mathcal{Z} = \{Z_1,\ldots,Z_n\}$. These samples either come from the unknown distribution $\mathcal{D}_1$ or $\mathcal{D}_2$. (Note: I can't make any assumptions about these distributions). I wish to devise a non-parametric test for identifying and picking a maximal subset, $\mathcal{S} \subset \mathca... |
I have designed an experiment with 20K treated units matched to 20K control units. Every treated unit is matched to a control unit that is as similar as possible on a number of metrics.
The treated units are subjected to a treatment for 4 weeks, while the control units are untouched. I measure $Y_\text{post}$, the depe... |
I've been working on a project recently to take the input values to a physics simulation that takes a long time to run, and to represent the simulation in a neural network predicting certain key output variables.
There is a considerable amount of training data (270,000 data points for a 9-dimensional input). However as... |
Generalized linear mixed models are more and more common in my field of dementia research. For example, it is common to examine how different factors associate with memory decline. However, I am a bit confused as to how one should incorporate time in these models.
As an example, let's assume I want to know whether grip... |
When I make a linear fit, it produces a reduced chi squared value. If it is larger than 1, this means underfitting, and if it is smaller than 1, then it is overfitting. If the value is approximately 1, then it is a good fit. But what is the meaning of `approximately 1'?
What would be the interval that the reduced chi s... |
I would like to study the effect of financial inclusion on food security for 23 countries for the periods 2011, 2014 and 2017. I want to use a model with correlated random effects (although I couldn't find a good justification apart from the fact that it brings together in the same regression the fixed effects model a... |
Based on the Frisch-Waugh-Lovell theorem, the multivariate regression of $Y$ on $D$ with $X$ as covariate should give the same estimate as a bivariate regression of $Y$ on $\hat{r}$, where $\hat{r}$ is the residual of a regression of $X$ on $D$.
$ Y_i = \alpha_1 + \delta D_i + \gamma_1 X_i +\varepsilon_{1i} \\
D_i ... |
The acf and pacf of this data look like this.
After first differencing, the acf and pacf look like this. Does this mean that arima cannot be used to model the data, or should I do further differences?
How can I infer the values of p and q from this? Any help would be appreciated.
|
If this question is too basic, please forgive as I'm not an expert in stats.
If the observed frequency distribution is the same as the theoretical distribution, variable A has the observed distribution, variable B has the theoretical distribution. Then, can we say A, B are highly correlated?
Could you give me the examp... |
Imagine I have a dataset that I want to use to predict a variable 'var':
set.seed(0)
dataset <- tibble(sex = sample(c('M', 'F'), 100, TRUE)) %>%
mutate(var = ifelse(sex == 'M', 150 + rnorm(100, 0, 10),
120 + rnorm(100, 0, 10)))
I want to then predict the total of 'var' from a larger dataset:
... |
I am analysing population projection data from the United States census and I need to present population estimates by race/ethnicity for each year from 2020 to 2029. The US census separates Asian-Americans from Pacific Islander-Americans (which is good!) but, unfortunately, my analysis cannot be so granular because I n... |
Non negative least square solves
$$
y = \alpha^T x \\
s.t. \forall i,~ \alpha_i \geq 0
$$
However, I would like to apply the non negativity constraint only on some coefficient, say only the $\alpha_i,~ \forall i \in \mathcal{S}$.
This is not possible using scipy's nnls function. However, I think I can solve the problem... |
In a mixed effects model, is it possible to manually specify a standard deviation of 0 for the random effect for one group, and estimate the standard deviation of the random effect for another group? Imagine the comparison of two machines' output. Machine 1 is user-dependent, and Machine 2 isn't. So for Machine 1, we h... |
I am building a bayesian A/B testing code in python to compare conversion rates between two samples which I will call $A$ and $B$. My aim is to produce a mean conversion rate, in percentage, for $A$ and a mean conversion rate, in percentage, for $B$ then report a gain of $A$ over $B$ with an error on the gain.
The code... |
Suppose $Z_1$ and $Z2$ ~$N(0,1)$
Let $X_1=2Z_1$ and $X_2=X_1+\frac{\sqrt{3}}{2}Z_2$
Let $Y_1=\sqrt{3}Z_1+Y_2$ and $Y_2=Z_2$
I understand I have to show the mean and variance for $X_1$ and $X_2$ should be the same as the mean and variance for $Y_1$ and $Y_2$ in order to show X and Y have the same distribution.
The mean ... |
I have the following binary variable Y to be predicted as a function of two factors, say X1 and X2. The whole file is available here. X1 is binary and X2, categorical. When compiled, we find these proportions of 1s:
X2=0
X2=1
X2=2
X1 = 0
75/89 (84.3%)
62/77 (80.5%)
40/52 (76.9%)
X1 = 1
84/92 (91.3%)
52/72 (7... |
Say I have a multivariate Gaussian distribution and I want to measure the expected vector distance of points from the mean of this distribution. If I know the covariance matrix of my mvtgaussian, is there some closed form solution for this?
I'm aware there is a previous questing asking something very similar, but ther... |
I am running a logistic regression model to predict whether a particular business location would purchase from a company X. I have a few predictor variables related to the business location, characteristics and nature of their business and a few variables related to the nature of the company in question and its relatio... |
Consider a random sample $X_i = (U_i,V_i)$ where $i=1,2,...,n$ from a bivariate normal population with mean $(\mu_1,\mu_2)$ and variances $(\sigma_1 ^2, \sigma_2 ^2)$ and correlation $\rho$. Let's consider random variables $C_1,...,C_n$ which take the values $\{0,1,2\}$ and are independent of $X_i$. We observe each $C_... |
I'm reviewing the very basics of discrete-choice models (binary choice, multinomial, tobit, etc.), and I seem to have taken for granted that latent variable models are just one (very convenient and intuitive) way of formulating discrete choice models. The "General Binary Outcome Model" as given by Cameron and Trivedi (... |
I ran a marginal means survival model that included some time-invariant and time-varying covariates (see this post for relevant information). I am trying to understand why the robust standard errors of time-varying covariates (for most cases) were smaller than the normal standard errors. See the output below:
Call:
cox... |
BNB distribution is constructed using negative binomial and beta distributions, which are both exponential family, so my guess would be yes, there shoudl exist a conjugate prior in theory. But what is it? I could not find it in any resources and I am not confident enough to try to derive it myself. There is likely no e... |
I understand that using 100% of the dataset and doing k-fold cross validation instead of train_test_split would eliminate that randomness the latter method have in splitting and thus potentially avoid overfitting.
But I have seen that this is not the best practice when it comes to k-fold CV. What I have seen is that we... |
How can we convert a vector of repeated measures of a variable into one value when the vector has varying length in different instances? For instance, let's assume V1 = {.95, .5, .95} but V2 = {.90}. How should these two vectors be treated to turn into two scalars?
The first solution I found is taking average, but as y... |
I'm looking for a way to combine noisy biased measurements to find confidence intervals. As an example, we have two people Tom & Mary that are each taking free throws on separate days, we have the following results from the two days:
Day
Player
makes
attempts
Day 1: Sunny
Mary
89
100
Day 1: Sunny
Tom
171
200
... |
What are you favorite data sets for which you can develop multiple linear regression and multiple logistical regression models, and for exploring the art of multiple regression?
I'm imagining data sets with a moderate number of observations, predictors, and responses, and predictors and responses that are continuous qu... |
I'm having a bit of trouble understanding how the statements:
$$
P(\lim_{n\rightarrow \infty}X_{n}=X) = 1 \equiv P(\{\omega \in \Omega: \lim_{n\rightarrow \infty}X_{n}(\omega) = X(\omega)\}) = 1
$$
Are not simply equivalent to:
$$
\lim_{n\rightarrow \infty}X_{n}(\omega) = X(\omega)
$$
Which is a statement about the lim... |
I have two populations that I'd like to compare across certain metrics. However, most members of population A did not respond to our request for data, and those respondents that did are not representative of the whole.
On the other hand, we have data for every member of population B.
I have trained ML models to determi... |
After fitting a Cox regression, we can compute the predicted survival curve S(t) e.g.
in R:
survfit(formula, newdata, ...)
where formula is a coxph object.
With the KM estimate, cumulative incidence is 1-S(t). Can we also do the same thing with the predicted S(t) from the Cox model to get the predicted cumulative incid... |
Let's say I have a time series $R\in \mathbb{R}^{T\times M}$ where $T$ shows the dates and $M$ is the number of variables. I do an SVD on it and obtain $R=U\Sigma V^\top$, where $U\in \mathbb{R}^{T\times K}$, $\Sigma\in \mathbb{R}^{K\times K}$, $V\in \mathbb{R}^{M\times K}$ and $K=\min\,(T,M)$. Now if I want to obtain ... |
I am currently working with Gaussian Process to make a surrogate model for temperature prediction. A question arose when I was thinking to make result plots in Celsius instead of Kelvin. I suspect if the scale of the target values actually has influences on the performance of the prediction, or numerical stability in c... |
Imagine you have a dataframe of historical sensory data measurements, such as temperature and energy consumption, recorded every 15 minutes for 2 years.
What would be the most appropriate way to deal with entire chunks of missing data?
Imagine an entire week or two are missing, there are no points in between, and we wa... |
Let $Y_i$ and $X_i$ be random variables. Under the linear regression specification, we have
$Y_i = X_i \beta + \epsilon_i$, where $\mathbb{E}[\epsilon_i | X_i] = 0$. For this model, we may obtain the OLS estimate of $\beta$ by minimizing
$$\sum_{i=1}^{N}(y_i - x_ib)^2.$$
On the other hand, under the quantile regression... |
I have had a question since graduate school. For a given significance level alpha, the test with smallest confidence interval length expectation should be optimal, because it usually also means a higher power, with fixed Type I error. But textbooks hardly mentioned that.
I also notice that $t$-statistics with degree of... |
I observed a manufacturing process that yielded ~40,000 parts
I sampled 200 of these parts (every 200th part) and measured their properties
My ultimate goal is to show that sensor data, that describes each of the ~40,000 production cycles, can be used to predict the resulting part quality.
If I fit a regressor to jus... |
I'm lost with a very simple question of finding the average of random variables from two Poisson distributions. I know that if $X\backsim Pois(L1)$ and $Y\backsim Pois(L2)$, then $X+Y\backsim Pois(L1+L2)$.
I have a queue open for nine hours daily with an average of four persons in it every given minute for seven hours ... |
Suppose there's a dataset that has features like the weight and height of people.
If we plot the dataset, we commonly use the Cartesian plane, the x-axis to represent weight and the y-axis to represent height; hence, points represent every piece of data.
From the case above, can we represent radius as weight and angle ... |
In predictive modelling, it is useful to perform resampling methods to assess performance e.g. validate() and calibrate() in the rms package in R. Is it useful / advisable to perform such methods when the primary purpose is estimating effects e.g. hazard ratios from a Cox model, odds ratios from logistic regression etc... |
I am new to ML and trying to write a very simple model that can predict the future of a function given the past. That is to say, I define a simple cubic function (y = x^3 + x^2 + x) and apply it to a domain of 100 points from x = -10 to x = 10. I would like to use the first 80 points -- params = y[:80] -- to train some... |
When i read some notes about RL i encounterd following equation and try to prove it:
$$
V^{\pi^*}(s) = \max_{a \in A}Q^{\pi^*}(s, a),\forall s \in S
$$
Here is my attemption:
Firstly, i only need to prove "$\geq$" as "$\leq$" is obvious.
Soppose that $\exists S_0 \subset S$ such that $\forall s_0 \in S_0,V^{\pi^*}(s_0)... |
The question I am asking has its reference listed below:
Can a probability distribution value exceeding 1 be OK?
Would it be accurate to describe a PDF as a probability mass per unit length
Introduction to Probability for Data Science
"The total area underneath a probability density function is 1" - relative to what?
... |
For teaching purposes I'm trying to generate some probability distributions that have varying amounts of skew but precisely controllable mean and variance. I'd like to plot these distributions and also sample from them.
The skew-normal distribution and its R implementation almost fit the bill except that the skew, mean... |
I have three land use classes (natural farming, chemical farming, and forest) and would like to compare the densities of different bird species between them. I would like to get the ATE (I think).
I don't want to remove any samples as I have a small dataset, but I do want to ensure that the covariates (such as altitude... |
Initially modelled as a normal distribution, I'm now trying to capture the probability that human judgments take on a scale of -100 to 100 (arbitrary discrete judgements) using some kind of discrete distribution that's bounded. The distribution has to be centred around a specified mean and SD, but I'm not sure what kin... |
Consider a simple linear regression model $y=a+bx$ what does it mean to test if $x$ has a multiplicative effect on $y$, is this equivalent to test $H_0: b>0$ versus $H_1 : b\le 0$ ? If this is true then how can this be conducted?
|
Consistency is generally understood to be a pretty basic requirement for a decent estimator of a model parameter or other population quantity. If your estimator isn't consistent, then it won't converge in probability to the true value as the sample size increases, as an estimator ought to.
What might be an equivalent n... |
First off, apologies if this is basic but I'm still learning about PCA. I am somewhat confused as to what exactly PCA can provide that I can't find out through other means. For example:
Dimensionality Reduction/Redundancy: couldn't one just look at the covariance matrix? If we wanted to retain our original feature set... |
Actually, I read many articles and blogs that EM converges to local maxima can someone help me that it converges to local maxima always? Can we get a global maximum?
|
Let's say we have a dataset, and we run KMeans with k clusters.
Is it possible that during the execution of KMeans the loss first decreases and than increases until converges to a value?
At first, I thought the loss would only decrease, however after some measurements on a personal implementation, for a particular data... |
Hello I wanted to know whether logistic regression can be used if X and Y are both binary. I am aware that the sole condition for logistic regression is that Y is binary, however Im not sure how to interpret it if X is binary?
Also do you think this is a good strategy? Or is Chi square to be preferred in such cases.
Wh... |
I'm trying to make an OLS regression on Excel on those 2 values :
Y X
4 2
5 3
According to wikipedia definition, R^2 = SSR/SST
Here if you compute the regression without intercept, you get B1 = 1.77, B0 = 0. So the predicted Y are :
yPredicted[0] = 2 * B1 = 3.53
yPredicted[1] = 3 * B1 = 5.30
The residual (y - ... |
I try to find a package in R to fit Gumbel distribution by Block Maxima Approach using maximal likelihood function (see here)
$$
G(x; \mu , \sigma)=\exp[-e^{-\frac{x-\mu}{\sigma}}].
$$
The block maxima approach is that we have $n$ iid random samples $X_1, X_2, \dots, X_n$ from $exp(1)$ (the limiting distribution of ext... |
I am testing differences in gene expression across four time-points and between treatment and control. In total, 50 individuals were recruited for the Treatment Group and 58 recruited for the Control Group.
The way the study was (or should, let's say) design was to measure the same individuals in the four time-points a... |
In almost any textbook introducing the topic of frequentist statistics, null hypotheses of the form $H_0: \mu=\mu_0$ or similar are presented (the coin is unbiased, two measurement devices have identical behavior, etc.). Classic statistical tests such as the $Z$ or $T$ tests are then based on rejecting these null hypot... |
It feels like this should be a no-brainer but I just can't see it. I collected employee satisfaction data in year 1 and year 2. I cannot connect subjects across years because I did not assign or manufacture an ID for each person, but I know that some people answered in both years, some answered only in year 1 and som... |
From the book "Bishop- Pattern Recognition and Machine Learning" Page 31. Can you help me derive the equation (1.68) from equations (1.69), (1.70) and (1.71).
Please explain every step for the solution if possible.
|
I have a logistic mixed-effects model with multiple predictors:
y ~ (x1 + x2 + x3)*x4 + x5 + (x1 + x2 + x3 | id), family = "binomial"
I would like to know whether the interaction between, let's say, x1 and x4 (both continuous variables), is statistically significantly different from the interaction between x2 (also co... |
Suppose I have a Poisson process. Suppose I am given the probability, $p$, that I will observer up to $n$ events. How can I subsequently calculate the implied value of the Poisson parameter?
I am looking for the rate parameter $\lambda$ as a function of $p$ and $n$
$$
\lambda = f(p, n).
$$
What is $f(p, n)$?
|
I am trying to calculate whether the difference between the two benchmarks is statically different or not.
The input is req/sec of a HTTP Server and I'm using scipy.stats.ttest_ind to calculate the p-value.
A1 = [
4670, 4646, 4612, 4618, 4646,
4609, 4623, 4629, 4566, 4628,
4582, 4636, 4621, 4574, 4624,
4563, 46... |
I'm reading up on different ways to implement the Simulated Annealing algorithm. MathWorks's implementation for MatLab was the first time I had come across the concept of reannealing during simulated annealing. As I understand it based on that documentation, the simulation runs a number of times until ReannealInterval ... |
this is a rather simple question but I noticed that the linear regression on 1 variable fitted with poly() gives different results if poly is not used. If I were to use poly() how can I convert back to the original variables?
For example:
First, define data
x = seq(50, 275, 25)
y = c(335, 326, 316, 313, 311, 314, 318, ... |
Suppose I have a mixture of two Beta densities say $f_1 = \text{Beta}(1,1)$ and $f_2= \text{Beta}(1,\beta)$ where $\beta$ is unknown. The sample $X_1,....,X_n$ is observed based on latent Bernoulli variables (unobserved) $Z_1,...,Z_n$ such that $X_i|Z_i=0 \sim f_1$ and $X_i|Z_i=1 \sim f_2$. If $P(Z_i=1)=\alpha$ (unknow... |
I have a non-central chi variable $r$ with the distribution,
\begin{align}
p(r) = \frac{r^3\lambda}{(\lambda r)^{3/2}}\exp\left[-0.5(r^2 + \lambda^2)\right]I_{1/2}(r\lambda)
\end{align}
I'm looking for the following expectations.
\begin{align}
E\left[\frac{1}{r}\right]; \quad E\left[\frac{1}{r^2} \right]
\end{align}
In... |
I have a VAR model for forecasting in which there is a particular variable $X$. The time series for all the other 7 variables stretches back to 1980 and ends at the third quarter of 2023. Now, $X$ does not have an observation for the third quarter of 2023. So, $X$ is missing an observation for the latest and last data ... |
I'm creating a univariate regression where the explanatory and response variables have a non-linear relationship.
import matplotlib.pyplot as plt
import numpy as np
import statsmodels.api as sm
x = np.array([314.4, 960.5667, 357.0667, 507.2, 811.6667, 476.2333, 681.7667, 723.8666, 943.8333, 388.7, 730.2667, 126.7, 173... |
Assuming $\mathbf x_1$ and $\mathbf x_2$ are eigenvectors of matrix $\mathbf A \in \mathbb{R}^{2\times 2}$, there is $$\left(\mathbf I-\mathbf x_1\mathbf x_1^\top\right)\mathbf A\left(\mathbf I-\mathbf x_1\mathbf x_1^\top\right)\mathbf x_2 = \lambda_2 \left(\mathbf I-\mathbf x_1\mathbf x_1^\top\right)\mathbf x_2.$$
(Da... |
When using a neural network for multi-class classification, there are situations where it is useful to estimate the uncertainty of the network's predicted class. One leading method for estimating uncertainty is Monte Carlo dropout, as introduced by Gal et al..
Let $f(y|x)$ denote the softmax output of a neural network... |
I am a bit confused about calculating the third zero-centred statistical moment for the function f=X/Y (X and Y are normal distributions), assuming I can calculate the third and all the lower mean- and zero-centred X and Y moments. Am I wrong in imagining it would be a formula similar to the uncertainty propagation one... |
I hava the following model
$$y=X\beta+u$$
where y and u are $(n\times 1)$ a matrix with full column rank and $\beta$ is an unknown $(k\times 1)$ vector of parameters.
$E(u)=0$ and $var(u)=\sigma^2 V$ where V is $(n\times n)$ symmetric and positive definite non diagonal matrix
And $u_t=\phi u_{t-1}+v_t$ and $u_t=v_t+\t... |
I estimated a 2PL model obtained for some dichotomous data presenting answers of 12 "yes/no" questions from about 200 individuals. Now I want to calculate the confidence intervals for the factor loadings of all items. I used the mirt package to estimate my model which also offers profile-likelihood CI's (PLCI) for both... |
I am trying to interpret this journal article table-
It's rho is called an "estimated true score correlation" how is that different from a classic beta coefficient? And is a value of -.29 and SD of 0.21 treated in the same way that it is not significant at the 5% level?
https://psycnet.apa.org/doiLanding?doi=10.1037/0... |
What would be an appropriate method for meta-analyzing a set of five ecological dissimilarity matrices to generate an overall 'pooled' effect size? I have five ecological monitoring datasets that each recorded community structure through time at "control" sites and "treatment" sites (some have shared sites, others do n... |
I am trying to understand Ansary-Bradley test variance. Suppose n+m is even number then I know that $E(X)= \frac{n(n+m+2)}{4}$ and that $Var(X)= \frac{nm(n+m+2)(n+m-2)}{48(n+m-1)}$. So I want to show that $ Var(X)= E(X^2)-E(X)^2=E(X^2)- \left(\frac{n(n+m+2)}{4}\right)^2=\frac{nm(n+m+2)(n+m-2)}{48(n+m-1)}$. However I d... |
What is a principled approach to validating samples generated from rejection sampling actually follow the target function?
I am looking for some thing more than a simple histogram + density plot.
Setup:
I have a target density function $f$ and a proposal function $g$. From this I generate samples $y$ using my rejection... |
If we consider the two following estimators $$\hat{\mu_1} = \frac{\bar{X_1}+\bar{X_2}}{2}$$ $$\hat{\mu_2} = \frac{n_1\bar{X_1}+n_2\bar{X_2}}{n_1+n_2}$$ where $X_1, X_2$ are samples from a normal distribution $N \sim N(\mu,\sigma^2)$ with size $n_1$ and $n_2$. I need to compare the estimators, in order to do that, i m... |
All 80 participants performed 12 binomial trials (0-failed, 1-success) for the manipulation condition and 12 binomial trials for the control condition.
My database is something like this, but with more rows and columns:
Subject control_trial1 control_trial2 ... manipulation_trial1 manipulation_trial2 ...
1 ... |
I have the European TTF GAS spot Price time series from 31/12/1990 to 31/10/2022:
https://docs.google.com/spreadsheets/d/1Iu84-oFtv3-ybmp72IJ_s1DfcTG_TDu7/edit?usp=sharing&ouid=117791817408001078818&rtpof=true&sd=true
I downloaded it from Word Bank:
https://www.worldbank.org/en/research/commodity-markets
I would like t... |
I know that you reject the null at the 5% significance level. But I read someone writing that they reject at the 95% level. I assume the confidence level. But can you technically say that?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.